{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ludo-ai/main/json-schema/ludo-ai-create-voice-request-schema.json",
  "title": "CreateVoiceRequest",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ludo-ai-audio-api-openapi.yml#/components/schemas/CreateVoiceRequest",
  "type": "object",
  "required": [
    "voice_description",
    "text"
  ],
  "properties": {
    "voice_description": {
      "type": "string",
      "description": "Character description for the voice such as gruff old warrior or cheerful young girl."
    },
    "text": {
      "type": "string",
      "description": "Text for the character to speak.",
      "maxLength": 200
    },
    "type": {
      "type": "string",
      "description": "Type of voice to generate.",
      "enum": [
        "human",
        "non-human"
      ],
      "default": "human"
    },
    "request_id": {
      "type": "string",
      "description": "Client-provided ID to retrieve results later via the results endpoint."
    }
  }
}