---
title: "Generate preview images for a carousel template"
method: POST
path: "/api/v1/carousel/templates/generate-preview-images"
tags: ["Carousel"]
---

# Generate preview images for a carousel template

`POST /api/v1/carousel/templates/generate-preview-images`

## Request

- Base URL: `https://api.kolect.com`
- URL: `https://api.kolect.com/api/v1/carousel/templates/generate-preview-images`
- Auth: HTTP bearer

Generates AI preview images based on background image hints in the template

## Request body

- object
  - `carousel_template_id` string, uuid, required: UUID of the carousel template to generate preview images for

## Response `200`

Successfully generated preview images

- object
  - `success` boolean
  - `message` string
  - `template` object: The updated template with preview image URLs

## Other responses

- `400`: Invalid request parameters
- `404`: Template not found
- `500`: Server error during image generation or storage

---

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