Automations
POST
/automations/{id}/run

Produces one clip immediately, outside the schedule, and queues its generation. Asynchronous: the response is the new clip with process.status: QUEUED.

The blueprint must be fully set up, or the call is refused with warning-publish-not-configured naming the blockers. Generating a clip charges credits like any other generation.

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/automations/string/run"
{  "data": {    "id": "string",    "title": "string",    "type": "faceless",    "subType": "string",    "isAutomation": true,    "parentVideoId": "string",    "isClip": true,    "brief": {      "prompt": "string",      "text": "string",      "scriptPrompt": "string",      "description": "string",      "descriptionPrompt": "string",      "inputMode": "idea",      "videoDuration": "short",      "language": "string",      "aspectRatio": "9:16",      "imageStyle": "stock_footage",      "customStyleText": "string",      "voiceId": "string",      "voiceProvider": "openai",      "showSubtitles": true,      "presentationTone": "string",      "presentationAssets": [        {          "type": "image",          "url": "http://example.com",          "description": "string"        }      ],      "targetDuration": 0,      "characterImageUrl": "http://example.com",      "characterDescription": "string"    },    "mood": "energetic",    "presentationMood": "string",    "durationSeconds": 0,    "media": {      "sourceUrl": "http://example.com",      "audioUrl": "http://example.com",      "captionsUrl": "http://example.com",      "thumbnailUrl": "http://example.com",      "renderUrl": "http://example.com",      "bytes": 0    },    "process": {      "status": "QUEUED",      "progress": 0,      "statusText": "string",      "queuedAt": "2019-08-24T14:15:22Z",      "startedAt": "2019-08-24T14:15:22Z",      "error": {        "code": "string",        "message": "string",        "blocked": true,        "action": "upgrade"      }    },    "render": {      "status": "QUEUED",      "progress": 0,      "queuedAt": "2019-08-24T14:15:22Z",      "startedAt": "2019-08-24T14:15:22Z",      "error": {        "code": "string",        "message": "string",        "blocked": true,        "action": "upgrade"      }    },    "publish": {      "status": "SCHEDULED",      "scheduledAt": "2019-08-24T14:15:22Z",      "startedAt": "2019-08-24T14:15:22Z",      "publishedAt": "2019-08-24T14:15:22Z",      "failedAt": "2019-08-24T14:15:22Z",      "platforms": [        "string"      ],      "missingPlatforms": [        "string"      ],      "caption": "string",      "error": {        "code": "string",        "message": "string",        "blocked": true,        "action": "upgrade"      }    },    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}