---
title: "Generate preview"
method: POST
path: "/v3/media/{id}/preview"
tags: ["Media"]
---

# Generate preview

`POST /v3/media/{id}/preview`

## Request

- Base URL: `https://api.rhinoartisan.com`
- URL: `https://api.rhinoartisan.com/v3/media/{id}/preview`
- Auth: API key in header `apikey`
- TypeScript: <https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/docs/v3/media/:id/preview/post.ts> (a function with typed inputs; its response is checked against the schema)

Generates or regenerates a preview for the media file

## Path parameters

- `id` integer, required

## Response `200`

Preview generated successfully

## Other responses

- `401`: Unauthorized
- `403`: Access denied
- `404`: Media file not found

---

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