---
title: "Create a slideshow from images, videos or templates"
method: POST
path: "/v1/slideshows"
tags: ["Slideshows"]
---

# Create a slideshow from images, videos or templates

`POST /v1/slideshows`

## Request

- Base URL: `https://infoslides.app`
- URL: `https://infoslides.app/v1/slideshows`
- Auth: none declared

Creates a slideshow, optionally seeded with an ordered list of slides, each a `mediaUrl` (an image or video) or a `templateId`, with an optional `durationSeconds`: `{"title": "Lunch menu", "resolution": {"width": 1920, "height": 1080}, "slides": [{"mediaUrl": "https://example.com/menu.jpg", "durationSeconds": 10}]}`. Only `title` is required; add slides later with `POST /v1/slideshows/{id}/slides`. Returns the new slideshow (201); it plays once `renderStatus` is `Completed`.

## Headers

- `Idempotency-Key` string

## Request body

- V1CreateSlideshowRequest
  - `title` string, nullable
  - `resolution` V1Resolution
    - `width` integer
    - `height` integer
  - `slides` V1NewSlide[], nullable
    - `mediaUrl` string, nullable
    - `templateId` string, uuid, nullable
    - `durationSeconds` number, double, nullable

## Response `200`

OK

---

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