cURL
curl --request POST \ --url https://api.creatify.ai/api/custom_template_jobs/preview/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: <api-key>' \ --header 'X-API-KEY: <api-key>' \ --data '{ "name": "<string>", "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "variables": {}, "webhook_url": "<string>" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "name": "<string>", "variables": {}, "media_job": "<string>", "video_output": "<string>", "preview": "<string>", "editor_url": "<string>", "failed_reason": "<string>", "credits_used": 123, "duration": 123, "status": "pending", "progress": 123, "webhook_url": "<string>" }
This endpoint generates a preview before rendering the final video. Generating a preview through this endpoint costs 1 credit for every 30 seconds.
"https://app.creatify.ai/preview?layout=videos/20241024/f0c1e1f1-be05-48e0-91d8-3d26ed633d5b.json"
API ID, from your settings page.
API Key, from your settings page.
The response is of type object.
object