{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-audio-generate-request-schema.json",
  "title": "AudioGenerateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-audio-api-openapi.yml#/components/schemas/AudioGenerateRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "A quality tier (fast, balanced, quality) or any fal.ai text-to-speech endpoint id. Prefer a tier — it tracks the best current model for that price point. Defaults to fal-ai/elevenlabs/tts/multilingual-v2; `GET /v1/audio/models` maps tiers to ids with live pricing."
    },
    "input": {
      "type": "object",
      "description": "Model-specific input, forwarded to fal verbatim. `text` is required.",
      "properties": {
        "text": {
          "type": "string",
          "description": "The text to convert to speech."
        },
        "voice": {
          "type": "string",
          "description": "For the default model and the `balanced` tier (both ElevenLabs), one of Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill, or an ElevenLabs voice id. An unknown name silently falls back to the default voice (Rachel). Other models take their own voice names."
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "input"
  ]
}