Create a Voice Clone
Create an instant voice clone in a single call. Defaults to lightning-v3.1.
Authentication
API key authentication. Include your key as Authorization: Bearer YOUR_API_KEY. Access tokens are not accepted on this endpoint.
Request
Human-readable name for the voice clone.
Audio file to clone from. Supported MIME types:
audio/mpeg, audio/mpeg-3, audio/wav, audio/wave,
audio/webm, video/webm, audio/mp4, video/mp4.
Maximum size: 5 MB.
Optional accent tag (e.g. "general", "indian").
Primary language the clone will be used for. Optional, but
strongly recommended — set it to the language of your
reference audio. The TTS request's language should also
match this code; setting it now avoids silent language
mismatches at inference time.
Must be one of the languages supported by lightning-v3.1.
The server validates and rejects unsupported codes with a 400.
Voice cloning model. Defaults to lightning-v3.1.
Pass lightning-v3.1-pro to clone onto the premium Pro pool.
lightning-v2 is accepted by the schema for historical
reasons but is deprecated - the server returns 400 with
"Voice cloning for lightning-v2 is deprecated. Please use lightning-v3.1".
Response
Voice clone created. Includes pre-generated sample clips of the new voice.