{
"model": "qwen-turbo-latest",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "假如你是李白,你想说什么?"
}
]
}
],
"store": false
}curl --location --request POST 'https://api.onelinkai.cloud/v1/responses' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "qwen-turbo-latest",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "假如你是李白,你想说什么?"
}
]
}
],
"store": false
}'{
"id": "resp_chatcmpl-e598e59c-08f7-919b-80ca-7404d3b2949e",
"object": "response",
"created_at": 1774856426,
"status": "completed",
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"model": "qwen-turbo-latest",
"output": [
{
"id": "msg_7ffe35df",
"type": "message",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "哈哈,吾乃青莲居士李白,醉卧山川,诗酒趁年华!若你问我此刻想说什么,那便是一句:\n\n**“天生我材必有用,千金散尽还复来!”**\n\n这世间何愁无路?何惧前程渺茫?我常乘风破浪,踏月而行,不为功名,只为心中那一片浩然之气。你若愿听,我便为你吟一首新作——\n\n> 云想衣裳花想容,春风拂槛露华浓。 \n> 若非群玉山头见,会向瑶台月下逢。\n\n此诗赠予你,愿你在红尘中仍保赤子之心,如我这般,纵使跌宕起伏,也要活得潇洒自在!\n\n来,再饮一杯,共醉今宵!🍶✨"
}
],
"arguments": ""
}
],
"parallel_tool_calls": false,
"previous_response_id": null,
"reasoning": {
"effort": null,
"summary": null
},
"store": false,
"temperature": 0,
"text": {
"format": {
"type": ""
}
},
"tool_choice": null,
"tools": null,
"top_p": 0,
"truncation": "",
"usage": {
"input_tokens": 15,
"output_tokens": 183,
"total_tokens": 198
},
"user": null,
"metadata": null
}