---
title: "Multi Shot Video Endpoint"
method: POST
path: "/api/videos/multi-shot"
---

# Multi Shot Video Endpoint

`POST /api/videos/multi-shot`

Generate multiple AI videos from a single prompt using the AI video generation pipeline.

Creates a temporary scene and generates multiple video shots based on the prompt.
Videos are created in the database and streamed to the frontend via Supabase Realtime
(onVideoInsert/onVideoUpdate events).

Args:
    project_id: Project ID to add the videos to
    prompt: Description of the video sequence to generate
    duration: Total duration in seconds (default: 10)
    aspect_ratio: Aspect ratio. Default: project's aspect ratio
    order_index: Position in timeline. Default: append at end
    
Returns:
    Success response with scene ID and video count

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
