Integration guide
Completion notifications and polling
Lifecycle states, webhook event notifications, and resilient exponential backoff polling.
4 min read
•Updated October 21, 2026State Transition Lifecycles
Character creation states are queued, processing, ready, and failed (poll GET /v1/characters/{id}). Image generation states are queued, processing, completed, and failed (poll GET /v1/generations/{id}). Video generation states are queued, processing, completed, and failed (poll GET /v1/video/generations/{id}).
Webhooks vs Direct Polling
Use webhooks for asynchronous completion notifications and GET by resource ID for reconciliation. Polling remains useful after network failures or missed callbacks. A client timeout does not cancel a server job.
Exponential Backoff Best Practices
Always preserve the returned job ID and implement exponential backoff with jitter when polling.
