---
title: "Get generated images from a previous generation request"
method: GET
path: "/v3/ai/image-generations/{generationRequestId}"
tags: ["AiGenerator"]
---

# Get generated images from a previous generation request

`GET /v3/ai/image-generations/{generationRequestId}`

# AI Generator - Get Generated Images

Gets a previously generated set of images.  This endpoint is used after a call to `POST v3/ai/image-generations`, passing the `id` value from the result of that call.

## Fulfilled and Pending Results

Like the `POST v3/ai/image-generations` endpoint, the result of calling this endpoint will be either:

- `HTTP 200 OK` with the generated images' URLs and a generation request `id` value
- `HTTP 202 Accepted` with the payload only containing a generation request `id` value

`HTTP 202 Accepted` is returned in the case where the generation of images has not yet completed.  In this case it is expected that the client will occasionally poll this endpoint until a `HTTP 200 OK` result with a full payload is returned.

## Lifetime of Generated Images

Generated images will be retained for 6 months after generation.

## Path parameters

- `generationRequestId` string, required

## Response `200`

Returns the result of a request to generate images

- ImageGenerationsResponse
  - `generation_request_id` string, nullable
  - `seed` integer, nullable
  - `results` ImageDataResponse[], nullable
    - `index` integer
    - `is_blocked` boolean
    - `preview_urls` PreviewUrl[], nullable — The preview URLs for the result
      - `preview_size` string, nullable
      - `image_url` string, nullable
      - `width` integer
      - `height` integer
    - `url` string, nullable, required
  - `original_asset` AssetDetail
    - `id` string, nullable

## Other responses

- `202` — Returns the request ID for a pending request
- `400` — InvalidProduct
- `403` — NoProducts
- `404` — The request ID was not found
- `409` — ConcurrencyConflict
- `410` — GenerationRequestGone
- `429` — TooManyConcurrentGenerations

---

[API](https://skmtc.net/gettyimages/apis/getty-images-api.md) · [All operations](https://skmtc.net/gettyimages/apis/getty-images-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gettyimages/getty-images-api/revisions/29f239eeae86/schema)
