Editor
POST
/videos/{id}/scenes/generate

Plans a whole scene list from the video's prompt: the shots, their prompts, the narration and the pacing. Charges credits. Replaces whatever scenes the video already has.

AI videos only; anything else is 409 wrong-video-type.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created under Settings > API & Webhooks. Keys start with sf_live_.

In: header

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Unique key per action (a UUID works well). Reusing it replays the first response instead of running the action again, so a retry after a timeout can never generate, render, publish or charge twice.

Lengthlength <= 255

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/videos/string/scenes/generate"
{  "data": [    {      "imagePrompt": "string",      "animationPrompt": "string",      "narration": "string",      "voiceDescription": "string",      "duration": 3,      "id": "string",      "status": "string",      "imageUrl": "http://example.com",      "videoUrl": "http://example.com"    }  ]}