Returns the details of a specific generated image. This is a public endpoint — no authentication required.
The response is cached for 1 hour.
Path Parameters
The generation ID returned by the Generate endpoint.
Response
Generation status: "pending", "completed", or "failed".
The URL of the generated image (only present when status is "completed").
The prompt used for generation.
The aspect ratio of the generated image.
ISO 8601 timestamp of when the generation was created.
Example
curl https://www.meigen.ai/api/images/550e8400-e29b-41d4-a716-446655440000
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"imageUrl": "https://images.meigen.art/generations/550e8400.png",
"prompt": "A serene Japanese garden with cherry blossoms",
"model": "nanobanana-2",
"aspectRatio": "16:9",
"createdAt": "2025-03-01T12:00:00Z"
}