VibeVoice 7B
microsoft/vibevoice/7bVibeVoice 7B by Microsoft generates long-form, expressive speech with up to four speakers in one conversation, using preset voices or voice samples. It suits podcasts and multi-character dialogue.
- Prix de base
- $0.04USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 3
Essayer le modèle
Bac à sable
0 / 4 items
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Fiche modèle
Spécifications
Tarification
- Prix de base
- $0.04 / 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
- Microsoft
- ID du modèle
- microsoft/vibevoice/7b
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
VibeVoice 7B
Microsoft VibeVoice 7B turns a script of up to 30,000 characters into long-form speech with up to four speakers, each a preset voice or a cloned voice sample.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Script; prefix lines with Speaker 0:…Speaker 3: for dialogue. |
speakers | array of objects (1–4), required | — | 1–4 items {preset} or {audio_url} in speaker order; presets: Alice [EN], Carter [EN], Frank [EN], Mary [EN] (Background Music), Maya [EN], Anchen [ZH] (Background Music), Bowen [ZH], Xinran [ZH]. |
seed | integer | — | Fix it to reproduce a result. |
Billing
$0.04 per minute of generated speech, rounded to the nearest 15 seconds (minimum 15 seconds). The charge uses the measured output length; the estimate before the run assumes 1 minute.
| Output length | Price |
|---|---|
| 30 s | $0.02 |
| 1 min | $0.04 |
| 5 min | $0.20 |
Failed runs are not charged.
Prompting
- Keep one speaker per line and match
Speaker Nto the order ofspeakers. - Presets marked (Background Music) add music under the voice.
Also on SandBase
Related: microsoft/vibevoice, microsoft/vibevoice/0.5b.
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": "microsoft/vibevoice/7b",
"text": "Speaker 0: VibeVoice is now available on SandBase. Isn't that right, Carter?\nSpeaker 1: That's right Frank, and it supports up to four speakers at once. Try it now!",
"speakers": [
[
{
"preset": "Frank [EN]"
},
{
"preset": "Carter [EN]"
}
]
]
}
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
3 paramètres · 2 obligatoires · 1 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
text | string | Obligatoire | The script to speak. For dialogue, start each line with `Speaker 0:`, `Speaker 1:` and so on; the number is the index into `speakers`. · Longueur max. : 30000 |
speakers | object[] | Obligatoire | Voices for the speakers in order: item 0 is `Speaker 0`, item 1 is `Speaker 1`, up to 4. Each item uses a `preset` voice, or an `audio_url` voice sample (audio file or URL) that overrides the preset. |
seed | integer | Facultatif | Random seed for reproducible results. Omit for a random seed. |
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 |
|---|---|---|---|
VibeVoice 7BCe modèle Microsoft | Audio | $0.04 / exécution | 27 août 2025 |
Microsoft | Audio | $0.02 / exécution | 17 déc. 2025 |
Microsoft | Audio | $0.04 / exécution | 27 août 2025 |
Questions
FAQ
Comment appeler Microsoft VibeVoice 7B via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "microsoft/vibevoice/7b" à 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 Microsoft distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à Microsoft VibeVoice 7B et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Microsoft séparément.
