Authorization: Bearer ********************
{
"model": "gpt-4.1",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "描述这张图片中的内容"
},
{
"type": "input_image",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
]
}
]
}
curl --location --request POST 'https://api2.aigcbest.top/v1/responses' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-4.1",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "描述这张图片中的内容"
},
{
"type": "input_image",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
]
}
]
}'
{
"id": "resp_09a458ef7d14ad250068eedea510fc819380f2badab6d5b9fa",
"object": "response",
"created_at": 1760485029,
"status": "completed",
"background": false,
"content_filters": null,
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"max_tool_calls": null,
"model": "gpt-4.1-data",
"output": [
{
"id": "msg_09a458ef7d14ad250068eedea778f88193aa13888456165136",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "这张图片展示了一片广阔的草原景色。画面中央有一条木质栈道,笔直地延伸向远方,仿佛引领人走入大自然的怀抱。栈道两侧是茂密、绿色的高草,背景中有一些低矮的灌木和树丛。天空非常辽阔,蔚蓝中夹杂着几朵白色云彩,阳光明媚,让整个画面显得清新、明亮,有一种宁静和开放的感觉。"
}
],
"role": "assistant"
}
],
"parallel_tool_calls": true,
"previous_response_id": null,
"prompt_cache_key": null,
"reasoning": {
"effort": null,
"summary": null
},
"safety_identifier": null,
"service_tier": "default",
"store": true,
"temperature": 1.0,
"text": {
"format": {
"type": "text"
},
"verbosity": "medium"
},
"tool_choice": "auto",
"tools": [],
"top_logprobs": 0,
"top_p": 1.0,
"truncation": "disabled",
"usage": {
"input_tokens": 1118,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 128,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 1246
},
"user": null,
"metadata": {}
}