Démarrage Rapide
Créez votre première publicité statique et consultez le résultat.
Lister Le Catalogue
curl https://videotok.app/api/v1/models \
-H "Authorization: Bearer vt_live_..."
Créer Une Publicité Statique
curl -X POST https://videotok.app/api/v1/generations \
-H "Authorization: Bearer vt_live_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: campaign-001-static" \
-d '{
"type": "static_ad",
"template_slug": "product-shoot",
"prompt": "Premium ad for a collagen drink.",
"aspect_ratio": "1:1",
"resolution": "1K",
"request_count": 1
}'
Consulter Le Résultat
curl https://videotok.app/api/v1/generations/9f9f2d49-3c9c-4a45-a16d-c0d7d0c8b0ce \
-H "Authorization: Bearer vt_live_..."
Quand le job est terminé, url contient l'asset final.