MiniMax Voice Clone
minimax/voice-cloneMiniMax Voice Clone by MiniMax creates a reusable custom voice from a reference recording of at least 10 seconds and returns a short preview spoken in that voice.
- Prix de base
- $1.80USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 5
Essayer le modèle
Bac à sable
Que souhaitez-vous faire ensuite ?
Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
- Ouvrir le résultat ↗
Entrée
{ "audio": "https://static.sandbase.ai/examples/b8385a7a-19fa-40da-94b1-92e4cb727d8b/input/6a966bba-4ecf-4735-ac78-1429b82245cf.wav" }
Fiche modèle
Spécifications
Tarification
- Prix de base
- $1.80 / exécution
Contexte et modalités
- Entrée
- Défini par le schéma
- Sortie
- audio
Fonctionnalités
- Chat
- Non pris en charge
- Vision
- Non pris en charge
- Raisonnement
- Non pris en charge
- Sortie structurée
- Non pris en charge
- Appel de fonction
- Non pris en charge
- Entrée audio
- Non pris en charge
Accès
- Fournisseur
- MiniMax
- ID du modèle
- minimax/voice-clone
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
MiniMax Voice Clone
Create a reusable custom voice from a reference recording of at least 10 seconds. The response includes the voice ID and a short spoken preview.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio URL, required | — | Reference recording, 10 seconds or longer. |
text | string | Hello, this is a preview of your cloned voice! I hope you like it! | Preview sentence spoken in the new voice. |
need_volume_normalization | boolean | false | Normalize the recording level. |
noise_reduction | boolean | false | Clean background noise first. |
accuracy | number 0–1 | — | Text-validation threshold for the recording. |
Billing
$1.50 per cloned voice plus $0.30 per started 1,000 preview characters.
| Request | Price |
|---|---|
| One voice | $1.80 |
Failed runs are not charged.
Prompting
- Record in a quiet room with one speaker.
Limits
- Use the returned voice ID as
voice_idin MiniMax Speech.
Also on SandBase
Related: minimax/speech/2.8/hd, minimax/speech/2.8/turbo, minimax/voice-design.
Commencer à construire
Envoyez votre première requête
Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "minimax/voice-clone",
"text": "Hello, this is a preview of your cloned voice! I hope you like it!",
"audio": "https://static.sandbase.ai/examples/minimax/voice-clone/input_audio_0.wav",
"noise_reduction": false,
"need_volume_normalization": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Schéma d'entrée
5 paramètres · 1 obligatoires · 4 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
audio | string | Obligatoire | URL of the input audio file for voice cloning. Should be at least 10 seconds long. To retain the voice permanently, use it with a TTS (text-to-speech) endpoint at least once within 7 days. Otherwise, it will be automatically deleted. |
text | string | Facultatif | Text to generate a TTS preview with the cloned voice (optional) · Longueur max. : 1000 · Par défaut : "Hello, this is a preview of your cloned voice! I hope you like it!" |
accuracy | number | Facultatif | Text validation accuracy threshold (0-1) · Min : 0 · Max : 1 |
noise_reduction | boolean | Facultatif | Enable noise reduction for the cloned voice · Par défaut : false |
need_volume_normalization | boolean | Facultatif | Enable volume normalization for the cloned voice · Par défaut : false |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la tâche de génération |
status | string | Statut de la tâche : pending, running, completed, failed, timeout |
model | string | Modèle utilisé pour la génération |
outputs | array | Tableau des éléments de sortie |
outputs[].url | string | URL de l'artefact généré |
outputs[].content_type | string | Type MIME (par ex. image/png, video/mp4) |
error | object | null | Détails de l'erreur en cas d'échec, null en cas de succès |
error.type | string | Code de type d'erreur lisible par machine |
error.message | string | Description de l'erreur lisible par l'humain |
Flux de travail asynchrone
Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.
- Envoyer : faites un POST vers /v1/run et lisez le
idrenvoyé. - Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit
completed,failedoutimeout. - Récupérer : lisez
outputsdans la réponse terminée.
Choisissez votre modèle
Comparer les modèles
| Modèle | Type | Prix par défaut | Lancement |
|---|---|---|---|
MiniMax Voice CloneCe modèle MiniMax | Audio | $1.80 / exécution | 6 mai 2025 |
MiniMax | Audio | $0.12 / exécution | 5 oct. 2026 |
MiniMax | Audio | $0.15 / exécution | 11 avr. 2026 |
MiniMax | Audio | $0.15 / exécution | 11 avr. 2026 |
MiniMax | Audio | $0.10 / exécution | 4 févr. 2026 |
MiniMax | Audio | $0.06 / exécution | 4 févr. 2026 |
Questions
FAQ
Comment appeler MiniMax Voice Clone via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "minimax/voice-clone" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Ai-je besoin d’un compte MiniMax distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à MiniMax Voice Clone et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte MiniMax séparément.
