v26

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-285194311.8 KB
chat
evaluation

基于聊天消息及历史消息和其他相关信息(角色背景、用户 profile 等)生成图片

根据Agent角色、聊天历史和用户消息生成图片,并保存到聊天历史中。注意:路径参数 agent_id 仅作为目前的名称,实际应为 chat_id。未来如需扩展可直接重命名。agent id 则代表与该 agent 的当前会话的 id

post/api/v1/chat/images/{agent_id}

Path parameters

agent_idstring required

Request body

message_idinteger required
history_countinteger nullable
request_idstring nullable
modelstring nullable

Response

Successful Response

codeinteger
messagestring