YeeHooDevelopers
Developer Docs

Images

Submit image generation tasks, poll for terminal state, and move to webhook delivery when needed.

Use the Images API when you want a simple first integration path into Yeehoo.

Typical flow

  1. Call /v1/generations and choose an image model through model
  2. Get back a task_id
  3. Poll /v1/tasks/{task_id} or wait for webhook
  4. Read the final result after the task reaches terminal state

Best practice

  • Always send an Idempotency-Key on create requests
  • Treat image generation as async, not sync
  • Use polling first during integration, then add webhook for production

Next

On this page