{
"model": "openai/gpt-5.6-terra",
"messages": [
{
"role": "developer",
"content": "你是一个严谨的旅行助手。"
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "根据图片安排一天的城市漫步路线。"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/city.jpg",
"detail": "high"
}
}
]
}
],
"audio": {
"format": "mp3",
"voice": "alloy"
},
"frequency_penalty": 0,
"logit_bias": {
"123": -1
},
"logprobs": true,
"max_completion_tokens": 800,
"metadata": {
"request_source": "documentation_example"
},
"modalities": ["text", "audio"],
"n": 1,
"parallel_tool_calls": false,
"prediction": {
"type": "content",
"content": "路线标题:"
},
"presence_penalty": 0,
"prompt_cache_key": "travel-assistant-v1",
"prompt_cache_options": {
"mode": "implicit",
"ttl": "30m"
},
"reasoning_effort": "medium",
"response_format": {
"type": "json_schema",
"json_schema": {
"name": "walking_plan",
"description": "城市漫步路线",
"strict": true,
"schema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"stops": {
"type": "array",
"items": { "type": "string" }
}
},
"required": ["title", "stops"],
"additionalProperties": false
}
}
},
"safety_identifier": "user_123456",
"seed": 42,
"service_tier": "auto",
"stop": ["<END>"],
"store": false,
"stream": true,
"stream_options": {
"include_usage": true
},
"temperature": 0.7,
"tool_choice": "auto",
"tools": [
{
"type": "function",
"function": {
"name": "get_opening_hours",
"description": "查询一个地点的营业时间。",
"parameters": {
"type": "object",
"properties": {
"place": {
"type": "string",
"description": "地点名称"
}
},
"required": ["place"],
"additionalProperties": false
},
"strict": true
}
}
],
"top_logprobs": 2,
"top_p": 1,
"verbosity": "medium",
"web_search_options": {
"search_context_size": "medium"
}
}