Skip to main content
POST /v1/images and POST /v1/videos (including POST /v1/veo/frames) accept an optional smart_queue field. Omit it or set false (default): the task is dispatched immediately, same as before. Set true: if that model’s recent success rate is very low, the task stays queued (points already deducted) until the rate recovers, then it is submitted. Keep polling the same task_id.

Request field

Behavior

  • Off: submitted as soon as you create the task.
  • On, and recent success rate is healthy or there are too few samples: submitted immediately.
  • On, and recent success rate is very low: response stays queued until recovery.
  • Points are deducted at create time. If the task is still waiting after about 2 hours, it becomes failed and is refunded.
  • Polling is unchanged: GET /v1/images/{task_id} or GET /v1/videos/{task_id}.
The Smart queue toggle in Online Studio and Canvas sends the same field.

Example

Last modified on October 24, 2026