使用OpenAI GPT-4V进行图片理解和分析的完整示例代码
curl -X POST "https://model-api.skyengine.com.cn/v1/chat/completions" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <API-KEY>" \ -d '{ "model": "gpt-5-2025-08-07", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "这张图片里有什么?" }, { "type": "image_url", "image_url": { "url": "https://example.com/image.jpg" } } ] } ], "max_tokens": 1000 }'