我的
@
vacuitym 数据结构是这样的:{
"messages": [
{
"role": "system",
"content": ""
},
{
"role": "user",
"content": [
{
"text": "这是 什么",
"type": "text"
},
{
"image_url": {
"url": "
https://api.weixin.qq.com/cgi-bin/media/get?access_token=83_3Dw6qeFf4VCRenwRBujuT0Bv5Fx3eqzeaMtnd6I7xrM8rSYLUeURaqK5NfZo2iozpLKP48khO9W-52en-jWNIiM9X-70URX2LPIl6dDew5dBjDyOxdzV5JRAZLwCXLjAEAMHV&media_id=7x9khwKTGSQG2YH335nYudEAacGXal9X-riJcm0L9EcllALJyhYO5Dsa918ZySIX"
},
"type": "image_url",
"detail": "low"
}
]
},
{
"role": "assistant",
"content": "这是一个水族箱,里面有鱼和水草。水族箱整体摆放在一个黑色的架子上,旁边还有一些植物和工具。窗外可以看到一些城市的景色。"
},
{
"role": "user",
"content": "可以认出是什么鱼吗"
}
],
"model": "gpt-4o-mini"
}
接口的响应是这样的:
{
"error": {
"message": "Invalid chat format. Unexpected keys in a message content image dict.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
@
zhhmax