---
title: "Serve thumbnail (max 768px)"
method: GET
path: "/v1/images/{id}/thumbnail"
tags: ["Images"]
---

# Serve thumbnail (max 768px)

`GET /v1/images/{id}/thumbnail`

## Request

- Base URL: `https://api.memestack.ai`
- URL: `https://api.memestack.ai/v1/images/{id}/thumbnail`
- Auth: none declared

With `w`, a lossy JPEG rendition of the thumbnail at most `w` px wide instead (never upscaled), or the stored thumbnail where none is stored for that width: a rendition no lighter than the thumbnail is never kept, and an AI-generated image is never re-encoded.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `w` 384 | 768

## Response `200`

Thumbnail bytes

## Other responses

- `400`: INVALID_WIDTH — `w` is not an allowed width
- `404`: Image not found

---

[API](https://skmtc.dev/memestack/apis/memestack-api.md) · [All operations](https://skmtc.dev/memestack/apis/memestack-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memestack/apis/memestack-api/revisions/9d3a19565f75?raw)
