---
title: "Generate a video"
method: POST
path: "/generate-video"
tags: ["Video Generation"]
---

# Generate a video

`POST /generate-video`

Create AI-generated videos for your posts.

## Request body

- VideoGenerationRequest
  - `type` 'image-text-slides' | 'veo3', required — Video generation type
  - `output` 'vertical' | 'horizontal', required — Video orientation
  - `customParams` object, required
    - `voice` string — ElevenLabs voice ID (for image-text-slides)
    - `prompt` string — Description/script for the video
    - `images` Media[] — Reference images (for veo3, max 3)
      - `id` string, required
      - `path` string, required

## Response `200`

Video generated successfully

- object[]
  - `id` string
  - `path` string — URL of the generated video

---

[API](https://skmtc.net/postiz/apis/postiz-public-api.md) · [All operations](https://skmtc.net/postiz/apis/postiz-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postiz/postiz-public-api/revisions/91e98b6af585/schema)
