latestOpenAPI 3.1.02026-08-12154749.3 KB

ebb545e26e94

Voice Change

Changes voice in the audio file using voice pack

For 'voice_pack_id' parameter use 'pack_id' from /voice_packs/list/ endpoint or one of legal packs: ['ALEX_KAYE', 'STASIA_FAYE', 'NICOLAAS_HAAS', 'NIK_ZEL', 'OLIA_CHEBO', 'YVAR_DE_GROOT', 'VETRANA']

Result of /check/ includes 1 track with label 'converted_mix'.
{"label":"converted_mix", "type":"back", "url":"..."}
post/api/v1/change_voice/

Request body

source_idstring uuid4 required

ID of the source file to be processed.

idempotency_keystring uuid4 nullable

Unique uuid4 key to ensure idempotent requests.

Prevents duplicate task execution with the same parameters.

Can be reused until the task starts. Once processing begins, reusing this key will return an error.

Example request

{
  "source_id": "2fe8f214-1771-4900-9e7e-570f823bd359",
  "presets": {
    "voice_pack_id": "<user_private_pack_uuid4>",
    "accent": 0.33
  }
}

Response

OK

task_idstring required

ID of the created task.

Example response

{
  "task_id": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77"
}