根据给定的对话历史(可包含文本和图片)生成模型响应。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
模型 ID
qwen2-vl-7b-instruct "qwen2-vl-7b-instruct"
对话消息列表,支持文本和图片内容。
1[
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": { "url": "https://example.com/image.jpg" }
},
{ "type": "text", "text": "请描述这张图片。" }
]
}
]
最大生成 Token 数量。
1 <= x <= 8192采样温度,越高输出越随机。
0 <= x <= 2为 true 时通过 SSE 流式返回增量内容。