Multi Shot Video Endpoint

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

post/api/videos/multi-shot

Response

Successful Response

{"stackTrail":"paths:/api/videos/multi-shot:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.