API / Avatar & studio
POST
/v1/avatarVidéo avatar UGC en lip-sync.
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
script | corps | string | oui | Texte prononcé (60 s max). |
voice | corps | string | non | ID de voix. |
Exemple de requête
curl -X POST https://deklip.com/v1/avatar \
-H "Authorization: Bearer dk_live_VOTRE_CLE" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"script":"Salut ! Aujourd'hui je te montre…","voice":"eleven-v3"}'Exemple de réponse
{
"job_id": "job_9f2c…",
"status": "processing",
"cost": 90,
"credits_remaining": 60
}Via MCP: cet endpoint correspond à l'outil
generate_avatar.