---
title: "Get image"
method: GET
path: "/api/image/{image_id}"
tags: ["Media"]
---

# Get image

`GET /api/image/{image_id}`

Serves a hosted image by ID. Images are created when:
- The model generates an image via `create_image` tool
- A base64 image is uploaded through `/v1/chat/completions`

Images have a 7-day TTL and are cleaned up automatically. No auth required.

## Path parameters

- `image_id` string, required

## Response `200`

Image file

## Other responses

- `404` — Image not found

## Changes

> 9 revisions in range; 1 could not be searched.

- **2026-03-17** `2486dd6cc627` — 1 breaking, 3 info
  - for the `path` request parameter `image_id`, the type/format was changed from `string`/`` to `string`/`uuid`
  - api operation id `getImage` removed and replaced with `getGeneratedImage`
  - api tag `Images` added
  - api tag `Media` removed

[Change history](https://skmtc.dev/elixpo/apis/lixsearch-api/changes/api/image/:image_id/get.md)

---

[API](https://skmtc.dev/elixpo/apis/lixsearch-api.md) · [All operations](https://skmtc.dev/elixpo/apis/lixsearch-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elixpo/lixsearch-api/revisions/c3fcd0edadf8/schema)
