Request
curl --location "https://ark.cn-beijing.volces.com/api/v3/responses" \
--header "Authorization: Bearer $ARK_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "doubao-seed-2-1-pro-260915",
"input": "你好呀。"
}'Response
{
"id": "resp_0217****",
"created_at": 1756280722.0,
"error": null,
"incomplete_details": null,
"instructions": null,
"model": "doubao-seed-2-1-pro-260915",
"object": "response",
"output": [
{
"id": "rs_0217****404a",
"summary": [
{
"text": "\n用户说“你好呀。”,这是一个很友好的问候,我需要用同样友好的方式回应。首先,应该回应用户的问候,然后可以表达一下愿意帮助的态度,让对话能够继续下去。用户可能接下来会有其他问题或者想聊聊天,所以回应要自然、亲切。\n\n首先,直接回“你好呀!”来呼应对方的问候,保持一致的语气。然后加上一句“很高兴见到你~ 有什么我可以帮你的吗?”这样既表达了友好,又主动提供帮助,让用户知道我在这里可以协助他们。这样的回应比较温暖,也符合日常交流的习惯,不会显得太生硬。\n\n需要注意的是,用户可能只是想打个招呼,所以回应不要太复杂,保持简洁和亲切就好。避免使用太正式的语言,保持口语化,让用户感觉舒适。总结一下,回应应该包含问候、表达高兴见到对方,以及提供帮助的意愿。",
"type": "summary_text"
}
],
"type": "reasoning",
"status": "completed"
},
{
"id": "msg_0217****a93c",
"content": [
{
"text": "你好呀!很高兴见到你~ 有什么我可以帮你的吗? 😊",
"type": "output_text",
"annotations": null
}
],
"role": "assistant",
"status": "completed",
"type": "message"
}
],
"parallel_tool_calls": null,
"temperature": null,
"tool_choice": null,
"tools": null,
"top_p": null,
"max_output_tokens": 32768,
"previous_response_id": null,
"thinking": null,
"service_tier": "default",
"status": "completed",
"text": null,
"usage": {
"input_tokens": 88,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 230,
"output_tokens_details": {
"reasoning_tokens": 211
},
"total_tokens": 318
},
"caching": {
"type": "disabled"
},
"store": true,
"expire_at": 1756539922
}