API 레퍼런스 · Media

Image · job status

Poll an async render until the image is ready.

GET/v1/images/generations/{id}free

Free to call, as often as you like — every few seconds is the intended cadence. status walks processing → succeeded (the image is in data) or failed (an error object explains, and the credits were already refunded).

Job ids are scoped to your account (and workspace) and expire 24 hours after creation; persist the image (yours to keep, or store: true at submit) before then.

curl https://eroq.ai/v1/images/generations/GENERATION_ID \
  -H "Authorization: Bearer $EROQ_API_KEY"
/v1/images/generations/{id}
→ GET /v1/images/generations/0b52…
실행을 눌러 보세요 — 문서에 담긴 데이터로 실제 요청과 응답을 그대로 재현해요. 키도, 요청도, 요금도 없어요.

응답

200 · application/json
{
  "id": "b7e6c2d4-…",
  "object": "image.generation",
  "status": "succeeded",
  "created": 1756118400,
  "model": "eroq-krea2",
  "data": [{ "b64_json": "UklGRl4jAABXRUJQ…", "content_type": "image/webp", "library_id": "…" }],
  "usage": { "credits_spent": 10, "credits_remaining": 977 }
}