{
"model": "gpt-5.4",
"input": [
{
"role": "user",
"content": [
{
"type": "input_file",
"file_url": "https://www.irs.gov/pub/irs-pdf/f1040.pdf"
},
{
"type": "input_text",
"text": "你看到了什么"
}
]
}
]
}curl --location 'https://147ai.com/v1/responses' \
--header 'Accept: application/json' \
--header 'Authorization: sk-' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-5.4",
"input": [
{
"role": "user",
"content": [
{
"type": "input_file",
"file_url": "https://www.irs.gov/pub/irs-pdf/f1040.pdf"
},
{
"type": "input_text",
"text": "你看到了什么"
}
]
}
]
}'{
"id": "resp_06ceb350a2481202006a158aa57ddc8198ad9c1d071c69d62c",
"object": "response",
"created_at": 1779796649,
"status": "completed",
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1779796658,
"error": null,
"frequency_penalty": 0.0,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"max_tool_calls": null,
"model": "gpt-5.4-2026-03-05",
"moderation": null,
"output": [
{
"id": "msg_06ceb350a2481202006a158aaa75648198843600318a835bd9",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "我看到的是一份..."
}
],
"phase": "final_answer",
"role": "assistant"
}
],
"parallel_tool_calls": true,
"presence_penalty": 0.0,
"previous_response_id": null,
"prompt_cache_key": null,
"prompt_cache_retention": "in_memory",
"reasoning": {
"context": "current_turn",
"effort": "none",
"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": 0.98,
"truncation": "disabled",
"usage": {
"input_tokens": 5114,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 543,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 5657
},
"user": null,
"metadata": {}
}