completions
Inference: Completion
Compatible with OpenAI's Completions API.
post/completions
Request
- Base URLhttps://inference-api.nousresearch.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "Hermes-4.3-36B",
"prompt": "Once upon a time",
"max_tokens": 60,
"temperature": 0.8,
"stream": true
}Response
Successful Response
Example response
{
"object": "text_completion"
}Changes
No recorded changes to this operation across all 1 revision of this API.