openai / openai-python

The official Python library for the OpenAI API
https://pypi.org/project/openai/
Apache License 2.0
23.09k stars 3.25k forks source link

How to upload multi-images for description #1791

Open Chopper-233 opened 1 month ago

Chopper-233 commented 1 month ago

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

Describe the feature or improvement you're requesting

I'm trying to upload multi-images one time to api for description. But the api library only provides the illustration of the function for single image vision input.Could you provide the way for multiple images uploading? 66NGF_)V2~O(`QI9T2YB JU

Additional context

No response

AmineAouragh commented 1 month ago

Hi! So just so I can understand, you want to be able to upload multi-images at once and get multiple descriptions (a description for each image) in return? Also what do you mean by description? Like what's in the image(s)?

Chopper-233 commented 1 month ago

Yes, i want to give a description of some frames within a video

Chopper-233 commented 1 month ago

When i tried to use your method from here https://cookbook.openai.com/examples/gpt_with_vision_for_video_understanding.Bad request 400 happens,which means format error,could help me solve it?

Chopper-233 commented 1 month ago

LHIAJQB{PYO`2QP70S4$S90

Chopper-233 commented 1 month ago

9ECQ{PK8U%KMB 1M}37`@{S