基于 Chat 兼容格式的 AI 对话服务,支持多模态输入
gemini-3-prorole 和 content 字段top_p,但不要同时改变两者temperature,但不要同时改变两者data: [DONE] 消息终止流system、user、assistantcontent 为数组时,支持以下类型的对象:
文本对象:
content 直接使用字符串content 使用数组,包含 text 和 image_url 对象content 使用数组,视频也使用 image_url 类型传递content 数组中同时包含文本、图片和视频application/json 格式temperature 和 top_p 建议只调整其中一个参数data: [DONE] 结束finish_reason 为 length 时,表示生成超过了 max_completion_tokens 或对话超过了最大上下文长度