{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hanolab-com/json-schema/hanolab-com-post-api-v1-voice-convert-request-schema.json",
  "title": "PostApiV1VoiceConvertRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hanolab-com-openapi-generated.yml#/components/schemas/PostApiV1VoiceConvertRequest",
  "type": "object",
  "properties": {
    "input_url": {
      "type": "string",
      "description": "URL of the source audio."
    },
    "voice_model_id": {
      "type": "string",
      "description": "ID of the voice model to use."
    },
    "duration": {
      "type": "integer",
      "description": "Duration of the audio in seconds."
    },
    "pitch_shift": {
      "type": "number",
      "description": "Pitch shift amount."
    },
    "index_rate": {
      "type": "number",
      "description": "Index rate."
    },
    "filter_radius": {
      "type": "integer",
      "description": "Filter radius."
    },
    "rms_mix_rate": {
      "type": "number",
      "description": "RMS mix rate."
    },
    "protect": {
      "type": "number",
      "description": "Protection factor."
    },
    "full_song": {
      "type": "boolean",
      "description": "Whether to process the full song."
    }
  },
  "required": [
    "input_url",
    "voice_model_id",
    "duration"
  ]
}