from openai import OpenAI client = OpenAI() response = client.chat.completions.create( model="gpt-4o-mini", messages=[ { "role": "user", "content": [ {"type": "text", "text": "What's in this image?"}, { "type": "image_url", "image_url": { "url": "https://cdn2.thecatapi.com/images/i5.jpg", }, }, ], } ], ) print(response.choices[0]) # The image shows two cats snuggled together inside a cardboard box. # One cat is orange and white, while the other is gray and white. # They appear to be hugging each other, creating a very cozy and affectionate scene. # The box has some writing on it, including the words "Bill Bills" on the side. # The setting looks like a soft couch or similar furniture in the background.