Inference

Create a text completion

post/openai/v1/completions

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/openai/v1/completions
  • Auth: HTTP bearer

Request body

modelstring required
promptstring required
streamboolean
temperaturenumber
max_tokensinteger
thread_idstring

Optional caller-supplied conversation identifier. Persisted on the InferenceLog so subsequent logs in the same conversation can be grouped together.

Example request

{
  "model": "reasoning-v1"
}

Response

Text completion response in OpenAI format

Changes

No recorded changes to this operation across all 1 revision of this API.