Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
生成符合指定 JSON Schema 的响应
response_format
{ "type": "json_object" }
curl https://api.eztokens.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $EZTOKENS_API_KEY" \ -d '{ "model": "gpt-4o", "messages": [ {"role": "user", "content": "输出一个包含 name 和 age 的 JSON 对象"} ], "response_format": { "type": "json_object" } }'