plan

Generate Project

Generate a project after plan confirmation.

This endpoint:

  1. Creates the project record in the database with status "generating"
  2. If voiceover is enabled, generates and streams the script
  3. Returns the project ID for subsequent processing

Args: session_id: Session ID for Socket.IO room project_id: Client-generated project ID plan: The confirmed plan text scope_data: JSON string with scope parameters (title, style, motionGraphicsStyle, aspectRatio, length, voiceover) prompt: The original user prompt augmented_assets: Optional JSON array of augmented asset data current_user: Authenticated user info db: Database session

Returns: GenerateResponse with the project ID

post/api/projects/generate

Response

Successful Response

successboolean required
project_idstring required
messagestring nullable
errorstring nullable

Changes

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