cURL
curl --request POST \ --url https://api.tideblaze.com/v1/completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "blaze-1-heavy", "prompt": "<string>", "temperature": 123, "max_tokens": 123, "stream": false } '
{ "id": "<string>", "object": "text_completion", "created": 123, "model": "<string>", "choices": [ { "text": "<string>", "index": 123, "finish_reason": "<string>" } ], "usage": { "prompt_tokens": 123, "completion_tokens": 123, "total_tokens": 123 } }
Creates a mock text completion from a prompt. stream=true is not supported and returns a 400 error.
stream=true
400
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
blaze-1-heavy
blaze-1-standard
blaze-1-lite
Completion result
text_completion
Show child attributes