Copy
curl -X GET https://api.babysea.ai/api/v1/image-generation/a8ea3a4c-5a11-4465-99d2-a2723ed26c2a \
-H "Authorization: Bearer bye_07235972e6f288893493626dc81ff46ef36ca1b888ccc3878948ecf1310ddcf6f8d4140d"
Copy
{
"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
Unique identifier of the generation to retrieve (UUID v4).
Response Schema
Indicates whether the request was successful.
Container object for generation data.
Show properties
Show properties
Unique identifier for the image generation (UUID v4).
Current status of the generation.
User-defined name for the generation.
Text prompt used to generate the image.
Aspect ratio of the generated image.
Identifier of the AI model used for generation.
Total number of images requested for this generation.
Number of images successfully generated.
Number of images that failed to generate.
Number of images currently available.
Number of images that have been deleted.
Array of URLs pointing to the successfully generated images.
Number of credits deducted for this generation.
Reason for generation failure (null if successful or still processing).
Model inference time in seconds.
Total processing time in seconds (includes inference and post-processing).
ISO 8601 timestamp of when the generation was created.
Whether the generated images are publicly accessible.
Array of input image paths used for the generation (optional, only present for image-to-image generations).