Chat Completions Format
原生Gemini格式
OpenAI聊天格式
根据对话历史创建模型响应。支持流式和非流式响应。
兼容 OpenAI Chat Completions API。
POST
Chat Completions Format
Documentation Index
Fetch the complete documentation index at: https://docs.utoken.wgame-hk.com/llms.txt
Use this file to discover all available pages before exploring further.
授权
Use Bearer Token authentication Format: Authorization: Bearer sk-xxxxxx
请求体
application/json
Model ID
示例:
"gpt-4"
List of conversation messages
Sampling Temperature
必填范围:
0 <= x <= 2Nucleus sampling parameter (top_p)
必填范围:
0 <= x <= 1Number of completions to generate
必填范围:
x >= 1Enable streaming response
Stop sequences
Maximum tokens for generation
Maximum tokens for completion
必填范围:
-2 <= x <= 2必填范围:
-2 <= x <= 2可用选项:
none, auto, required Reasoning effort level (for reasoning-capable models)
可用选项:
low, medium, high 可用选项:
text, audio 