demand.ai API
  1. Schemas
demand.ai API
  • Generate a completion
    POST
  • Generate a chat completion
    POST
  • Generate Embeddings
    POST
  • Schemas
    • Schemas
      • postGenerate
      • postChat
      • generateResponse
      • chatResponse
      • chatResponseFinal
      • Success
      • postEmbed
      • Error
      • embedResponse
    • Response
      • Unauthorized
      • BadRequest
  1. Schemas

generateResponse

{
    "model": "gemma3:12b",
    "created_at": "2025-08-03T13:55:26.107Z",
    "response": "The sky is blue because it is the color of the sky.",
    "done": true,
    "done_reason": "stop",
    "context": [
        1,
        2,
        3
    ],
    "total_duration": 5043500667,
    "load_duration": 5025959,
    "prompt_eval_count": 26,
    "prompt_eval_duration": 325953000,
    "eval_count": 290,
    "eval_duration": 4709213000
}
Built with