{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/finevoice/main/json-schema/finevoice-post-v1-enhancer-speech-enhancement-request-schema.json",
  "title": "PostV1EnhancerSpeechEnhancementRequest",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/finevoice-openapi-generated.yml#/components/schemas/PostV1EnhancerSpeechEnhancementRequest",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Audio file URL (http/https). Supports WAV/MP3/FLAC/AAC/OGG/OPUS/M4A/WEBM."
    },
    "model": {
      "type": "string",
      "description": "Enhancement model. Supported: `MossFormer2_SE_48K`, `FRCRN_SE_16K`, `MossFormerGAN_SE_16K`."
    },
    "use_vad": {
      "type": "boolean",
      "description": "Enable VAD (Voice Activity Detection) preprocessing."
    },
    "enable_normalization": {
      "type": "boolean",
      "description": "Enable audio normalization after enhancement."
    },
    "normalization_method": {
      "type": "string",
      "description": "Normalization method: `peak`, `rms`, or `both`."
    },
    "normalization_peak_db": {
      "type": "number",
      "description": "Target peak level in dBFS."
    },
    "normalization_rms_db": {
      "type": "number",
      "description": "Target RMS level in dBFS."
    },
    "output_format": {
      "type": "string",
      "description": "Output format: `wav`, `mp3`, `flac`, or `m4a`."
    }
  }
}