---
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

---

[API](https://skmtc.net/elixpo/apis/lixsearch-api.md) · [All operations](https://skmtc.net/elixpo/apis/lixsearch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elixpo/lixsearch-api/versions/1b4365f47b75/schema)
