{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easyvoice-ae/json-schema/easyvoice-ae-post-v1-audio-speech-request-schema.json",
  "title": "PostV1AudioSpeechRequest",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/easyvoice-ae-openapi-generated.yml#/components/schemas/PostV1AudioSpeechRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Any string is accepted and ignored (default: \"kokoro-82m\")"
    },
    "input": {
      "type": "string",
      "description": "Text to convert."
    },
    "voice": {
      "type": "string",
      "description": "Voice ID (default: af_aoede), or one of the six OpenAI voice names."
    },
    "response_format": {
      "type": "string",
      "description": "\"mp3\", \"wav\" or \"pcm\" (default: mp3)."
    },
    "speed": {
      "type": "number",
      "description": "0.5 to 2.0 (default: 1.0)."
    },
    "ev_pitch": {
      "type": "number",
      "description": "Pitch shift in semitones, -4 to +4."
    },
    "ev_volume_db": {
      "type": "number",
      "description": "Output gain in dB, -6 to +6."
    },
    "ev_tone": {
      "type": "string",
      "description": "\"neutral\", \"warm\", \"bright\", or \"bass\"."
    },
    "ev_timestamps": {
      "type": "boolean",
      "description": "If true, returns JSON envelope with audio base64."
    }
  },
  "required": [
    "input"
  ]
}