Tasks & Polling
Yeehoo async generation endpoints return task IDs. Poll them until terminal state.
Image and video generation are asynchronous.
Tasks and their generated assets are permanently scoped to the API key's team workspace; request headers cannot move them to another workspace.
Lifecycle
queuedrunningsucceededfailed
Polling endpoint
curl https://aibubu.ai/v1/tasks/task_image_xxx \
-H "Authorization: Bearer sk_yeehoo_your_key"Suggested polling cadence
- First 30 seconds: every 2 to 3 seconds
- Long-running video jobs: every 5 to 10 seconds
- Stop polling on
succeededorfailed
Response handling
When the task succeeds, keep the terminal response as source of truth for:
statusresult.data[].url- optional
result.data[].thumbnail_urlfor video
Provider payloads, internal usage, and billing details are not exposed.
Webhook is a notification channel. Polling remains the canonical fallback.