API / Éditeur
POST
/v1/jobs/{id}/scene-imageRégénère le visuel d'une scène.
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
id | chemin | string | oui | ID du job. |
index | corps | int | oui | Index de la scène (0-based). |
prompt | corps | string | non | Consigne du visuel. |
Exemple de requête
curl -X POST https://deklip.com/v1/jobs/{id}/scene-image \
-H "Authorization: Bearer dk_live_VOTRE_CLE" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"index":1,"prompt":"gros plan produit, lumière naturelle"}'Exemple de réponse
{
"url": "https://…/scene.jpg",
"cost": 2,
"credits_remaining": 298
}Via MCP: cet endpoint correspond à l'outil
regenerate_scene_image.