Skip to main content

🚀 Step 1: Generate a List of Video Previews (Async)

Use this endpoint to generate multiple video previews asynchronously before committing to a final render.

Endpoint

POST /api/link_to_videos/preview_list_async/

Purpose

This allows users to create preivews with multiple visual styles and choose the best one to render.
⚠️ Costs 1 credit per 30s per preview.

✏️ Step 2: Get preview generation result

🔄 Webhook Callback Example

If you provide a webhook_url, Creatify will notify your backend of the preview generation result:

🔄 Poll API to get Result without Webhook

If you did not provide a webhook_url, you will have to pool Creatify API to the preview generation result:
ℹ️ You can embed the preview URLs using <iframe> tags in your UI to display them.

🎮 Step 3: Render One of the Previews

After selecting the best preview, use this endpoint to render the final video from it.

Endpoint

POST /api/link_to_videos/{id}/render_single_preview/

Purpose

Commit to rendering a final video using a specific preview.
⚠️ Costs 4 credits per 30s.

📡 Step 4: Get Render result

🔄 Webhook Callback Example

If you provide a webhook_url, Creatify will notify your backend of the render result:

🔄 Poll API to get Result without Webhook

If you did not provide a webhook_url, you will have to pool Creatify API to the render result:

🤝 Tips & Extras

  • Use override_avatar and override_voice to manually select avatar and voice
  • Previews let your users pick and compare before rendering
  • Preview URLs can be embedded in your product for a seamless experience
  • Webhooks let your backend stay in sync with preview/render status