Skip to main content
Retrieve the current status and details of a specific image generation. Poll this endpoint to check if your generation is complete.
curl -X GET https://api.babysea.ai/api/v1/image-generation/a8ea3a4c-5a11-4465-99d2-a2723ed26c2a \
  -H "Authorization: Bearer bye_07235972e6f288893493626dc81ff46ef36ca1b888ccc3878948ecf1310ddcf6f8d4140d"
{
  "success": true,
  "data": {
    "generationId": "a8ea3a4c-5a11-4465-99d2-a2723ed26c2a",
    "status": "succeeded",
    "name": "Room Design",
    "prompt": "Make the sheets in the style of the logo. Make the scene natural",
    "aspectRatio": "match_input_image",
    "modelProvider": "google/nano-banana",
    "outputNumber": 1,
    "outputSuccess": 1,
    "outputFailed": 0,
    "currentImage": 1,
    "deletedImage": 0,
    "outputImages": [
      "https://app.babysea.ai/storage/v1/object/public/image_generation/output/a8ea3a4c-5a11-4465-99d2-a2723ed26c2a/tmpw5cmrx1o.jpeg"
    ],
    "creditCost": 2,
    "failureReason": null,
    "predictTime": 9.457883,
    "totalTime": 9.809377,
    "createdAt": "2026-01-20T04:00:40.991032",
    "isPublic": false,
    "imageInput": [
      "input/bb8ced8c-42fc-4e98-b27e-2e0c17968888/user_upload_image_1.png",
      "input/bb8ced8c-42fc-4e98-b27e-2e0c17968888/user_upload_image_2.png"
    ]
  }
}

Path Parameters

generationId
string
required
Unique identifier of the generation to retrieve (UUID v4).

Response Schema

success
boolean
Indicates whether the request was successful.
data
object
Container object for generation data.