Docs

Clone a voice from an audio clip

POSThttps://server.heyrik.com/api/v1/voices/clone

Headers

AuthorizationstringRequired

Use Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.

Get your API key

Parameters 4

Fields documented for this operation. See the request example for placement and structure.

clipmultipart fileRequired

Aim for 20–30 seconds of clean speech from one speaker with no background noise.

namestringRequired

What to call the cloned voice.

languagestring

Primary language of the clip.

genderstring

male | female — for filtering only.

POST/voices/clone
curl -X POST https://server.heyrik.com/api/v1/voices/clone \
  -H "Authorization: Bearer $HEYRIK_API_KEY" \
  -F "clip=@sample.wav" \
  -F "name=Founder voice" \
  -F "language=en-IN"
Response example
{
  "data": {
    "voice_id": "vx_7b1e44a2",
    "name": "Founder voice",
    "language": "en-IN",
    "credits_charged": 5
  }
}

Illustrative examples · No live request is sent

Docs

Build sophisticated voice experiences with HeyRik.

© 2026 HeyRik · Support