Skip to main content
Documentation API
Intégrez CinematicAds dans votre stack
API REST complète pour automatiser la génération de vidéos publicitaires. Authentification simple, endpoints puissants.
Authentification
Toutes les requêtes API nécessitent un token Bearer dans le header Authorization.
Header
Authorization: Bearer YOUR_API_KEY
Obtenez votre clé API dans les paramètres de votre compte.
Endpoints
POST
/api/workflowExécuter un workflow
Lance un workflow de génération vidéo (avatar, influencer, clone, factory, cinematic).
typestringrequiredType de workflow: avatar | influencer | clone | factory | cinematicscriptstringScript pour avatar/influencer workflowsurlstringURL pour clone/factory workflowsconceptstringConcept pour cinematic workflowGET
/api/healthHealth Check
Vérifie l'état des services CinematicAds.
cURL Example
curl -X POST https://cinematicads.studio/api/workflow \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type": "avatar", "script": "Hello, welcome to our product demo!"}'Response
{
"success": true,
"workflowId": "wf_abc123xyz",
"status": "processing",
"estimatedTime": 120
}Webhooks
Recevez des notifications en temps réel sur l'état de vos workflows.
workflow.startedUn workflow a démarréworkflow.completedUn workflow est terminé avec succèsworkflow.failedUn workflow a échouévideo.readyUne vidéo est prête au téléchargementSDKs Officiels
Bibliothèques clientes pour intégrer CinematicAds rapidement.
Node.jsRoadmap T1 2025
npm install @cinematicads/sdkPythonRoadmap T2 2025
pip install cinematicadsPHPRoadmap T2 2025
composer require cinematicads/sdk