Generate Scene Video

Generate final video for a scene based on its approved storyboard (element sequence).

This endpoint:

  1. Validates that the scene has a valid element sequence with keyframes and videos
  2. Sets the scene status to 'generating'
  3. Runs video generation in the background using generate_scene_video_from_sequence
  4. Updates are propagated to clients via Supabase Realtime CDC

Args: background_tasks: FastAPI background tasks project_id: Project ID scene_id: Scene ID to generate video for current_user: Authenticated user

Returns: Success response indicating video generation has started

post/api/projects/{project_id}/scenes/{scene_id}/video/generate

Path parameters

project_idstring required
scene_idstring required

Response

Successful Response

{"stackTrail":"paths:/api/projects/{project_id}/scenes/{scene_id}/video/generate: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.