---
title: "Generate the marketplace preview image of a plugin setting"
method: PUT
path: "/api/plugin_settings/{id}/featured_image"
tags: ["Plugin Settings"]
---

# Generate the marketplace preview image of a plugin setting

`PUT /api/plugin_settings/{id}/featured_image`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/plugin_settings/{id}/featured_image`
- Auth: HTTP bearer

Queues a fresh render of the instance and attaches it as the image the recipe listing shows. Takes no body. One generation runs at a time per instance; a request while one runs is answered the same way and queues nothing.

## Path parameters

- `id` string, required

## Response `202`

Generation queued

- object
  - `data` object
    - `status` 'generating'

## Other responses

- `401`: Unauthorized
- `404`: Plugin setting belongs to another user

---

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