{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiopod-ai/json-schema/audiopod-ai-speech-request-schema.json",
  "title": "SpeechRequest",
  "description": "Speech synthesis request body. Extra fields (e.g. ``instructions``)\nare tolerated so newer client SDKs don't 422.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiopod-ai-openai-compat-api-openapi.yml#/components/schemas/SpeechRequest",
  "properties": {
    "model": {
      "type": "string",
      "title": "Model",
      "default": "tts-1"
    },
    "input": {
      "type": "string",
      "maxLength": 50000,
      "minLength": 1,
      "title": "Input"
    },
    "voice": {
      "type": "string",
      "title": "Voice"
    },
    "response_format": {
      "type": "string",
      "title": "Response Format",
      "default": "mp3"
    },
    "speed": {
      "type": "number",
      "maximum": 4.0,
      "minimum": 0.25,
      "title": "Speed",
      "default": 1.0
    }
  },
  "type": "object",
  "required": [
    "input",
    "voice"
  ]
}