---
title: "Direct the slides, reserve credits, and fan out generation."
method: POST
path: "/api/v1/carousels"
tags: ["Carousels"]
---

# Direct the slides, reserve credits, and fan out generation.

`POST /api/v1/carousels`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/carousels`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- CreateCarouselBody: POST /api/v1/carousels: create a carousel from wizard picks.
  - `aspect_ratio` string
  - `avatar_id` integer, required
  - `draft_id` integer, nullable
  - `slide_count` integer, required
  - `template_key` string, required
  - `title` string, nullable
  - `topic` string, required

## Response `201`

Created

- CreateCarouselResponse
  - `carousel_id` integer, required

## Other responses

- `422`: Unprocessable Entity

---

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