{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/distribea-com/json-schema/distribea-com-generate-voice-request-schema.json",
  "title": "GenerateVoiceRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/distribea-com-openapi.json#/components/schemas/GenerateVoiceRequest",
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The words to read."
    },
    "model": {
      "type": "string",
      "description": "A model id from GET /api/v1/models?type=voice.",
      "default": "elevenlabs-multilingual-v2"
    },
    "voice": {
      "type": "string",
      "description": "A voice id from the model's `sample_voices`.",
      "default": "elevenlabs-roger"
    },
    "language": {
      "type": "string",
      "description": "One of the model's `languages`."
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "true returns the exact price only, with or without a key. Nothing is generated or charged."
    }
  }
}