Workflows
FreshEnd-to-end workflow diagrams for common Creatify API pipelines. Each workflow includes Mermaid diagrams, decision points, code examples, and error handling at every stage.
Available Workflows
| Workflow | Description |
|---|---|
| URL to Video Pipeline | Full end-to-end: URL to link to preview to render to output |
| Preview and Render Flow | The async preview-list, pick, and render pattern |
| Avatar Video Pipeline | Decision tree: v1 vs v2 vs Aurora, plus full flows |
| Product Video Pipeline | Product image to AI scene to video pipeline |
| Batch Video Production | Scaling with parallel tasks, polling, and credit management |
| Custom Template Pipeline | Template to variables to generate to render pipeline |
Common Patterns
All Creatify video generation follows the same core pattern:
Status Values
| Status | Meaning | Action |
|---|---|---|
pending | Task queued, not started | Continue polling |
processing | Task is being generated | Continue polling |
done | Task complete | Read output field |
failed | Task failed | Read failed_reason field |
Polling Best Practices
- Poll interval: 5-10 seconds for most endpoints, 10-15 seconds for Aurora
- Timeout: Set a maximum polling duration (e.g., 10 minutes)
- Backoff: Use exponential backoff if the API returns rate limit errors
- Batch: When running multiple tasks, poll all of them in a single loop