---
title: "Get Image by ID"
method: GET
path: "/tailored-gen/datasets/{dataset_id}/images/{image_id}"
tags: ["Tailored Generation"]
---

# Get Image by ID

`GET /tailored-gen/datasets/{dataset_id}/images/{image_id}`

Retrieve full image information including caption (which naturally continues the dataset's caption_prefix), caption source (automatic/manual/unknown), image name, URL and thumbnail URL, dataset ID, and timestamps.

## Path parameters

- `dataset_id` string, required
- `image_id` integer, required

## Headers

- `api_token` string, required

## Response `200`

Successfully retrieved image

- object
  - `id` integer — Unique identifier for the image
  - `dataset_id` integer — ID of the dataset this image belongs to
  - `caption` string — Caption describing the image
  - `caption_source` 'automatic' | 'manual' | 'unknown' — Source of the caption. 'unknown' value only appears for images that were uploaded using an old version of Tailored Generation.
  - `image_name` string — Name of the image
  - `image_url` string — URL of the original image file
  - `thumbnail_url` string — URL of the image thumbnail
  - `created_at` string, date-time — Timestamp when the image was created
  - `updated_at` string, date-time — Timestamp when the image was last updated

## Other responses

- `401` — Unauthorized
- `404` — Image or dataset not found
- `429` — Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
- `500` — Internal server error

---

[API](https://skmtc.net/bria-ai/apis/the-bria-api.md) · [All operations](https://skmtc.net/bria-ai/apis/the-bria-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/the-bria-api/versions/2768230345a5/schema)
