cURL
Default
curl --request POST \ --url http://your-model.soranova.ai/v1/chat/completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "meta-llama/Llama-3.3-70B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ]}'
{ "id": "<string>", "choices": [ { "message": { "role": "user", "content": "<string>" }, "finish_reason": "stop" } ] }
Generate chat completions
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful completion
The response is of type object.
object