---
title: "Get download sizes for a generated image"
method: GET
path: "/v3/ai/image-generations/{generationRequestId}/images/{index}/download-sizes"
tags: ["AiGenerator"]
---

# Get download sizes for a generated image

`GET /v3/ai/image-generations/{generationRequestId}/images/{index}/download-sizes`

# AI Generator - Get Download Sizes

Given a fulfilled generation request `id` and the `index` of a generated image, gets a list of download sizes for the image.

## Path parameters

- `generationRequestId` string, required
- `index` integer, required

## Response `200`

Returns the result of a request

- DownloadSizesResponse
  - `download_sizes` DownloadSizeResponse[], nullable
    - `size_name` string, nullable
    - `height` integer
    - `width` integer

## Other responses

- `400` — InvalidProduct
- `403` — NotAuthorized
- `404` — Either the generation id does not exist, the index is incorrect, or the generation is still pending
- `409` — ConcurrencyConflict
- `410` — GenerationRequestGone
- `429` — DailyRequestLimitExceeded

---

[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/d069958d92a6/schema)
