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
queueduntil recovery. - Points are deducted at create time. If the task is still waiting after about 2 hours, it becomes
failedand is refunded. - Polling is unchanged:
GET /v1/images/{task_id}orGET /v1/videos/{task_id}.