Replace the sample of one of your voices

Clones one of your voices again from a new clean 10–30 second sample of one speaker. The voice keeps its ID, name and other details; speech generated from then on uses the new sample, and its preview clip is cleared. Counts as one voice creation toward the plan's monthly limit but uses no extra voice slot. Send either a sample file (multipart) or a public sampleUrl (JSON). rightsConfirmed is required when the voice is published.

put/voices/{voiceId}/sample

Request

  • Base URL: https://api.lazybird.app/v1
  • URL: https://api.lazybird.app/v1/voices/{voiceId}/sample
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter api_key

Path parameters

voiceIdstring required

Voice id (or a legacy pv: id)

Request body

sampleUrlstring uri required

Publicly reachable URL of the new voice sample

rightsConfirmedboolean

Confirms you own this voice or the speaker consented to cloning it (see the Acceptable Use Policy). Required for published voices.

Response

The voice with its new sample

Changes

No recorded changes to this operation across all 1 revision of this API.