Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
GPT-4o (2024-05-13) | 文字生成
gpt-4o-2024-05-13
POST /v1/chat/completions
MIXROUTE_API_KEY
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/chat/completions' \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-4o-2024-05-13", "messages": [ { "role": "user", "content": "Reply with OK only." } ], "max_tokens": 64 }'
choices[0].message.content
model
messages