plan
Generate Project
Generate a project after plan confirmation.
This endpoint:
- Creates the project record in the database with status "generating"
- If voiceover is enabled, generates and streams the script
- 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
Request
- Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
- URL: https://api.latted.com/api/projects/generate
- Auth: one of:
- HTTP bearer
- HTTP bearer
Response
Successful Response
Changes
No recorded changes to this operation across all 20 revisions of this API.