Voice cloning
Regenerate a cloned voice sample
Regenerate the sample audio for a `ready` voice.
POST/voices//sample
Bearersession
Path parameters
voice_idrequiredcurl -X POST 'https://omnidim.io/api/v1/voices/{voice_id}/sample' \ -H 'Authorization: Bearer YOUR_API_KEY'
Example response
synthetic
{ "voice": { "id": 412, "name": "Front desk", "description": "string", "language": "en", "gender": "male", "status": "processing", "voice_id": "8a1c2f5e-3b7d-4c9a-9f21-2e6b0d4a7c88", "sample_url": "string", "error": "string", "created_at": "string", "ready_at": "string" } }
BearerAuthheader
AuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
voice_id*integerId of the cloned voice.
Response body
application/jsonThe voice, with a fresh sample.
application/jsonvoice?A voice cloned from an audio sample. Created asynchronously: status is
processing until the provider finishes, then ready or failed.
voice_id is the provider id an agent uses, and is null until ready.
Was this page helpful?
