Create a Response
通过 OpenAI 兼容的 Responses API 创建模型响应。
授权
Authorization: Bearer YOUR_API_KEY
请求体
Model ID (provider/model_name). Use the slug from List Models.
"openai/gpt-5.5-pro"
Plain-text input (equivalent to a single user message).
System/developer instructions. Not carried over when using previous_response_id.
ID of the previous response for multi-turn conversations. Cannot be used with conversation.
Associates this response with a conversation.
Reference a prompt template and variables.
Additional output data to include in the response.
web_search_call.action.sources, computer_call_output.output.image_url, message.input_image.image_url, message.output_text.logprobs, reasoning.encrypted_content Upper bound for generated tokens, including visible output and reasoning tokens.
Maximum total built-in tool calls processed in this response.
Whether to allow parallel tool calls.
Reasoning model configuration.
Text output configuration (plain text or structured JSON).
0 <= x <= 20 <= x <= 10 <= x <= 20Context truncation when input exceeds the context window.
auto, disabled Tools the model may call. ShuYou does not support file_search, code_interpreter, or image_generation tools.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
none, auto, required Whether to store the response for later retrieval.
Stream the response via server-sent events.
Cache key for similar requests (replaces legacy user).
in_memory, 24h Stable hashed user identifier for abuse detection.
64ShuYou: multi-provider routing.
ShuYou: model selection within a provider.