Skip to content

Workflows

Fresh

End-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

WorkflowDescription
URL to Video PipelineFull end-to-end: URL to link to preview to render to output
Preview and Render FlowThe async preview-list, pick, and render pattern
Avatar Video PipelineDecision tree: v1 vs v2 vs Aurora, plus full flows
Product Video PipelineProduct image to AI scene to video pipeline
Batch Video ProductionScaling with parallel tasks, polling, and credit management
Custom Template PipelineTemplate to variables to generate to render pipeline

Common Patterns

All Creatify video generation follows the same core pattern:

Status Values

StatusMeaningAction
pendingTask queued, not startedContinue polling
processingTask is being generatedContinue polling
doneTask completeRead output field
failedTask failedRead failed_reason field

Polling Best Practices

  1. Poll interval: 5-10 seconds for most endpoints, 10-15 seconds for Aurora
  2. Timeout: Set a maximum polling duration (e.g., 10 minutes)
  3. Backoff: Use exponential backoff if the API returns rate limit errors
  4. Batch: When running multiple tasks, poll all of them in a single loop