{
"model": "gpt-5.2",
"input": [
{
"role": "user",
"content": [
{
"type": "input_file",
"filename": "draconomicon.pdf",
"file_data": "data:application/pdf;base64,..."
},
{
"type": "input_text",
"text": "What is the first dragon in the book?"
}
]
}
]
}curl --location --request POST 'https://fast.168api.top/v1/responses' \
--header 'Accept: application/json' \
--header 'Authorization: sk-' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-5.2",
"input": [
{
"role": "user",
"content": [
{
"type": "input_file",
"filename": "draconomicon.pdf",
"file_data": "data:application/pdf;base64,..."
},
{
"type": "input_text",
"text": "What is the first dragon in the book?"
}
]
}
]
}'{
"id": "string",
"object": "string",
"created": 0,
"choices": [
{
"index": 0,
"message": {
"role": "string",
"content": "string"
},
"finish_reason": "string"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}