mistralM

Docs

Voices

Save audio samples as reusable voices, then create, list, get, update, delete, and sample them by voice ID.

Save audio samples as reusable voices. Once created, a voice can be referenced by voice_id in any speech generation request, avoiding the need to pass ref_audio each time.

exclamationMark

Voice cloning usage policy: By using this model and its voice cloning feature, you agree to comply with all applicable laws and our usage policy. You are not authorized to use this model for any unlawful purpose, including to impersonate others, clone voices without explicit consent, or engage in fraud, deception, misinformation, disinformation, harm, or the generation of unlawful, harmful, libelous, abusive, harassing, discriminatory, hateful, or privacy-invasive content. You must disclose AI-generated or partially AI-generated content where required by law. We disclaim all liability for non-compliant use.

Create a voice by providing a name and a base64-encoded audio sample. The audio sample is used for voice cloning and can be retrieved later via get_sample_audio.

# Not available in the V1 SDK (mistralai 1.x).
# This feature requires the V2 SDK: pip install "mistralai>=2", then use the V2 tab.
# Migration guide: https://docs.mistral.ai/resources/migration-guides
Output
{
  "id": "a3e8f2b1-4c9d-4a6b-8e2f-1c3d5e7a9b0c",
  "name": "my-voice",
  "slug": null,
  "languages": ["en", "fr"],
  "gender": "male",
  "age": null,
  "tags": null,
  "created_at": "2026-03-20T18:34:32.118943Z"
}

Parameters:

Parameter

Type

Required

Description

namestringYesDisplay name for the voice
sample_audiostringYesBase64-encoded audio file
sample_filenamestringNoOriginal filename (used for format detection)
slugstringNoURL-friendly identifier
languagesstring[]NoLanguages the voice supports (e.g. ["en", "fr"])
genderstringNoGender label (e.g. "female", "male")
ageintegerNoApproximate age of the speaker
tagsstring[]NoArbitrary tags for filtering