# Faceless.so API reference

> Generated from src/backend/api/v1/spec/registry.mjs by npm run generate:agents. Do not edit by hand.

Base URL: `https://faceless.so/api/v1`

Authentication: `Authorization: Bearer fl_oat_...` (OAuth, see https://faceless.so/auth.md) or `Authorization: Bearer fl_live_...` / `X-API-Key` (API key, created at https://faceless.so/team).

Envelope: success responses are `{ "success": true, "data": ..., "pagination"?: { page, limit, total } }`. Errors are `{ "success": false, "error": { "type", "message" } }` with types: `invalid_input`, `unauthorized`, `forbidden_scope`, `not_found`, `conflict`, `insufficient_credits`, `payment_failed`, `usage_limit_reached`, `rate_limited`, `internal_error`, `challenge_required`, `signup_disabled`, `key_budget_exceeded`, `payment_required`, `purchase_limit_reached`.

## me

### Identify the caller

`GET /me`

Returns the team this API key belongs to, its credit balance, subscription plan and the scopes granted to the key. Call this first to verify authentication and discover the team context every other operation runs in.

- Scopes: any valid key
- Credits: none
- CLI: `faceless whoami`
- MCP tool: `faceless_get_me`

Example:

```bash
curl -s "https://faceless.so/api/v1/me" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "team": {
      "name": "My Channel",
      "credits": 340
    },
    "plan": "creator",
    "auth": {
      "via": "api_key",
      "scopes": [
        "videos:read",
        "videos:write"
      ]
    }
  }
}
```

## agent

### Open a workspace as an AI agent (no key needed)

`POST /agent/signup`

Creates a Faceless workspace for an AI agent with no human and no browser, and returns an API key (fl_live_..., shown once) plus a claimUrl and a short claimCode for the agent's human. No authentication. The workspace starts with 0 credits: price a video, then buy credits (POST /credits answers with the payment options: MPP, a Stripe payment token, or a checkout link for a human). The key can read everything, create videos, buy credit packs (credits:write: MPP or a Stripe payment token, at most $50 for the first API purchase and $50 a day while unclaimed), make checkout links for its human (billing:write: credit packs now, plans once the human claims the workspace) and make connect links so the human connects TikTok, YouTube or another account (accounts:write), and register webhooks to its own https URL instead of polling (webhooks:write). It never gets series:write (a 403 missing_scope says why and what the human does). It has a budget of 300 credits a day that the human can change. Claiming adds nothing the key needs: the human gets the dashboard, can untick purchases, change the budget, subscribe and make keys with more scopes. An unclaimed workspace that never buys credits expires 72 hours after signup. Abuse controls: at most 3 signups per network per 24 hours (429 rate_limited); a suspicious signup first gets 428 challenge_required with a one-line question, answered by sending the same POST again from the same network with challengeId and answer; a 503 signup_disabled means stop and ask your human, never try another URL. Never sign up again to get past a 401, a 402 or a budget: those are decisions, not obstacles.

- Scopes: none (no API key needed)
- Credits: none
- Rate limit: 10 per 60s
- CLI: `faceless signup`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `agentName` | string | no | A name for the agent, shown to the human on the claim page |
| `email` | string | no | Optional contact email for the human who will claim the workspace. Throwaway inbox services are refused |
| `client` | string | no | The agent framework or client, e.g. claude-code/2.1 |
| `scopes` | array | no | Extra scopes beyond the defaults. Only credits:write (buy credit packs with a payment credential) can be asked for |
| `challengeId` | string | no | The challenge.id from a 428 challenge_required response |
| `answer` | string | no | Your one-word answer to that challenge's question |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/agent/signup" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agentName":"Research assistant","email":"owner@example.com"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "apiKey": "fl_live_9fK2...",
    "keyPrefix": "fl_live_9fK2abcd",
    "teamId": "665f1b2a9c31a2b3c4d5e700",
    "scopes": [
      "credits:read",
      "videos:read",
      "videos:write",
      "series:read",
      "posts:read",
      "posts:write",
      "accounts:read",
      "assets:read",
      "assets:write",
      "analytics:read",
      "catalog:read",
      "ads:read",
      "ads:write",
      "webhooks:read",
      "credits:write",
      "billing:write",
      "accounts:write",
      "webhooks:write"
    ],
    "budget": {
      "limitCredits": 300,
      "period": "day"
    },
    "credits": 0,
    "claimed": false,
    "claimUrl": "https://faceless.so/claim/Hk3...",
    "claimCode": "K7QM-2XPD",
    "claimExpiresAt": "2026-12-30T12:00:00.000Z",
    "expiresAt": "2026-12-03T12:00:00.000Z",
    "nextSteps": [
      "Save apiKey now: it is shown once."
    ],
    "docsUrl": "https://faceless.so/developers/docs/agent-signup.md"
  }
}
```

### Claim and expiry status of this workspace

`GET /agent/account`

Tells an agent whether its workspace was opened by an agent (POST /agent/signup), whether a human has claimed it, whether it has paid, and when it expires if nobody claims it or buys credits (72 hours after signup). A workspace a person made returns agentCreated false.

- Scopes: any valid key
- Credits: none
- CLI: `faceless agent status`
- MCP tool: `faceless_get_agent_account`

Example:

```bash
curl -s "https://faceless.so/api/v1/agent/account" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "agentCreated": true,
    "status": "unclaimed",
    "claimed": false,
    "claimedAt": null,
    "paid": false,
    "expiresAt": "2026-12-03T12:00:00.000Z",
    "claimExpiresAt": "2026-12-30T12:00:00.000Z",
    "createdAt": "2026-11-30T12:00:00.000Z"
  }
}
```

### Mint a fresh claim link for your human

`POST /agent/claim-link`

Returns a new claimUrl and claimCode for an unclaimed agent workspace; the previous link and code stop working. At most 5 an hour. Give the link to your human; never open or complete it yourself. Claiming makes the human the workspace's admin, keeps this key working, and lets them set its budget and allow purchases.

- Scopes: any valid key
- Credits: none
- Rate limit: 5 per 3600s
- CLI: `faceless agent claim-link`
- MCP tool: `faceless_create_claim_link`

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/agent/claim-link" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "claimUrl": "https://faceless.so/claim/Hk3...",
    "claimCode": "K7QM-2XPD",
    "claimExpiresAt": "2026-12-30T12:00:00.000Z"
  }
}
```

## video-defaults

### Read the team's video defaults

`GET /video-defaults`

Returns the team's standing defaults for every new video made one at a time (POST /videos, POST /videos/audio, the Create page): the picture rule every picture follows (off, nature, no_people_animals_text, or custom with the team's own words), the caption style, size and weight, imageBlur, the blur for the team's own pictures placed with faceless_place_images when a call does not say, and perPlatformCaptions, whether AI writes a different caption for each platform by default (new series and the editor's Post tab start from it). The picture rule is applied by Faceless on every video, so a request does not need to repeat it.

- Scopes: `videos:read`
- Credits: none
- CLI: `faceless defaults`
- MCP tool: `faceless_get_video_defaults`

Example:

```bash
curl -s "https://faceless.so/api/v1/video-defaults" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "pictureRule": {
      "mode": "custom",
      "text": "1. Every scene matches the line being spoken.\n2. No faces.\n3. No text in images."
    },
    "captions": {
      "theme": "IMAN",
      "size": "extra_large",
      "weight": "bold"
    },
    "imageBlur": "none",
    "perPlatformCaptions": false
  }
}
```

### Set the team's video defaults

`PATCH /video-defaults`

Sets the team's defaults for every new video made one at a time, the same settings as Team settings > Video defaults. captions sets the caption style, size and weight (each part left out is unchanged; null resets captions to the product default); a video's own captions on create still win. pictureRule sets the rule every picture follows: mode off, nature, no_people_animals_text, or custom with text (the team's own words, up to 1,200 characters, stored as written). Every picture of every new video is checked against it, and a video with a picture that still breaks it waits for the team's review instead of posting. imageBlur (none, light or strong) blurs the team's own pictures placed with faceless_place_images or faceless_create_video_from_audio images when neither the picture nor the call sets blur. perPlatformCaptions false turns Different caption for each platform off by default: new series start with it off and the editor's Post tab of a video that does not choose keeps every platform on the video's one caption or the captions set with faceless_set_video_captions (true turns it back on). Free.

- Scopes: `videos:write`
- Credits: none
- CLI: `faceless defaults set`
- MCP tool: `faceless_update_video_defaults`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `captions` | object | no | The default caption look. null resets it |
| `pictureRule` | object | no | The picture rule every new video follows |
| `imageBlur` | `none` \| `light` \| `strong` | no | Default blur for the team's own placed pictures (faceless_place_images) when the call does not set blur. none (clear), light (softened: a stylistic blur; names, headings and most text can still be read) or strong (text, names and faces cannot be read; only colours and rough shapes remain). Use strong to hide names, faces or private details in a screenshot without editing it first |
| `perPlatformCaptions` | boolean | no | The team default for "Different caption for each platform": true (the product default), AI writes a different hook and caption for each platform; false, it is off for every new series and in the editor's Post tab of every video that does not choose, so each platform posts the video's one caption or the captions set with faceless_set_video_captions. Existing series keep their own setting (faceless_update_series perPlatformCaptions) |

Example:

```bash
curl -s -X PATCH "https://faceless.so/api/v1/video-defaults" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"captions":{"size":"extra_large","weight":"bold"}}'
```

Response:

```json
{
  "success": true,
  "data": {
    "pictureRule": {
      "mode": "off",
      "text": null
    },
    "captions": {
      "theme": null,
      "size": "extra_large",
      "weight": "bold"
    },
    "imageBlur": "none",
    "perPlatformCaptions": true
  }
}
```

## credits

### Credit balance and history

`GET /credits`

Returns the team's current credit balance and a paginated ledger of credit transactions (purchases, subscription grants, video spends, refunds). Video creation charges credits at creation time; rendering and publishing are free. Costs: storyboard 20 credits under 60 s, 30 for 60-89 s, 40 from 90 s, motion_lite 60, motion_pro 120 credits per video up to 120 s; a longer motion_lite or motion_pro video costs 2.5 credits a second for its whole length (303 for 121 s).

- Scopes: `credits:read`
- Credits: none
- CLI: `faceless credits`
- MCP tool: `faceless_get_credits`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page number, starting at 1 |
| `limit` | integer | no | Items per page (max 100) |

Example:

```bash
curl -s "https://faceless.so/api/v1/credits" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "balance": 340,
    "history": [
      {
        "credits": -50,
        "type": "spending",
        "description": "Faceless video (motion_lite)",
        "createdAt": "2026-07-30T10:00:00.000Z"
      }
    ]
  },
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}
```

### Buy a credit pack (MPP, a payment token, or a checkout link)

`POST /credits`

Buys a credit pack and adds the credits to the team immediately. Packs: pack_10 ($10, 100 credits), pack_25 ($25, 275), pack_50 ($50, 600); active subscribers get more credits per pack at their plan rate. Three ways to pay. (1) Machine Payments Protocol (MPP, https://mpp.dev): send { packId } with no paymentToken and the answer is 402 payment_required with a WWW-Authenticate: Payment challenge (method stripe, intent charge, a Shared Payment Token for the Faceless.so Stripe profile); pay it with any MPP client (e.g. npx @stripe/link-cli mpp pay; MPP's stripe method needs a Stripe Link wallet) and resend the same POST with Authorization: Payment <credential> and your API key in X-API-Key. The 201 carries a Payment-Receipt header. Over MCP the challenge is JSON-RPC error -32042 and the credential goes in params._meta["org.paymentauth/credential"]. (2) A Stripe Shared Payment Token (spt_...) that the customer approved in their Link agent wallet, as paymentToken, requested for profile_61UDMKC11wsLfeXaMA6UDMKCL0SQKAF3aHKCFz33IPL6 with a USD max_amount of at least the pack price. (3) No wallet: create a checkout link with POST /checkout-sessions (faceless_create_checkout_link, scope billing:write) and give it to the person to pay; the 402 names it too. Limits: a team's first API purchase is at most $50, and at most $100 a day (an unclaimed agent workspace $50) can be bought through the API (402 purchase_limit_reached). Tokens and credentials are single use: retrying with the same one never charges twice and still delivers the credits. A declined, expired or used token returns 402 payment_failed. Paying accepts the Faceless.so terms.

- Scopes: `credits:write`
- Credits: none (adds credits; charges the payment token the pack price in USD)
- Rate limit: 5 per 60s
- Supports `Idempotency-Key` header
- CLI: `faceless buy-credits`
- MCP tool: `faceless_buy_credits`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `packId` | `pack_10` \| `pack_25` \| `pack_50` | yes | Credit pack to buy: pack_10 ($10), pack_25 ($25) or pack_50 ($50) |
| `paymentToken` | string | no | Stripe Shared Payment Token granted to Faceless.so by the customer's agent wallet. Leave it out to get the MPP payment challenge (402) instead |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/credits" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"packId":"pack_10","paymentToken":"spt_1Rx2abc"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "packId": "pack_10",
    "amountUsd": 10,
    "creditsAdded": 100,
    "balance": 440,
    "paymentIntentId": "pi_3Rx2abc"
  }
}
```

## checkout-sessions

### Create a checkout link a person pays

`POST /checkout-sessions`

Creates a Stripe Checkout page for a credit pack or a subscription plan and returns its url, for an agent to hand to its human: they open it, pay with a card (3-D Secure and Stripe Radar apply) and the credits or the plan are added to the team as soon as Stripe confirms the payment, exactly as when they buy in the app. Nothing is charged by this call. Pass packId for credits: pack_10 ($10, 100 credits), pack_25 ($25, 275), pack_50 ($50, 600); active subscribers get more credits per pack at their plan's rate. Or pass plan (starter, growth, influencer, ultra or agency) and interval (monthly or annual); automated series need a plan. A team that already has a plan cannot buy a second one: changing plans happens at https://faceless.so/billing. Poll GET /checkout-sessions/{id} (every 10-30 seconds while the person pays) until status is complete or expired; links expire after 24 hours. Use POST /credits instead when you hold an agent payment token.

- Scopes: `billing:write`
- Credits: none (returns a Stripe Checkout link; the person pays the pack or plan price, and the credits or plan arrive when they do)
- Rate limit: 10 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless checkout create`
- MCP tool: `faceless_create_checkout_link`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `packId` | `pack_10` \| `pack_25` \| `pack_50` | no | Credit pack to sell: pack_10 ($10), pack_25 ($25) or pack_50 ($50). Give packId or plan |
| `plan` | string | no | Subscription plan to sell: starter, growth, influencer, ultra or agency (the plans on https://faceless.so/pricing). Give packId or plan |
| `interval` | `monthly` \| `annual` | no | Billing interval for a plan: monthly (default) or annual |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/checkout-sessions" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"packId":"pack_10"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "cs_live_a1B2c3",
    "kind": "credits",
    "status": "open",
    "paymentStatus": "unpaid",
    "url": "https://checkout.stripe.com/c/pay/cs_live_a1B2c3",
    "amountUsd": 10,
    "currency": "usd",
    "credits": 100,
    "plan": null,
    "interval": null,
    "creditsAdded": null,
    "expiresAt": "2026-12-01T12:00:00.000Z",
    "createdAt": "2026-11-30T12:00:00.000Z",
    "statusUrl": "/https/faceless.so/api/v1/checkout-sessions/cs_live_a1B2c3"
  }
}
```

### Check whether a checkout link was paid

`GET /checkout-sessions/{id}`

Returns a checkout session of this team: status open (not paid yet; url is the page to pay on), complete (paid: creditsAdded says what landed for a credit pack, and the plan is active once Stripe confirms the first invoice) or expired (not paid in time; create a new one). Works for sessions made with POST /checkout-sessions and for checkouts started in the app. Poll every 10-30 seconds while the person pays.

- Scopes: `billing:write`
- Credits: none
- Terminal states: `complete`, `expired`
- CLI: `faceless checkout get`
- MCP tool: `faceless_get_checkout_session`

Example:

```bash
curl -s "https://faceless.so/api/v1/checkout-sessions/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "cs_live_a1B2c3",
    "kind": "credits",
    "status": "complete",
    "paymentStatus": "paid",
    "url": null,
    "amountUsd": 10,
    "currency": "usd",
    "credits": 100,
    "plan": null,
    "interval": null,
    "creditsAdded": 100,
    "expiresAt": "2026-12-01T12:00:00.000Z",
    "createdAt": "2026-11-30T12:00:00.000Z",
    "statusUrl": "/https/faceless.so/api/v1/checkout-sessions/cs_live_a1B2c3"
  }
}
```

## estimates

### Price requests before making them

`POST /estimates`

Prices one or more planned requests without making them: the credits each would charge (by the same price functions the real request charges with), a breakdown, the team's current balance and whether they would all succeed now, with the blockers (insufficient_credits, plan_required, plan_limit_reached, invalid_input) and the same next steps the failing request would answer with (a checkout link, the pay-with-token call). Nothing is created or charged. operation is createVideo, createAudioVideo, createSeries or generateSeriesEpisode; input is that operation's own request body (for generateSeriesEpisode, { id } of the series; for createAudioVideo, add durationSeconds for a recording over 90 seconds). A series also reports its recurring cost per episode and per week. The same answer comes from passing dryRun: true to those operations.

- Scopes: any valid key (also works without a key, rate-limited per network)
- Credits: none
- Rate limit: 60 per 60s
- CLI: `faceless estimate`
- MCP tool: `faceless_estimate`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array | yes | The requests to price, up to 20; the total is what they would charge together |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/estimates" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items":[{"operation":"createVideo","input":{"script":"Did you know the ocean has lakes and rivers of its own? ...","voiceId":"EXAVITQu4vr4xnSDxMaL","model":"storyboard"}}]}'
```

Response:

```json
{
  "success": true,
  "data": {
    "items": [
      {
        "operation": "createVideo",
        "valid": true,
        "credits": 20,
        "breakdown": [
          {
            "item": "storyboard video",
            "credits": 20,
            "detail": "About 28 seconds of narration, read off the script at about 2.5 words a second"
          }
        ],
        "blockers": [],
        "notes": []
      }
    ],
    "totalCredits": 20,
    "balance": 340,
    "balanceAfter": 320,
    "shortfall": 0,
    "wouldSucceed": true,
    "blockers": [],
    "charged": false
  }
}
```

## videos

### Create a faceless video from a script

`POST /videos`

Creates an AI faceless video from a finished narration script: TTS voiceover, AI-generated visuals per scene, captions and optional background music. Generation is asynchronous; the response returns the video id immediately. Poll GET /videos/{id}/status until status is completed, then call POST /videos/{id}/render to produce the final MP4. The team's picture rule (GET /video-defaults) applies to every picture without being repeated here, and the captions follow the team's default look unless captions is set. Credits are charged now, at creation, the same as in the app. A Storyboard video's length is read off the script, at about 2.5 words a second (the voiceover does not exist yet), so its price is known before you send it; the response's creditsUsed is the exact charge.

- Scopes: `videos:write`
- Credits: 20 credits under 60 s, 30 for 60-89 s, 40 from 90 s (storyboard), 60 (motion_lite) or 120 (motion_pro) per video up to 120 s; a longer motion_lite or motion_pro video costs 2.5 credits a second for its whole length (303 for 121 s), charged at creation on the script's spoken length
- Rate limit: 10 per 60s
- Supports `Idempotency-Key` header
- CLI: `faceless videos create`
- MCP tool: `faceless_create_video`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `script` | string | yes | The full narration script the video is generated from |
| `voiceId` | string | yes | TTS voice id for the narration. Pass a voice's id from GET /voices unchanged: bare (EXAVITQu4vr4xnSDxMaL, the model picked by language) or model-prefixed (eleven_v3:EXAVITQu4vr4xnSDxMaL, the same voice on Eleven v3). An id that is not a Faceless voice is refused with voice_not_found before anything is charged |
| `model` | `storyboard` \| `motion_lite` \| `motion_pro` | no | Generation model: storyboard (20 credits under 60 s, 30 for 60-89 s, 40 from 90 s, static scenes), motion_lite (60, animated transitions), motion_pro (120, cinematic), those two prices up to 120 s; a longer motion_lite or motion_pro video costs 2.5 credits a second for its whole length (303 for 121 s) |
| `style` | string | no | Visual style for generated imagery. Full list: GET /options?kind=styles |
| `language` | string | no | Script language, e.g. English. Full list: GET /options?kind=languages |
| `name` | string | no | Project name; defaults to the start of the script |
| `enableBackgroundMusic` | boolean | no | Mix background music under the narration. Omit to use the team's default (Team settings > Video defaults), else music is on for storyboard and motion |
| `enableSoundEffects` | boolean | no | Automatic sound effects (whooshes, hits and an ambience bed). false makes a video with only the voice and any music. Omit to use the team's default (Team settings > Video defaults), else on |
| `masterStyle` | string | no | Extra style directive applied to every generated scene |
| `globalNegativePrompt` | string | no | Things the image model should avoid in every scene |
| `captions` | object | no | This video's caption style, size and weight. Each part left out follows the team's default (Team settings > Video defaults > Captions, or faceless_update_video_defaults), else the product default |
| `logo` | mixed | no | true puts the team's brand kit logo at both ends: over the first 1.2 seconds (the start) and the last 1.8 seconds (the end), on top of the video, so the voice, captions and cuts keep their timing. { start, end } switches each end on its own: { start: false, end: true } is the end only and keeps the opening clear, { start: true, end: false } the start only (a part left out is off). false is neither. Needs a logo in a brand kit (add one at faceless.so/brand-kits); without one the call fails before anything is charged. Omit for no logo. It can be changed later with POST /videos/{id}/render logo, or in the editor (Brand Kit > Logo at the start / Logo at the end) |
| `dryRun` | boolean | no | true: create nothing and charge nothing; answer 200 with what this request would cost, the balance and whether it would succeed (the same answer as POST /estimates) |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"script":"Did you know the ocean has lakes and rivers of its own? ...","voiceId":"EXAVITQu4vr4xnSDxMaL","model":"storyboard"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "name": "Did you kn...",
    "model": "storyboard",
    "status": "processing",
    "creditsUsed": 20,
    "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5e801/status"
  }
}
```

### Caption an existing video or audio file

`POST /videos/captions`

Creates a project from a video or audio URL you already have: transcribes it, adds styled captions and emojis, and makes it editable. Use this to caption existing footage, e.g. a video of you talking to the camera, rather than generate new AI visuals (for that, use POST /videos). Files up to 30 minutes long; it uses no credits. Processing is asynchronous; poll GET /videos/{id}/status.

- Scopes: `videos:write`
- Credits: none
- Rate limit: 10 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless videos captions`
- MCP tool: `faceless_create_caption_video`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `videoUrl` | string | no | Public URL of the video file to caption |
| `audioUrl` | string | no | Public URL of an audio file to turn into a captioned video |
| `name` | string | no | Project name |
| `language` | string | no | Spoken language of the file, e.g. English |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/captions" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"videoUrl":"https://example.com/clip.mp4","language":"English"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e802",
    "status": "processing",
    "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5e802/status"
  }
}
```

### Create a faceless video from your own voiceover recording

`POST /videos/audio`

Creates an AI faceless video over a voiceover you recorded yourself: AI-generated visuals for every line, captions, and no AI voice. Pass a public link to the audio file; a Google Drive share link (set to "Anyone with the link") or a Dropbox link works as it is. Any common phone format (m4a, mp3, wav, ogg, webm) up to 10 minutes; it is levelled to narration loudness. The same art direction as POST /videos applies: style, masterStyle and globalNegativePrompt (a people ban, e.g. "people, hands, animals", keeps every frame free of them and each picture is checked). Pass the words you say as script so the captions spell them your way (recitation and names included). Music and sound effects follow the team's Video defaults unless set here, and so do the captions (style, size and weight; pass captions to choose for this video). The team's picture rule (GET /video-defaults) applies to every picture without being repeated here. To show your own pictures (screenshots, photos) at chosen moments, pass images: each at a time or at words said, as an overlay card or full screen; the rest stays generated visuals (placing pictures costs nothing extra). Generation is asynchronous; poll GET /videos/{id}/status (it also reports which pictures were placed), then POST /videos/{id}/render, then schedule as usual. Credits are charged now, at creation: up to 90 seconds the same as POST /videos; a longer recording costs the model's price for every started minute (Storyboard: 2 minutes 40 credits, 3 minutes 60, 10 minutes 200).

- Scopes: `videos:write`
- Credits: 20 credits under 60 s, 30 for 60-89 s, 40 from 90 s (storyboard), 60 (motion_lite) or 120 (motion_pro) per video up to 90 seconds; a longer recording (up to 10 minutes) costs that price for every started minute. Charged at creation
- Rate limit: 10 per 60s
- Supports `Idempotency-Key` header
- CLI: `faceless videos from-audio`
- MCP tool: `faceless_create_video_from_audio`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `audioUrl` | string | yes | Public link to your recording: a Google Drive share link ("Anyone with the link"), a Dropbox link or a direct file URL. Up to 10 minutes (over 90 seconds is charged per started minute) |
| `model` | `storyboard` \| `motion_lite` \| `motion_pro` | no | Generation model: storyboard (20 credits under 60 s, 30 for 60-89 s, 40 from 90 s, static scenes), motion_lite (60, animated transitions), motion_pro (120, cinematic) |
| `style` | string | no | Visual style for generated imagery. Full list: GET /options?kind=styles |
| `masterStyle` | string | no | Extra style directive applied to every generated scene, e.g. "Nature landscapes only: mountains, rivers, sky at sunrise" |
| `globalNegativePrompt` | string | no | Things never to show in any scene, e.g. "people, faces, hands, animals, birds, insects, buildings, text" |
| `script` | string | no | The words you say in the recording. Captions take their spelling from it (the timing comes from your audio) and the visuals follow it. Omit to caption and picture what the transcriber hears |
| `language` | string | no | Spoken language of the recording, e.g. English (the default). For English speech with Quran recitation or Arabic supplications, pass ar (Classic Arabic): that transcriber hears both and keeps the English words English. Full list: GET /options?kind=languages |
| `name` | string | no | Project name |
| `enableBackgroundMusic` | boolean | no | Mix background music under your voice. Omit to use the team's default (Team settings > Video defaults), else off |
| `enableSoundEffects` | boolean | no | Sound effects on transitions. false keeps only your voice and any music. Omit to use the team's default (Team settings > Video defaults) |
| `images` | array | no | Your own pictures shown at chosen moments, e.g. a client-review screenshot while you read it. Words in at/until must be in script when you pass one. Up to 20 |
| `captions` | object | no | This video's caption style, size and weight. Each part left out follows the team's default (Team settings > Video defaults > Captions, or faceless_update_video_defaults), else the product default |
| `logo` | mixed | no | true puts the team's brand kit logo at both ends: over the first 1.2 seconds (the start) and the last 1.8 seconds (the end), on top of the video, so the voice, captions and cuts keep their timing. { start, end } switches each end on its own: { start: false, end: true } is the end only and keeps the opening clear, { start: true, end: false } the start only (a part left out is off). false is neither. Needs a logo in a brand kit (add one at faceless.so/brand-kits); without one the call fails before anything is charged. Omit for no logo. It can be changed later with POST /videos/{id}/render logo, or in the editor (Brand Kit > Logo at the start / Logo at the end) |
| `dryRun` | boolean | no | true: create nothing and charge nothing; answer 200 with what this request would cost, the balance and whether it would succeed (the same answer as POST /estimates) |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/audio" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"audioUrl":"https://drive.google.com/file/d/1AbCdEfGhIjKlMnOpQrStUvWxYz012345/view?usp=sharing","model":"storyboard","masterStyle":"Nature landscapes only: mountains, rivers, lakes, sky at sunrise","globalNegativePrompt":"people, faces, hands, animals, birds, insects, buildings, text","enableBackgroundMusic":false,"enableSoundEffects":false}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e803",
    "name": "Morning reminder",
    "model": "storyboard",
    "status": "processing",
    "creditsUsed": 20,
    "audioSeconds": 41.2,
    "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5e803/status"
  }
}
```

### List the team's videos

`GET /videos`

Returns a paginated list of the team's video projects, newest first, with generation status and the rendered MP4 URL when available.

- Scopes: `videos:read`
- Credits: none
- CLI: `faceless videos list`
- MCP tool: `faceless_list_videos`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page number, starting at 1 |
| `limit` | integer | no | Items per page (max 100) |
| `archived` | boolean | no | Only archived videos when true |

Example:

```bash
curl -s "https://faceless.so/api/v1/videos" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "665f1b2a9c31a2b3c4d5e801",
      "name": "Ocean facts",
      "platform": "tts",
      "model": "storyboard",
      "renderedVideoUrl": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5e801/1730000000000.mp4",
      "createdAt": "2026-07-30T10:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}
```

### Get one video

`GET /videos/{id}`

Returns a single video project: script, voice, model, generation state, per-platform post metadata, the rendered MP4 URL once rendered, and when it posts: scheduledTime (the next time it goes out, or null when nothing is scheduled), scheduledPlatforms (the platforms still to post) and schedule (its posting-calendar entry, as GET /calendar returns it, with a status of scheduled, needs_approval, on_hold, posted, failed, skipped or cancelled, and each platform's own status, time and post link). Covers videos scheduled with POST /posts/schedule and series episodes waiting for their slot.

- Scopes: `videos:read`
- Credits: none
- CLI: `faceless videos get`
- MCP tool: `faceless_get_video`

Example:

```bash
curl -s "https://faceless.so/api/v1/videos/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "name": "Ocean facts",
    "platform": "tts",
    "model": "storyboard",
    "script": "Did you know...",
    "voiceId": "EXAVITQu4vr4xnSDxMaL",
    "status": "completed",
    "scheduledTime": "2026-08-01T18:00:00.000Z",
    "scheduledPlatforms": [
      "youtube",
      "tiktok"
    ],
    "schedule": {
      "id": "project:665f1b2a9c31a2b3c4d5e801",
      "videoId": "665f1b2a9c31a2b3c4d5e801",
      "seriesId": null,
      "seriesName": null,
      "title": "The ocean has rivers underwater",
      "topic": null,
      "status": "scheduled",
      "stage": "scheduled",
      "scheduledTime": "2026-08-01T18:00:00.000Z",
      "day": "2026-08-01",
      "timezone": "UTC",
      "platforms": [
        "youtube",
        "tiktok"
      ],
      "platformPosts": [
        {
          "platform": "youtube",
          "status": "scheduled",
          "scheduledTime": "2026-08-01T18:00:00.000Z",
          "postedAt": null,
          "postUrl": null
        },
        {
          "platform": "tiktok",
          "status": "scheduled",
          "scheduledTime": "2026-08-01T18:00:00.000Z",
          "postedAt": null,
          "postUrl": null
        }
      ],
      "seriesPaused": false,
      "views": null,
      "error": null,
      "thumbnailUrl": "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/1/a1b2c3d4.jpg"
    },
    "renderedVideoUrl": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5e801/1722333444555.mp4",
    "thumbnailUrl": "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/1/a1b2c3d4.jpg",
    "thumbnails": {
      "status": "ready",
      "generation": 1,
      "aspect": "9:16",
      "selectedVariantId": "a1b2c3d4-0000-4000-8000-000000000001",
      "selectedBy": "ai",
      "variants": [
        {
          "id": "a1b2c3d4-0000-4000-8000-000000000001",
          "url": "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/1/a1b2c3d4.jpg",
          "hookText": "OCEAN RIVERS",
          "source": "ai",
          "score": 88,
          "grade": "S"
        }
      ]
    },
    "createdAt": "2026-07-30T10:00:00.000Z"
  }
}
```

### Update a video's name or post metadata

`PATCH /videos/{id}`

Updates a video's name and/or its per-platform post metadata (titles, captions, descriptions). Set the metadata for every platform you intend to schedule to BEFORE calling POST /posts/schedule; scheduling rejects platforms whose metadata is missing. A caption set here posts exactly as written, as with PATCH /videos/{id}/captions (faceless_set_video_captions), which is the simpler way to set every platform's caption at once, also on a series episode waiting for its slot.

- Scopes: `videos:write`
- Credits: none
- CLI: `faceless videos update`
- MCP tool: `faceless_update_video`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | Project name |
| `youtubePost` | object | no | YouTube post metadata; required before scheduling to YouTube |
| `tiktokPost` | object | no | TikTok post metadata; required before scheduling to TikTok |
| `instagramPost` | object | no | Instagram post metadata; required before scheduling to Instagram |
| `xPost` | object | no | X post metadata; required before scheduling to X |
| `facebookPost` | object | no | Facebook post metadata; required before scheduling to Facebook |
| `linkedinPost` | object | no | LinkedIn post metadata; required before scheduling to LinkedIn |
| `threadsPost` | object | no | Threads post metadata; required before scheduling to Threads |

Example:

```bash
curl -s -X PATCH "https://faceless.so/api/v1/videos/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"youtubePost":{"title":"The ocean has rivers underwater","privacyStatus":"public"},"tiktokPost":{"title":"underwater rivers are real #ocean"}}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "name": "Ocean facts",
    "youtubePost": {
      "title": "The ocean has rivers underwater"
    },
    "thumbnailUrl": "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/1/a1b2c3d4.jpg",
    "thumbnails": {
      "status": "ready",
      "selectedBy": "ai",
      "variants": [
        "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/a.jpg"
      ]
    }
  }
}
```

### Read what each platform posts for a video

`GET /videos/{id}/captions`

Returns, per platform, the caption this video posts with: text (YouTube: title and description) and writtenBy: "you" (set with faceless_set_video_captions or edited in the editor, posted exactly as written), "ai" (written by "Different caption for each platform") or "shared" (the video's one caption). perPlatformCaptions says whether AI writes a caption for each platform for this video (on), where that comes from (video, series or team) and the video's own choice (video, null when it follows its series or team). Works for one-off videos and series episodes.

- Scopes: `videos:read`
- Credits: none
- CLI: `faceless videos get-captions`
- MCP tool: `faceless_get_video_captions`

Example:

```bash
curl -s "https://faceless.so/api/v1/videos/<id>/captions" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "perPlatformCaptions": {
      "on": false,
      "from": "team",
      "video": null
    },
    "platforms": {
      "tiktok": {
        "text": "Feel like nothing comes together? #islam #sunnah",
        "writtenBy": "you"
      },
      "youtube": {
        "title": "When life feels scattered",
        "description": "What the Prophet said about a scattered life. #shorts",
        "writtenBy": "you"
      },
      "instagram": {
        "text": "Save this for the days your life feels scattered. #islam",
        "writtenBy": "you"
      }
    }
  }
}
```

### Set each platform's caption for a video, posted exactly as written

`PATCH /videos/{id}/captions`

Sets a video's caption for each platform (TikTok, YouTube title and description, Instagram, Facebook, X, Threads, LinkedIn), stored on the video and posted exactly as written: Faceless never rewrites them with AI, adds hashtags or applies a series' caption rules. Use it before POST /posts (which then posts the stored caption when you pass no title), before POST /posts/schedule, or on a video already scheduled: a series episode waiting for its slot, or a video scheduled earlier, posts the new captions at its time (find an episode's videoId with GET /series/{id}/episodes or GET /calendar once it is made). A platform that already posted this video is left alone and listed in alreadyPosted. Platform policy still applies: a product ad's TikTok caption loses off-platform shop links and prices (listed in adjusted), and Instagram's hashtag and mention limits are checked. perPlatformCaptions sets the video's own "Different caption for each platform" switch. Free.

- Scopes: `videos:write`
- Credits: none
- CLI: `faceless videos set-captions`
- MCP tool: `faceless_set_video_captions`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `captions` | object | no | Each platform's caption, exactly as it should post: the whole text with its hashtags, written to your own rules. Faceless never rewrites it: no AI, no hashtags added, no series caption rules. Only platform policy still applies: a product ad's TikTok caption loses off-platform shop links and prices (the answer says so), Instagram's 30-hashtag and 20-mention limits are checked, and a paid Earn sponsor block (#ad) the post carries stays at the top. Platforms left out keep what they have |
| `perPlatformCaptions` | boolean | no | This video's "Different caption for each platform" switch: true lets AI write a different hook and caption for each platform (in the editor's Post tab, and for a series episode when it is finished), false turns that off so every platform posts the video's one caption or the captions you set here. null clears the video's own choice, so it follows its series, else the team default (faceless_update_video_defaults perPlatformCaptions). Captions you set here are never replaced either way |

Example:

```bash
curl -s -X PATCH "https://faceless.so/api/v1/videos/<id>/captions" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"captions":{"tiktok":"Feel like nothing comes together? 🤍\n\nDM me PEACE on Instagram for my free guide.\n\n#islam #sunnah #hadith","youtube":{"title":"When life feels scattered","description":"What the Prophet said about a scattered life.\n\n#shorts #islam"},"instagram":"Save this for the days your life feels scattered 🤍\n\nDM me PEACE for my free guide.\n\n#islam #sunnah"},"perPlatformCaptions":false}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "stored": [
      "tiktok",
      "youtube",
      "instagram"
    ],
    "alreadyPosted": [],
    "adjusted": {},
    "scheduledPostsUpdated": 0,
    "perPlatformCaptions": {
      "on": false,
      "from": "video",
      "video": false
    },
    "platforms": {
      "tiktok": {
        "text": "Feel like nothing comes together? 🤍\n\nDM me PEACE on Instagram for my free guide.\n\n#islam #sunnah #hadith",
        "writtenBy": "you"
      },
      "youtube": {
        "title": "When life feels scattered",
        "description": "What the Prophet said about a scattered life.\n\n#shorts #islam",
        "writtenBy": "you"
      },
      "instagram": {
        "text": "Save this for the days your life feels scattered 🤍\n\nDM me PEACE for my free guide.\n\n#islam #sunnah",
        "writtenBy": "you"
      }
    }
  }
}
```

### Choose which thumbnail a video uses

`POST /videos/{id}/thumbnail`

Selects one of the video's thumbnail variants as the effective thumbnail. Read the available variants from GET /videos/{id} (the thumbnails object). The choice is marked as a user pick, so later automatic regenerations will not overwrite it, and it is what gets pushed to YouTube and used as the Instagram Reels cover at post time. Thumbnails are free and generated automatically after a video completes.

- Scopes: `videos:write`
- Credits: none
- CLI: `faceless videos select-thumbnail`
- MCP tool: `faceless_select_video_thumbnail`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `variantId` | string | yes | Variant id from the thumbnails.variants array on GET /videos/{id} |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/thumbnail" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"variantId":"a1b2c3d4-0000-4000-8000-000000000002"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "thumbnailUrl": "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/1/b2c3d4e5.jpg",
    "thumbnails": {
      "status": "ready",
      "selectedVariantId": "a1b2c3d4-0000-4000-8000-000000000002",
      "selectedBy": "user",
      "variants": [
        "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/a.jpg"
      ]
    }
  }
}
```

### Poll video generation progress

`GET /videos/{id}/status`

Returns generation progress for a video: overall status (pending, processing, completed, failed), percent complete, per-step events and any error messages. Poll every 10-30 seconds after POST /videos until status is completed, then render it with POST /videos/{id}/render. A failed generation refunds nothing automatically; check errorMessages.

- Scopes: `videos:read`
- Credits: none
- Terminal states: `completed`, `failed`
- CLI: `faceless videos status`
- MCP tool: `faceless_get_video_status`

Example:

```bash
curl -s "https://faceless.so/api/v1/videos/<id>/status" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "status": "processing",
    "percentCompleted": 62,
    "readyForEditing": false,
    "errorMessages": [
      "b-roll fetch timed out, retried"
    ],
    "renderedVideoUrl": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5e801/1730000000000.mp4"
  }
}
```

### Render a video to MP4

`POST /videos/{id}/render`

Starts a cloud render of a generated video and returns a renderId. Rendering is asynchronous: poll GET /renders/{renderId} until status is done to get the MP4 URL. The video must have finished generating first (getVideoStatus status completed). Rendering is free; credits were charged at creation.

- Scopes: `videos:write`
- Credits: none
- Rate limit: 10 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless videos render`
- MCP tool: `faceless_render_video`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `codec` | `h264` \| `vp8` | no | Output codec; h264 for MP4 (default) |
| `logo` | mixed | no | Change the logo intro and outro of this video before it renders. true puts the team's brand kit logo at both ends: over the first 1.2 seconds (the start) and the last 1.8 seconds (the end), on top of the video, so the voice, captions and cuts keep their timing. { start, end } switches each end on its own: { start: false, end: true } is the end only and keeps the opening clear, { start: true, end: false } the start only (a part left out is off). false is neither. Saved with the video. Omit to keep the video as it is |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/render" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"codec":"h264"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "renderId": "abcd1234efgh",
    "statusUrl": "/https/faceless.so/api/v1/renders/abcd1234efgh"
  }
}
```

### Place your own pictures in a video

`POST /videos/{id}/images`

Shows your own pictures (screenshots, photos) in a video that has finished generating: each at a time or at words said in it, as an overlay card over the scene (whole picture visible, clear of the captions) or full screen. Images are ids from faceless_upload_image / faceless_list_assets or public links. Captions stay on top. blur (light or strong, per picture or for the whole call) blurs a picture on screen, e.g. a screenshot with names or private details, with no editing beforehand; it can be changed later in the editor (Blur in the picture's settings). replace: true first removes pictures placed earlier (to move or change them). Free: no credits and no AI generation. Then POST /videos/{id}/render for the MP4 and schedule as usual. Pictures whose words are not found are skipped and listed with the reason.

- Scopes: `videos:write`
- Credits: none
- Rate limit: 20 per 60s
- CLI: `faceless videos place-images`
- MCP tool: `faceless_place_images`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `images` | array | yes | The pictures and when and how each shows. Up to 20 |
| `replace` | boolean | no | Remove the pictures placed earlier by this tool before placing these (default false: add to them) |
| `blur` | `none` \| `light` \| `strong` | no | Blur for every picture in this call that does not set its own. none (clear), light (softened: a stylistic blur; names, headings and most text can still be read) or strong (text, names and faces cannot be read; only colours and rough shapes remain). Use strong to hide names, faces or private details in a screenshot without editing it first. Left out: the team's default (faceless_update_video_defaults imageBlur), else none |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/images" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"images":[{"image":"665f1b2a9c31a2b3c4d5ef02","at":"Sarah wrote to us","until":"best decision I made","mode":"overlay","blur":"light"},{"image":"665f1b2a9c31a2b3c4d5ef03","at":21.5,"duration":3,"mode":"fullscreen"}]}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e803",
    "placed": [
      {
        "picture": 1,
        "image": "665f1b2a9c31a2b3c4d5ef02",
        "mode": "overlay",
        "fit": "contain",
        "blur": "light",
        "startSeconds": 8.42,
        "endSeconds": 14.1
      },
      {
        "picture": 2,
        "image": "665f1b2a9c31a2b3c4d5ef03",
        "mode": "fullscreen",
        "fit": "contain",
        "blur": "none",
        "startSeconds": 21.5,
        "endSeconds": 24.5
      }
    ],
    "skipped": [],
    "removed": 0,
    "ownImagesInVideo": 2,
    "renderNeeded": true,
    "message": "Placed. Call POST /videos/{id}/render (faceless_render_video) for an MP4 with the pictures in it."
  }
}
```

### List a video's shots

`GET /videos/{id}/shots`

Lists the pictures and clips the video pipeline made for a video that has finished generating (a narrated video or an Audio to Visuals video made from your own recording), in timeline order, numbered as the editor numbers them: each shot's number, itemId, start and end seconds, the line spoken over it, whether it can be redone with faceless_redo_shot and its redo price in credits, and the status of its latest redo (idle, processing, done or failed, with refunded when a failed redo gave its credits back). Each shot on the page asked for also has a preview, so you can look at the pictures before anyone watches the video: previewUrl is the picture itself, or for a clip one frame from the middle of the part the video plays (taken once and kept), and thumbUrl a copy at most 512 px on its long side. Over MCP the thumbnails also come back as images you can see, each captioned with its shot number, times and line. Previews come 24 shots a page (previews.nextPage; page picks one); previews: false leaves them out, for a quick poll of a redo's status (while a redo is processing they are left out unless previews: true is passed). Use it to check the pictures, find the shot to replace, and after faceless_redo_shot to see when the new one is in. Also returns the video's current cover (cover.url, the thumbnail it posts with, and who chose it); faceless_set_cover changes it. Free.

- Scopes: `videos:read`
- Credits: none
- CLI: `faceless videos shots`
- MCP tool: `faceless_list_shots`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `previews` | boolean | no | false leaves the shot previews out (a faster call, e.g. to poll a redo). Default true |
| `page` | integer | no | Which 24 shots get previews: page 1 is shots 1 to 24. Default 1 |

Example:

```bash
curl -s "https://faceless.so/api/v1/videos/<id>/shots" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "platform": "audio-to-visuals",
    "renderNeeded": false,
    "cover": {
      "url": "https://faceless-so.s3.amazonaws.com/thumbnails/665f1b2a9c31a2b3c4d5e801/0/user-frame-1764240000000.jpg",
      "selectedBy": "user",
      "source": "frame"
    },
    "shots": [
      {
        "shot": 1,
        "itemId": "hNNM",
        "type": "video",
        "startSeconds": 0,
        "endSeconds": 2.27,
        "line": "Worried about what's coming next?",
        "redo": {
          "supported": true,
          "kind": "image",
          "credits": 2,
          "stillFromClip": true
        },
        "redoStatus": {
          "status": "idle"
        },
        "previewUrl": "https://faceless-so.s3.amazonaws.com/qc/shots/665f1b2a9c31a2b3c4d5e801/6c1f0a9b2d3e4f5a6b7c-p.jpg",
        "thumbUrl": "https://faceless-so.s3.amazonaws.com/qc/shots/665f1b2a9c31a2b3c4d5e801/6c1f0a9b2d3e4f5a6b7c-t.jpg",
        "posterAtSeconds": 1.13
      },
      {
        "shot": 2,
        "itemId": "r4mz",
        "type": "image",
        "startSeconds": 2.27,
        "endSeconds": 5.3,
        "line": "Ask for this, and listen to the last line.",
        "redo": {
          "supported": true,
          "kind": "image",
          "credits": 2
        },
        "redoStatus": {
          "status": "done",
          "error": null,
          "credits": 2,
          "refunded": false,
          "redraw": false,
          "updatedAt": "2026-11-27T10:00:00.000Z"
        },
        "previewUrl": "https://faceless-so.s3.amazonaws.com/storyboard/665f1b2a9c31a2b3c4d5e801/r4mz.png",
        "thumbUrl": "https://faceless-so.s3.amazonaws.com/qc/shots/665f1b2a9c31a2b3c4d5e801/0d9e8f7a6b5c4d3e2f1a-t.jpg"
      }
    ],
    "previews": {
      "page": 1,
      "pages": 1,
      "perPage": 24,
      "shots": "1-2",
      "nextPage": null
    }
  }
}
```

### Redo one shot of a video

`POST /videos/{id}/shots`

Makes ONE picture or clip of a finished video again and swaps it in at the same place and timing, the editor's "Redo this shot": the same generator and the video's art direction, your team's picture rule (faceless_update_video_defaults pictureRule) and the video's never-show list, checked like the first take. Name the shot by shot (its number in faceless_list_shots), at (a time in seconds on the video) or itemId, and say what to change in note ("show a man from behind instead of a woman"; the note wins over the old picture's description). matchShot (a shot number) draws it to match the look of that shot; redraw: true redraws a Motion clip's opening picture first. Costs the editor's redo price, shown per shot by faceless_list_shots: 2 credits for a picture (a Storyboard still; a Storyboard animated clip comes back as a still) or a Stock Footage clip, a Motion clip its billed seconds (4 to 15) at its tier's per-second rate (+2 with redraw). A redo that fails gives its credits back. It takes a minute or two (a Motion clip up to ten): poll faceless_list_shots with previews: false until the shot's redoStatus is done, then POST /videos/{id}/render (faceless_render_video) for the new MP4.

- Scopes: `videos:write`
- Credits: the editor's redo price: 2 credits for a picture or a Stock Footage clip; a Motion clip its billed seconds (4 to 15) at its tier's per-second rate (+2 to redraw its opening picture). Refunded when the redo fails
- Rate limit: 20 per 300s
- CLI: `faceless videos redo-shot`
- MCP tool: `faceless_redo_shot`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `shot` | integer | no | The shot's number in faceless_list_shots (1 is the first) |
| `at` | number | no | A time on the video, in seconds: the shot on screen then |
| `itemId` | string | no | The shot's itemId from faceless_list_shots |
| `note` | string | no | What to change in the new picture, up to 300 characters. Left out: drawn again from the same description |
| `matchShot` | integer | no | Draw it to match the look of this shot (its number in faceless_list_shots), at the normal price |
| `redraw` | boolean | no | Motion clips only: redraw the clip's opening picture first (+2 credits) |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/shots" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"shot":1,"note":"A man seen from behind at a window at dusk, head bowed; no woman, no face."}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "shot": 1,
    "itemId": "hNNM",
    "status": "processing",
    "kind": "image",
    "credits": 2,
    "message": "Redoing. Poll GET /videos/{id}/shots?previews=false (faceless_list_shots with previews: false) until this shot's redoStatus is done (a failure refunds the credits), then POST /videos/{id}/render (faceless_render_video) for the new MP4."
  }
}
```

### Clean the recorded voice of an Audio to Visuals video again

`POST /videos/{id}/clean-audio`

Runs the own-voice cleanup again on a video made from your own recording (faceless_create_video_from_audio or the Audio to Visuals tool): the background noise, judged by how loud it sounds once the voice is levelled for playback and taken down where it can be heard, and the breaths, lip smacks, clicks and swallows between the words, lowered toward the room's own quiet. Nothing inside a word is touched, and every cut, caption and picture stays exactly where it is on the timeline. strength strong takes the noise and the mouth sounds down further, for a recording that still sounds noisy. The video's MP4 is then out of date: POST /videos/{id}/render (faceless_render_video) for the new one. Returns the noise measured before and after and what was lowered. Free.

- Scopes: `videos:write`
- Credits: none
- Rate limit: 10 per 300s
- CLI: `faceless videos clean-audio`
- MCP tool: `faceless_clean_audio`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `strength` | `normal` \| `strong` | no | normal (the cleanup new videos get) or strong (further, for noise you can still hear) |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/clean-audio" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"strength":"normal"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "changed": true,
    "audioUrl": "https://faceless-tts-generated-voices.s3.amazonaws.com/own-voice/6ad52776d72a17c4b3912002/0e6fcebb.clean.mp3",
    "seconds": 51.1,
    "strength": "normal",
    "noise": {
      "floorDb": -63.1,
      "speechDb": -20.9,
      "loudnessLufs": -20,
      "heardFloorDb": -57.1,
      "denoise": true,
      "nr": 12,
      "afterFloorDb": -68.4
    },
    "mouth": {
      "lowered": true,
      "breaths": 13,
      "clicks": 18,
      "swallows": 2
    },
    "renderNeeded": true,
    "message": "Cleaned. Every cut, caption and picture stays where it was. Call POST /videos/{id}/render (faceless_render_video) for the new MP4."
  }
}
```

### See frames of a video's render

`GET /videos/{id}/frames`

Frames from the video's current render (its MP4, captions and all, exactly as it plays; each frame is the first at or after its time), so you can check what it looks like before anyone watches it: one every `every` seconds (default 1) from `from` to `to` (seconds; default the whole video), each kept at its own URL (frames[].url, 540 x 960 for a 9:16 video) and laid out in labelled contact sheets of 12 (3 across, 4 down, left to right, top to bottom, the time burned in at each frame's top left; sheets[].url). Over MCP the contact sheets also come back as images you can see. One call returns up to 60 frames (5 sheets); a longer range answers next.from, where to ask again. Frames are kept per render, so asking for the same range again is instant. A video with no render, or one changed since its last render, answers 409: POST /videos/{id}/render (faceless_render_video) first. images: false leaves the pictures out of an MCP result (the URLs stay). Free.

- Scopes: `videos:read`
- Credits: none
- Rate limit: 30 per 300s
- CLI: `faceless videos frames`
- MCP tool: `faceless_get_video_frames`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `every` | number | no | Seconds between frames, 0.25 to 30. Default 1 |
| `from` | number | no | Start, in seconds on the video. Default 0 |
| `to` | number | no | End, in seconds on the video (included). Default the end of the video |
| `images` | boolean | no | false: no images in an MCP result, URLs only. Default true |

Example:

```bash
curl -s "https://faceless.so/api/v1/videos/<id>/frames" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "renderUrl": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5e801/1796049241212.mp4",
    "durationSeconds": 63.6,
    "every": 1,
    "from": 26,
    "to": 30,
    "frames": [
      {
        "t": 26,
        "url": "https://faceless-so.s3.amazonaws.com/qc/frames/665f1b2a9c31a2b3c4d5e801/2b1c9d8e7f6a5b4c3d2e/f-26000.jpg"
      },
      {
        "t": 27,
        "url": "https://faceless-so.s3.amazonaws.com/qc/frames/665f1b2a9c31a2b3c4d5e801/2b1c9d8e7f6a5b4c3d2e/f-27000.jpg"
      }
    ],
    "sheets": [
      {
        "url": "https://faceless-so.s3.amazonaws.com/qc/frames/665f1b2a9c31a2b3c4d5e801/2b1c9d8e7f6a5b4c3d2e/s-e1000-f26000-n5.jpg",
        "from": 26,
        "to": 30,
        "frames": 5
      }
    ],
    "next": null,
    "cached": false,
    "message": "Frames 26s to 30s of 63.6s."
  }
}
```

### Hear what a video sounds like, item by item

`GET /videos/{id}/sound-report`

Lists what you would hear in a video, so you can check its sound before anyone listens. voice: the narration or recorded voice as the edit plays it, with every breath or mouth noise, swallow, click or lip smack and long pause (minPauseSeconds, default 1), each with its exact start and end on the video (startSeconds, endSeconds; voiceFrom and voiceTo on the voice file), its loudest and mean level in dB, the level just before it (beforeDb: a sound after dead silence stands out), how far under the words it is and a severity (high within 20 dB of the words), plus the voice's noise floor and whether that noise is heard at playback loudness. mix: the rendered MP4's sound, with its loudness (LUFS) and true peak, sample peaks near full scale (peak), moments much louder than the rest (loud) and silences (silence). Only sounds you could hear are listed. Every item names the tool that fixes it in fix: faceless_clean_audio (input included) for mouth sounds between the words of a video made from your own recording, faceless_mute_voice_range with the exact range for one the cleanup cannot reach (a sound the transcript timed as part of a word), or null with how, when no tool does it. voice: previous reports on the voice file before the latest mute or clean instead (no mix), to compare. No mix without a current render. Free; the same video and render answer from a cache.

- Scopes: `videos:read`
- Credits: none
- Rate limit: 30 per 300s
- CLI: `faceless videos sound-report`
- MCP tool: `faceless_sound_report`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `voice` | `current` \| `previous` | no | current (the voice the edit plays, default) or previous (the file before the latest mute or clean) |
| `minPauseSeconds` | number | no | The shortest pause listed, in seconds. Default 1 |

Example:

```bash
curl -s "https://faceless.so/api/v1/videos/<id>/sound-report" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "renderNeeded": false,
    "voice": {
      "which": "current",
      "url": "https://faceless-tts-generated-voices.s3.amazonaws.com/own-voice/6ad52776d72a17c4b3912002/053b8578.clean.mp3",
      "seconds": 63.59,
      "speechDb": -22.9,
      "floorDb": -95.2,
      "loudnessLufs": -21.3,
      "heardFloorDb": -87.9,
      "noise": {
        "heard": false
      },
      "counts": {
        "breath": 1,
        "swallow": 0,
        "click": 0,
        "long_pause": 1
      },
      "items": [
        {
          "kind": "long_pause",
          "startSeconds": 26.72,
          "endSeconds": 27.9,
          "voiceFrom": 26.72,
          "voiceTo": 27.9,
          "seconds": 1.18,
          "fix": {
            "tool": null,
            "how": "No API tool shortens a pause yet: trim it in the editor."
          }
        },
        {
          "kind": "breath",
          "startSeconds": 27.74,
          "endSeconds": 28.19,
          "voiceFrom": 27.74,
          "voiceTo": 28.19,
          "peakDb": -38.6,
          "meanDb": -46.9,
          "beforeDb": -95.1,
          "belowSpeechDb": 15.7,
          "severity": "high",
          "found": "pause_scan",
          "fix": {
            "tool": "faceless_mute_voice_range",
            "input": {
              "ranges": [
                {
                  "from": 27.73,
                  "to": 28.2
                }
              ]
            }
          },
          "note": "a breath or mouth noise; faceless_clean_audio's rules do not reach it (it sits too close to a word as the transcript timed the words), so mute exactly this range"
        }
      ]
    },
    "mix": {
      "url": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5e801/1796049241212.mp4",
      "loudnessLufs": -14.1,
      "truePeakDb": -1.2,
      "items": [
        {
          "kind": "silence",
          "startSeconds": 26.8,
          "endSeconds": 27.9,
          "levelDb": -62.3,
          "fix": {
            "tool": null,
            "how": "Dead air in the video: trim it in the editor, or check that the voice and music cover it."
          }
        }
      ]
    },
    "cached": false,
    "message": "Voice: 1 breath(s) or mouth noise(s), 0 swallow(s), 0 click(s), 1 long pause(s); 1 stand out (severity high). Each item names its fix. Mix: 1 item(s), -14.1 LUFS, true peak -1.2 dBFS."
  }
}
```

### Mute stretches of a video's voice

`POST /videos/{id}/mute-voice`

Silences one or more stretches of the voice a video plays (ranges: from and to in seconds on the video, up to 20 ranges of at most 10 seconds each), the fix faceless_sound_report names for a breath, swallow or click the cleanup cannot reach: pass its fix.input as is. Each edge gets a 10 ms ramp so nothing clicks, and every other moment of the voice stays exactly where it was, so captions, pictures and cuts keep their timing. Only the voice is muted, not the music or sound effects. The new voice file is saved beside the old one (previousAudioUrl, kept) and the video points at it; wordsMuted lists any transcript words a range covered, so a range that took out speech by mistake shows. The video's MP4 is then out of date: render: true starts the new render too (poll faceless_get_render), else POST /videos/{id}/render (faceless_render_video). Free.

- Scopes: `videos:write`
- Credits: none
- Rate limit: 20 per 300s
- CLI: `faceless videos mute-voice`
- MCP tool: `faceless_mute_voice_range`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ranges` | array | yes | The stretches to silence, in seconds on the video (faceless_sound_report's fix.input.ranges) |
| `render` | boolean | no | true: start the new render right away. Default false |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/mute-voice" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ranges":[{"from":27.7,"to":28.2}]}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "audioUrl": "https://faceless-tts-generated-voices.s3.amazonaws.com/own-voice/6ad52776d72a17c4b3912002/c5da2742.clean.mp3",
    "previousAudioUrl": "https://faceless-tts-generated-voices.s3.amazonaws.com/own-voice/6ad52776d72a17c4b3912002/053b8578.clean.mp3",
    "muted": [
      {
        "from": 27.7,
        "to": 28.2,
        "voiceFrom": 27.7,
        "voiceTo": 28.2
      }
    ],
    "wordsMuted": [],
    "renderNeeded": true,
    "message": "Muted. Every cut, caption and picture stays where it was. Call POST /videos/{id}/render (faceless_render_video) for the new MP4."
  }
}
```

### Set a video's cover (thumbnail)

`POST /videos/{id}/cover`

Sets the cover a finished video posts with (its thumbnail: what YouTube, Instagram and Facebook show), from exactly one of: frameAt, a time in seconds on the video, for that frame of its current render at full resolution (free; a video with no render, or one changed since its last render, answers 409: POST /videos/{id}/render (faceless_render_video) first); imageUrl, a public https link to your own picture (JPG, PNG or WebP; Google Drive and Dropbox share links work), copied to Faceless and made a JPEG under 2 MB (free); or generate, a new picture Faceless draws for the cover, following the video's art direction, its never-show list and your team's picture rule (faceless_update_video_defaults pictureRule), checked against them like a redone shot, with generate.note saying what it should show (up to 300 characters) and generate.headline the words on it (left out: Faceless writes a short headline; "" for none; a picture rule that bans text gets none). generate costs 2 credits, the price of a picture redo, refunded when it fails, and answers when the picture is ready, usually within a minute. The new cover is marked as your pick, so automatic thumbnails never replace it; no new render is needed. The earlier covers stay in the video's thumbnail list (GET /videos/{id}) and faceless_select_video_thumbnail picks one again. faceless_list_shots shows the current cover. A posting approval covers the cover: a change made by the person who approved the video, or by a team owner or admin, keeps the approval; anyone else's change needs a new one (approvalNeeded: true).

- Scopes: `videos:write`
- Credits: none for frameAt or imageUrl; generate costs 2 credits (the price of a picture redo), refunded when it fails
- Rate limit: 20 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless videos set-cover`
- MCP tool: `faceless_set_cover`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `frameAt` | number | no | A time on the video in seconds: that frame of its current render becomes the cover. Free |
| `imageUrl` | string | no | A public https link to your own picture (JPG, PNG or WebP, up to 15 MB): it becomes the cover. Free |
| `generate` | object | no | A new cover picture drawn by Faceless with your picture rule. 2 credits, refunded when it fails |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/videos/<id>/cover" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"frameAt":3.5}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e801",
    "thumbnailUrl": "https://faceless-so.s3.amazonaws.com/thumbnails/665f1b2a9c31a2b3c4d5e801/0/user-frame-1764240000000.jpg",
    "source": "frame",
    "credits": 0,
    "message": "Done: the cover is now that frame of the video. It is marked as your pick, so automatic thumbnails never replace it, and YouTube, Instagram and Facebook get it when the video posts. No new render is needed."
  }
}
```

### Delete a video

`DELETE /videos/{id}`

Permanently deletes a video project and its generated assets. This cannot be undone and does not refund credits.

- Scopes: `videos:write`
- Credits: none
- CLI: `faceless videos delete`
- MCP tool: `faceless_delete_video`

Example:

```bash
curl -s -X DELETE "https://faceless.so/api/v1/videos/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "deleted": true
  }
}
```

## renders

### Poll render progress

`GET /renders/{id}`

Returns the progress of a render started by POST /videos/{id}/render: status in-progress (with overallProgress 0-1), done (with the final MP4 url) or error. Poll every 5-15 seconds; renders typically take under two minutes.

- Scopes: `videos:read`
- Credits: none
- Terminal states: `done`, `error`
- CLI: `faceless renders get`
- MCP tool: `faceless_get_render`

Example:

```bash
curl -s "https://faceless.so/api/v1/renders/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "renderId": "abcd1234efgh",
    "status": "done",
    "overallProgress": 1,
    "url": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5e801/1722333444555.mp4"
  }
}
```

## series

### Create an automated video series

`POST /series`

Creates a series that automatically generates and posts a new faceless video on a schedule (a set-and-forget channel). Choose a content source and niche or custom prompt, a voice, style and posting cadence; each generated episode charges credits like a single video. The first episode starts generating right after creation. Use GET /series/{id}/episodes to track output, POST /series/{id}/generate to force the next episode now.

- Scopes: `series:write`
- Credits: none at creation; each generated episode charges its model's video cost: 20 to 120 credits on the API's models for an episode of up to 120 s (storyboard by length, motion_lite, motion_pro), or per second on a Motion tier made in the app: Motion 2.5 credits a second (150 for a one-minute episode), Motion Plus 3 and Motion Max 12 a second
- Rate limit: 5 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless series create`
- MCP tool: `faceless_create_series`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | Series name shown in the dashboard |
| `source` | string | yes | Content source that scripts every episode, e.g. "Facts & stories", "Reddit post", "Custom prompt". Full list: GET /options?kind=sources |
| `niche` | string | no | Content niche, e.g. scary stories, motivation. Full list: GET /options?kind=niches |
| `customPrompt` | string | no | Custom topic prompt used instead of (or alongside) a niche |
| `voice` | string | no | TTS voice id for narration. Pass a voice's id from GET /voices unchanged, bare or model-prefixed (EXAVITQu4vr4xnSDxMaL or eleven_v3:EXAVITQu4vr4xnSDxMaL). Not used where the video model voices the characters so the lips match: Character Vlog, Time-Traveller POV and Body Reacts (unless set to the narrator in the app), Fruit Drama, Micro Drama, Street Interview and Talent Show |
| `style` | string | no | Visual style for generated imagery. Full list: GET /options?kind=styles |
| `language` | string | no | Video language, e.g. English. Omitted on create, it is the voice's own language when the voice is made for one language (a Spanish voice gives Spanish), else English. Full list: GET /options?kind=languages |
| `duration` | `30` \| `60` \| `90` | no | Target episode length in seconds (30, 60 or 90) |
| `destination` | string | no | Primary auto-post destination platform, e.g. youtube or tiktok |
| `destinationAccounts` | mixed | no | Which connected account each platform posts through, by platform, e.g. {"youtube":["<authId>"],"tiktok":["<authId>"]} with authIds from GET /accounts. Every id must be an account of this team on that platform, or the request is rejected. A platform with no entry posts through the team's default account. On update only the platforms you send change; null clears every pin |
| `generateThumbnails` | boolean | no | Generate 3 AI thumbnail variants for every episode and auto-select the best. Free. Defaults to true. |
| `thumbnailSettings` | object | no | Thumbnail generation options. Ignored when generateThumbnails is false. |
| `autoPostTime` | string | no | Daily auto-post time "HH:mm" in the series timezone |
| `postingDays` | array | no | Days of the week to post as numbers, 0 is Sunday and 6 is Saturday, e.g. [1,3] for Monday and Wednesday. Omit for every day |
| `timezone` | string | no | IANA timezone for scheduling, e.g. America/New_York |
| `platformPostTimes` | object | no | Post one platform at a different time of day, in the series timezone and on the same posting days, e.g. {"youtube":"09:05"}. Useful because YouTube's shared daily upload limit resets at midnight US Pacific. null clears it |
| `captionStyle` | string | no | Caption theme name. Full list: GET /options?kind=captionThemes |
| `captionPosition` | `middle` \| `lower` | no | Where the captions sit on every new episode of a "Facts & stories" series: "middle" or "lower" (the lower third). null or unset keeps the caption theme's own position |
| `subreddit` | string | no | Subreddit to pull posts from when source is "Reddit post" |
| `backgroundVideo` | string | no | Background gameplay/footage id. Full list: GET /options?kind=backgrounds |
| `useRandomBackgroundVideo` | boolean | no | Pick a random background video per episode |
| `layout` | string | no | Video layout variant |
| `brollModel` | string | no | Generation model for visuals: storyboard, motion_lite or motion_pro |
| `showEmojis` | boolean | no | Overlay emojis on captions |
| `enableBackgroundMusic` | boolean | no | Mix background music under the narration |
| `enableVoiceover` | boolean | no | Story Slides and News Slides only: an AI voice reads each slide, using `voice` (a default voice when omitted). Defaults to false (music only) |
| `slidesLength` | `short` \| `medium` \| `long` | no | Story Slides and News Slides only: episode length. "short" (about 20s, 5-6 slides, the default), "medium" (about 40s, about 12 slides) or "long" (about 60s, about 18 slides). Each slide stays on screen just as long, so longer means more slides. Priced per slide: medium costs 2x and long 3x the short price |
| `backgroundMusicMood` | string | no | Background music mood. Full list: GET /options?kind=music |
| `hashtags` | string | no | Hashtags appended to post captions |
| `tone` | string | no | Writing tone for generated scripts |
| `scriptureTranslation` | `kjv` \| `web` \| `drb` | no | Bible translation scripture is quoted from word for word: kjv, web or drb. null follows the brief, else kjv |
| `youtubePrivacyStatus` | `public` \| `unlisted` \| `private` | no | Privacy for auto-posted YouTube videos |
| `youtubeMadeForKids` | boolean | no | Declare auto-posted YouTube videos as made for kids (COPPA). Omitted: on for kids formats (Nursery Rhymes, bedtime-stories, good-morals, kids language lessons), not sent otherwise |
| `tiktokPrivacyLevel` | `PUBLIC_TO_EVERYONE` \| `MUTUAL_FOLLOW_FRIENDS` \| `SELF_ONLY` | no | Who can see auto-posted TikTok posts: PUBLIC_TO_EVERYONE (the default), MUTUAL_FOLLOW_FRIENDS or SELF_ONLY. A private TikTok account posts to its followers when PUBLIC_TO_EVERYONE is asked |
| `tiktokAllowComments` | boolean | no | Allow comments on auto-posted TikTok posts; defaults to true. An account that has comments disabled in TikTok posts with them off |
| `tiktokAllowDuet` | boolean | no | Allow other accounts to Duet auto-posted TikTok posts; defaults to true. An account that has Duet disabled in TikTok posts with it off |
| `tiktokAllowStitch` | boolean | no | Allow other accounts to Stitch auto-posted TikTok posts; defaults to true. An account that has Stitch disabled in TikTok posts with it off |
| `perPlatformCaptions` | boolean | no | "Different caption for each platform" for every new episode: true, AI writes a different hook and caption for each platform the episode posts to (TikTok, YouTube title and description, Instagram, Facebook, X, Threads, LinkedIn); false, every platform posts the episode's one caption. Omitted on create: the team default (faceless_update_video_defaults perPlatformCaptions). Either way, captions set on an episode with faceless_set_video_captions before it posts are posted exactly as written |
| `logo` | mixed | no | The logo intro and outro on every new episode. true puts the team's brand kit logo at both ends: over the first 1.2 seconds (the start) and the last 1.8 seconds (the end), on top of the video, so the voice, captions and cuts keep their timing. { start, end } switches each end on its own: { start: false, end: true } is the end only and keeps the opening clear, { start: true, end: false } the start only (a part left out is off). false is neither. The logo is the series' brand kit's, else the team's brand kit logo; without a logo anywhere the request is refused |
| `episodeTitleMode` | `unique` \| `series_numbered` | no | How episodes are titled when they post. "unique" (the default): every episode posts its own title. "series_numbered": every episode posts as "<seriesDisplayTitle> - Episode N" on YouTube, and every other platform's caption opens with that line above the episode's usual caption. N is the episode's place in a serial (Micro Drama) or the next number of the series, and never changes once an episode is made |
| `seriesDisplayTitle` | string | no | The series title numbered episodes carry. Empty uses a serial's own story title, then the series name |
| `episodeTitleSeparator` | `hyphen` \| `em_dash` \| `pipe` \| `colon` | no | What joins the series title and the episode number: hyphen ("Title - Episode 1", the default), em_dash, pipe ("Title | Episode 1") or colon ("Title: Episode 1") |
| `dryRun` | boolean | no | true: create nothing and charge nothing; answer 200 with what this request would cost, the balance and whether it would succeed (the same answer as POST /estimates) |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/series" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Deep sea facts","source":"Facts & stories","niche":"Ocean facts","voice":"EXAVITQu4vr4xnSDxMaL","duration":"60","autoPostTime":"18:00","timezone":"America/New_York"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e901",
    "name": "Deep sea facts",
    "source": "Facts & stories",
    "niche": "Ocean facts",
    "createdAt": "2026-07-30T10:00:00.000Z"
  }
}
```

### List the team's series

`GET /series`

Returns all automated series for the team with their source, niche, cadence and pause state.

- Scopes: `series:read`
- Credits: none
- CLI: `faceless series list`
- MCP tool: `faceless_list_series`

Example:

```bash
curl -s "https://faceless.so/api/v1/series" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "665f1b2a9c31a2b3c4d5e901",
      "name": "Deep sea facts",
      "source": "Facts & stories",
      "niche": "Ocean facts",
      "paused": false
    }
  ]
}
```

### Get one series

`GET /series/{id}`

Returns a single series with its full configuration: source, niche, voice, style, schedule, destinations and pause state.

- Scopes: `series:read`
- Credits: none
- CLI: `faceless series get`
- MCP tool: `faceless_get_series`

Example:

```bash
curl -s "https://faceless.so/api/v1/series/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e901",
    "name": "Deep sea facts",
    "source": "Facts & stories",
    "niche": "Ocean facts",
    "voice": "EXAVITQu4vr4xnSDxMaL",
    "destination": [
      "youtube"
    ],
    "destinationAccounts": {
      "youtube": [
        "665f1b2a9c31a2b3c4d5ee01"
      ]
    },
    "autoPostTime": "18:00",
    "paused": false
  }
}
```

### Update a series

`PATCH /series/{id}`

Updates any subset of a series' configuration (niche, voice, schedule, destinations, pause state and so on). Only the fields you send change; in destinationAccounts only the platforms you send change.

- Scopes: `series:write`
- Credits: none
- CLI: `faceless series update`
- MCP tool: `faceless_update_series`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | Series name shown in the dashboard |
| `source` | string | no | Content source that scripts every episode, e.g. "Facts & stories", "Reddit post", "Custom prompt". Full list: GET /options?kind=sources |
| `niche` | string | no | Content niche, e.g. scary stories, motivation. Full list: GET /options?kind=niches |
| `customPrompt` | string | no | Custom topic prompt used instead of (or alongside) a niche |
| `voice` | string | no | TTS voice id for narration. Pass a voice's id from GET /voices unchanged, bare or model-prefixed (EXAVITQu4vr4xnSDxMaL or eleven_v3:EXAVITQu4vr4xnSDxMaL). Not used where the video model voices the characters so the lips match: Character Vlog, Time-Traveller POV and Body Reacts (unless set to the narrator in the app), Fruit Drama, Micro Drama, Street Interview and Talent Show |
| `style` | string | no | Visual style for generated imagery. Full list: GET /options?kind=styles |
| `language` | string | no | Video language, e.g. English. Omitted on create, it is the voice's own language when the voice is made for one language (a Spanish voice gives Spanish), else English. Full list: GET /options?kind=languages |
| `duration` | `30` \| `60` \| `90` | no | Target episode length in seconds (30, 60 or 90) |
| `destination` | string | no | Primary auto-post destination platform, e.g. youtube or tiktok |
| `destinationAccounts` | mixed | no | Which connected account each platform posts through, by platform, e.g. {"youtube":["<authId>"],"tiktok":["<authId>"]} with authIds from GET /accounts. Every id must be an account of this team on that platform, or the request is rejected. A platform with no entry posts through the team's default account. On update only the platforms you send change; null clears every pin |
| `generateThumbnails` | boolean | no | Generate 3 AI thumbnail variants for every episode and auto-select the best. Free. Defaults to true. |
| `thumbnailSettings` | object | no | Thumbnail generation options. Ignored when generateThumbnails is false. |
| `autoPostTime` | string | no | Daily auto-post time "HH:mm" in the series timezone |
| `postingDays` | array | no | Days of the week to post as numbers, 0 is Sunday and 6 is Saturday, e.g. [1,3] for Monday and Wednesday. Omit for every day |
| `timezone` | string | no | IANA timezone for scheduling, e.g. America/New_York |
| `platformPostTimes` | object | no | Post one platform at a different time of day, in the series timezone and on the same posting days, e.g. {"youtube":"09:05"}. Useful because YouTube's shared daily upload limit resets at midnight US Pacific. null clears it |
| `captionStyle` | string | no | Caption theme name. Full list: GET /options?kind=captionThemes |
| `captionPosition` | `middle` \| `lower` | no | Where the captions sit on every new episode of a "Facts & stories" series: "middle" or "lower" (the lower third). null or unset keeps the caption theme's own position |
| `subreddit` | string | no | Subreddit to pull posts from when source is "Reddit post" |
| `backgroundVideo` | string | no | Background gameplay/footage id. Full list: GET /options?kind=backgrounds |
| `useRandomBackgroundVideo` | boolean | no | Pick a random background video per episode |
| `layout` | string | no | Video layout variant |
| `brollModel` | string | no | Generation model for visuals: storyboard, motion_lite or motion_pro |
| `showEmojis` | boolean | no | Overlay emojis on captions |
| `enableBackgroundMusic` | boolean | no | Mix background music under the narration |
| `enableVoiceover` | boolean | no | Story Slides and News Slides only: an AI voice reads each slide, using `voice` (a default voice when omitted). Defaults to false (music only) |
| `slidesLength` | `short` \| `medium` \| `long` | no | Story Slides and News Slides only: episode length. "short" (about 20s, 5-6 slides, the default), "medium" (about 40s, about 12 slides) or "long" (about 60s, about 18 slides). Each slide stays on screen just as long, so longer means more slides. Priced per slide: medium costs 2x and long 3x the short price |
| `backgroundMusicMood` | string | no | Background music mood. Full list: GET /options?kind=music |
| `hashtags` | string | no | Hashtags appended to post captions |
| `tone` | string | no | Writing tone for generated scripts |
| `scriptureTranslation` | `kjv` \| `web` \| `drb` | no | Bible translation scripture is quoted from word for word: kjv, web or drb. null follows the brief, else kjv |
| `youtubePrivacyStatus` | `public` \| `unlisted` \| `private` | no | Privacy for auto-posted YouTube videos |
| `youtubeMadeForKids` | boolean | no | Declare auto-posted YouTube videos as made for kids (COPPA). Omitted: on for kids formats (Nursery Rhymes, bedtime-stories, good-morals, kids language lessons), not sent otherwise |
| `tiktokPrivacyLevel` | `PUBLIC_TO_EVERYONE` \| `MUTUAL_FOLLOW_FRIENDS` \| `SELF_ONLY` | no | Who can see auto-posted TikTok posts: PUBLIC_TO_EVERYONE (the default), MUTUAL_FOLLOW_FRIENDS or SELF_ONLY. A private TikTok account posts to its followers when PUBLIC_TO_EVERYONE is asked |
| `tiktokAllowComments` | boolean | no | Allow comments on auto-posted TikTok posts; defaults to true. An account that has comments disabled in TikTok posts with them off |
| `tiktokAllowDuet` | boolean | no | Allow other accounts to Duet auto-posted TikTok posts; defaults to true. An account that has Duet disabled in TikTok posts with it off |
| `tiktokAllowStitch` | boolean | no | Allow other accounts to Stitch auto-posted TikTok posts; defaults to true. An account that has Stitch disabled in TikTok posts with it off |
| `perPlatformCaptions` | boolean | no | "Different caption for each platform" for every new episode: true, AI writes a different hook and caption for each platform the episode posts to (TikTok, YouTube title and description, Instagram, Facebook, X, Threads, LinkedIn); false, every platform posts the episode's one caption. Omitted on create: the team default (faceless_update_video_defaults perPlatformCaptions). Either way, captions set on an episode with faceless_set_video_captions before it posts are posted exactly as written |
| `logo` | mixed | no | The logo intro and outro on every new episode. true puts the team's brand kit logo at both ends: over the first 1.2 seconds (the start) and the last 1.8 seconds (the end), on top of the video, so the voice, captions and cuts keep their timing. { start, end } switches each end on its own: { start: false, end: true } is the end only and keeps the opening clear, { start: true, end: false } the start only (a part left out is off). false is neither. The logo is the series' brand kit's, else the team's brand kit logo; without a logo anywhere the request is refused |
| `episodeTitleMode` | `unique` \| `series_numbered` | no | How episodes are titled when they post. "unique" (the default): every episode posts its own title. "series_numbered": every episode posts as "<seriesDisplayTitle> - Episode N" on YouTube, and every other platform's caption opens with that line above the episode's usual caption. N is the episode's place in a serial (Micro Drama) or the next number of the series, and never changes once an episode is made |
| `seriesDisplayTitle` | string | no | The series title numbered episodes carry. Empty uses a serial's own story title, then the series name |
| `episodeTitleSeparator` | `hyphen` \| `em_dash` \| `pipe` \| `colon` | no | What joins the series title and the episode number: hyphen ("Title - Episode 1", the default), em_dash, pipe ("Title | Episode 1") or colon ("Title: Episode 1") |
| `paused` | boolean | no | Pause or resume automatic episode generation |
| `seasonEndsOn` | string | no | Season end: the last day (YYYY-MM-DD, in the series timezone) a new episode is scheduled for. No episode is made or charged for a later slot, episodes already made still post, and after the last one posts the series pauses itself with seasonFinished true. null removes the season end |
| `seasonFinale` | boolean | no | Whether the last episode before the season end is written as a season finale that resolves the story (default true). false keeps its usual ending (a serial keeps its cliffhanger, for a story that continues elsewhere); scheduling still stops after seasonEndsOn. Needs a season end (sent with seasonEndsOn or already set) |

Example:

```bash
curl -s -X PATCH "https://faceless.so/api/v1/series/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"autoPostTime":"09:00","paused":false,"destinationAccounts":{"youtube":["665f1b2a9c31a2b3c4d5ee01"]}}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5e901",
    "name": "Deep sea facts",
    "autoPostTime": "09:00",
    "paused": false
  }
}
```

### Delete a series

`DELETE /series/{id}`

Deletes a series and stops all future automatic generation. Already-generated videos are kept.

- Scopes: `series:write`
- Credits: none
- CLI: `faceless series delete`
- MCP tool: `faceless_delete_series`

Example:

```bash
curl -s -X DELETE "https://faceless.so/api/v1/series/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "deleted": true
  }
}
```

### Generate the next episode now

`POST /series/{id}/generate`

Immediately generates the next episode of a series instead of waiting for its schedule. Charges the series' per-episode credit cost. The episode appears in GET /series/{id}/episodes; poll the created video's status like any other video.

- Scopes: `series:write`
- Credits: the series' per-episode video cost: 20 to 120 credits on the API's models for an episode of up to 120 s (storyboard by length, motion_lite, motion_pro), or per second on a Motion tier made in the app: Motion 2.5 credits a second (150 for a one-minute episode), Motion Plus 3 and Motion Max 12 a second
- Rate limit: 5 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless series generate`
- MCP tool: `faceless_generate_series_episode`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `dryRun` | boolean | no | true: create nothing and charge nothing; answer 200 with what this request would cost, the balance and whether it would succeed (the same answer as POST /estimates) |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/series/<id>/generate" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "projectId": "665f1b2a9c31a2b3c4d5ea01",
    "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5ea01/status"
  }
}
```

### List a series' episodes

`GET /series/{id}/episodes`

Returns the videos generated by a series, newest first, with their generation status and when they post: scheduledTime (the next time the episode goes out, or null), scheduledPlatforms, postedAt, and schedule (its posting-calendar entry, as GET /calendar returns it, with a status of scheduled, needs_approval, on_hold, posted, failed, skipped or cancelled). Slots the series has not made yet are on GET /calendar.

- Scopes: `series:read`
- Credits: none
- CLI: `faceless series episodes`
- MCP tool: `faceless_list_series_episodes`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page number, starting at 1 |
| `limit` | integer | no | Items per page (max 100) |

Example:

```bash
curl -s "https://faceless.so/api/v1/series/<id>/episodes" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "665f1b2a9c31a2b3c4d5eb01",
      "projectId": "665f1b2a9c31a2b3c4d5ea01",
      "seriesId": "665f1b2a9c31a2b3c4d5eb09",
      "name": "Why the Dead Sea is sinking",
      "status": "completed",
      "scheduledTime": "2026-07-30T18:00:00.000Z",
      "scheduledPlatforms": [
        "youtube"
      ],
      "schedule": {
        "id": "project:665f1b2a9c31a2b3c4d5ea01",
        "videoId": "665f1b2a9c31a2b3c4d5ea01",
        "seriesId": "665f1b2a9c31a2b3c4d5eb09",
        "seriesName": "Ocean facts daily",
        "title": "Why the Dead Sea is sinking",
        "topic": "Why the Dead Sea is sinking",
        "status": "scheduled",
        "stage": "scheduled",
        "scheduledTime": "2026-07-30T18:00:00.000Z",
        "day": "2026-07-30",
        "timezone": "UTC",
        "platforms": [
          "youtube"
        ],
        "platformPosts": [
          {
            "platform": "youtube",
            "status": "scheduled",
            "scheduledTime": "2026-07-30T18:00:00.000Z",
            "postedAt": null,
            "postUrl": null
          }
        ],
        "seriesPaused": false,
        "views": null,
        "error": null,
        "thumbnailUrl": null
      },
      "postedAt": null,
      "renderedVideoUrl": "https://exports.faceless.so/renders/665f1b2a9c31a2b3c4d5ea01/1722333444555.mp4",
      "createdAt": "2026-07-30T06:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}
```

## posts

### Publish a rendered video to a platform now

`POST /posts`

Immediately publishes a rendered video to one connected platform (youtube, tiktok, instagram, x, facebook, linkedin or threads). The video must be rendered first (renderedVideoUrl present, or pass videoUrl explicitly) and the team must have that platform connected (GET /accounts). Every connected account gets a video once: publishing it again to an account that already has it answers 409 conflict unless allowRepost is true. Every video Faceless made is posted with the platform's own AI-generated label: TikTok is_aigc (shown as Creator labeled as AI-generated), YouTube's altered or synthetic content disclosure (containsSyntheticMedia) and Instagram's AI info label (is_ai_generated); nothing to send. For future-dated posting use POST /posts/schedule instead.

- Scopes: `posts:write`
- Credits: none
- Rate limit: 10 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless posts publish`
- MCP tool: `faceless_publish_post`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `videoId` | string | yes | The video (project) to publish |
| `platform` | `youtube` \| `tiktok` \| `instagram` \| `x` \| `facebook` \| `linkedin` \| `threads` | yes | Destination platform; must be connected (see GET /accounts) |
| `title` | string | no | Post title or caption (platform-appropriate), posted as written; falls back to the video's stored caption for that platform (faceless_set_video_captions), else its stored post metadata |
| `description` | string | no | Longer description for platforms that support one (YouTube, Facebook, LinkedIn) |
| `privacyStatus` | `public` \| `unlisted` \| `private` | no | YouTube only; defaults to public |
| `madeForKids` | boolean | no | YouTube only: declare the video made for kids (COPPA). Omitted: the video's stored choice, else on for kids formats, else not sent |
| `tiktokPrivacyLevel` | `PUBLIC_TO_EVERYONE` \| `MUTUAL_FOLLOW_FRIENDS` \| `SELF_ONLY` | no | TikTok only: who can see the post; defaults to PUBLIC_TO_EVERYONE (followers, on a private TikTok account) |
| `tiktokAllowComments` | boolean | no | TikTok only: allow comments on the post; defaults to true. An account that has comments disabled in TikTok posts with them off |
| `tiktokAllowDuet` | boolean | no | TikTok: allow Duets (default true). An account that has Duet disabled in TikTok posts with it off |
| `tiktokAllowStitch` | boolean | no | TikTok: allow Stitches (default true). An account that has Stitch disabled in TikTok posts with it off |
| `authId` | string | no | Specific connected account id when the team has several for the platform (from GET /accounts) |
| `allowRepost` | boolean | no | Post it again even though this video is already on that channel or account. Without it, a repeat is refused with 409 conflict and nothing is posted |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/posts" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"videoId":"665f1b2a9c31a2b3c4d5e801","platform":"youtube","title":"The ocean has rivers underwater"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "platform": "youtube",
    "videoId": "665f1b2a9c31a2b3c4d5e801",
    "postUrl": "https://youtube.com/shorts/dQw4w9WgXcQ"
  }
}
```

### Schedule a video to one or more platforms

`POST /posts/schedule`

Schedules a video to be rendered (if needed) and posted to multiple platforms at a future time. Every platform in the list must have its caption set on the video (PATCH /videos/{id}/captions or PATCH /videos/{id}), or given here in captions; the request is rejected otherwise. Captions given here are stored first and posted exactly as written. Cancel with DELETE /posts/{videoId}. See the posting calendar with GET /calendar.

- Scopes: `posts:write`
- Credits: none
- Rate limit: 20 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless posts schedule`
- MCP tool: `faceless_schedule_post`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `videoId` | string | yes | The video (project) to schedule |
| `platforms` | array | yes | Platforms to post to; each needs its caption or post metadata set on the video first, or given in captions |
| `scheduledTime` | string | yes | When to post (ISO 8601, future) |
| `captions` | object | no | Set each platform's caption in the same call, as faceless_set_video_captions does. Each platform's caption, exactly as it should post: the whole text with its hashtags, written to your own rules. Faceless never rewrites it: no AI, no hashtags added, no series caption rules. Only platform policy still applies: a product ad's TikTok caption loses off-platform shop links and prices (the answer says so), Instagram's 30-hashtag and 20-mention limits are checked, and a paid Earn sponsor block (#ad) the post carries stays at the top. Platforms left out keep what they have |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/posts/schedule" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"videoId":"665f1b2a9c31a2b3c4d5e801","platforms":["youtube","tiktok"],"scheduledTime":"2026-08-01T18:00:00Z"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "taskId": "665f1b2a9c31a2b3c4d5ec01",
    "platforms": [
      "youtube",
      "tiktok"
    ],
    "scheduledTime": "2026-08-01T18:00:00Z"
  }
}
```

### Post a scheduled video now instead of at its scheduled time

`POST /posts/post-now`

Brings a scheduled video forward to now: every pending posting task of the video (and its render, if that is what is still waiting) moves to the current time and goes out within a minute or two, to every platform it was scheduled for. Works for videos scheduled with POST /posts/schedule and for series episodes waiting for their slot. It does not post a video that was never scheduled (use POST /posts), a video that still needs approval (409; approve it first), or an episode of a deleted series or of one paused for any reason but credits (409; resume the series first). Returns 400 when nothing is pending.

- Scopes: `posts:write`
- Credits: none
- Rate limit: 20 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless posts now`
- MCP tool: `faceless_post_now`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `videoId` | string | yes | The scheduled video (project) to post now |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/posts/post-now" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"videoId":"665f1b2a9c31a2b3c4d5e801"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "videoId": "665f1b2a9c31a2b3c4d5e801",
    "taskIds": [
      "665f1b2a9c31a2b3c4d5ec01",
      "665f1b2a9c31a2b3c4d5ec02"
    ],
    "scheduledTime": "2026-10-03T21:04:11.000Z"
  }
}
```

### Cancel a scheduled post

`DELETE /posts/{id}`

Cancels the pending scheduled posting for a video (the id is the video id used in POST /posts/schedule). Posts that already went out are not affected.

- Scopes: `posts:write`
- Credits: none
- CLI: `faceless posts cancel`
- MCP tool: `faceless_cancel_post`

Example:

```bash
curl -s -X DELETE "https://faceless.so/api/v1/posts/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "cancelled": true
  }
}
```

### Posting calendar

`GET /calendar`

Returns the team's posting calendar for a date range, the same entries the Calendar page in the app shows: upcoming posts (videos scheduled with POST /posts/schedule, series episodes waiting for their slot, and series slots not made yet), posts that went out and posts that failed. One entry per video or series slot, with scheduledTime, the target platforms and a status: scheduled, needs_approval (waits for the creator's approval), on_hold (its series is paused or deleted, so it will not post until resumed), posted, failed, skipped or cancelled (its posting was stopped). platformPosts gives each platform's own status, time and post link. Without a range it covers today and the next 7 days. Use it to confirm what is queued before scheduling more.

- Scopes: `posts:read`
- Credits: none
- CLI: `faceless calendar`
- MCP tool: `faceless_get_calendar`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `startDate` | string | no | Range start (inclusive). A date (2026-08-01) means the start of that day in `timezone`. Defaults to today |
| `endDate` | string | no | Range end (inclusive). A date (2026-08-31) means the end of that day in `timezone`. Defaults to 7 days after startDate; at most 92 days |
| `timezone` | string | no | IANA time zone for date-only bounds and each entry's `day`, e.g. America/Los_Angeles. Defaults to UTC |
| `platform` | `youtube` \| `tiktok` \| `instagram` \| `x` \| `facebook` \| `linkedin` \| `threads` | no | Only entries that post to this platform |
| `status` | `scheduled` \| `needs_approval` \| `on_hold` \| `posted` \| `failed` \| `skipped` \| `cancelled` | no | Only entries with this status, on the entry or on one of its platforms: scheduled, needs_approval, on_hold, posted, failed, skipped, cancelled |

Example:

```bash
curl -s "https://faceless.so/api/v1/calendar" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "project:665f1b2a9c31a2b3c4d5e801",
      "videoId": "665f1b2a9c31a2b3c4d5e801",
      "seriesId": null,
      "seriesName": null,
      "title": "The ocean has rivers underwater",
      "topic": null,
      "status": "scheduled",
      "stage": "scheduled",
      "scheduledTime": "2026-08-01T18:00:00.000Z",
      "day": "2026-08-01",
      "timezone": "America/Los_Angeles",
      "platforms": [
        "youtube",
        "tiktok"
      ],
      "platformPosts": [
        {
          "platform": "youtube",
          "status": "scheduled",
          "scheduledTime": "2026-08-01T18:00:00.000Z",
          "postedAt": null,
          "postUrl": null
        },
        {
          "platform": "tiktok",
          "status": "scheduled",
          "scheduledTime": "2026-08-01T18:00:00.000Z",
          "postedAt": null,
          "postUrl": null
        }
      ],
      "seriesPaused": false,
      "views": null,
      "error": null,
      "thumbnailUrl": "https://exports.faceless.so/thumbnails/665f1b2a9c31a2b3c4d5e801/1/a1b2c3d4.jpg"
    },
    {
      "id": "slot:665f1b2a9c31a2b3c4d5eb01:1785693600000",
      "videoId": null,
      "seriesId": "665f1b2a9c31a2b3c4d5eb01",
      "seriesName": "Ocean facts daily",
      "title": null,
      "topic": "Why the Dead Sea is sinking",
      "status": "scheduled",
      "stage": "planned",
      "scheduledTime": "2026-08-02T18:00:00.000Z",
      "day": "2026-08-02",
      "timezone": "America/Los_Angeles",
      "platforms": [
        "youtube"
      ],
      "platformPosts": [
        {
          "platform": "youtube",
          "status": "scheduled",
          "scheduledTime": "2026-08-02T18:00:00.000Z",
          "postedAt": null,
          "postUrl": null
        }
      ],
      "seriesPaused": false,
      "views": null,
      "error": null,
      "thumbnailUrl": null
    }
  ],
  "range": {
    "start": "2026-08-01T07:00:00.000Z",
    "end": "2026-08-09T06:59:59.999Z",
    "timezone": "America/Los_Angeles"
  }
}
```

## accounts

### List connected social accounts

`GET /accounts`

Returns the social accounts connected to the team (YouTube, TikTok, Instagram, X, Facebook, LinkedIn, Threads) with their ids. Use the ids as authId in publishPost and destinationAccounts in series. To connect another account, create a connect link (POST /accounts/connect-links) and send it to the account owner: connecting needs them in a browser.

- Scopes: `accounts:read`
- Credits: none
- CLI: `faceless accounts`
- MCP tool: `faceless_list_accounts`

Example:

```bash
curl -s "https://faceless.so/api/v1/accounts" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "youtube": [
      {
        "authId": "665f1b2a9c31a2b3c4d5ee01",
        "label": "Deep Sea Facts",
        "isDefault": true
      }
    ],
    "tiktok": [
      {
        "authId": "665f1b2a9c31a2b3c4d5e901",
        "label": "mychannel",
        "isDefault": true
      }
    ],
    "instagram": [
      {
        "authId": "665f1b2a9c31a2b3c4d5e902",
        "label": "mychannel",
        "isDefault": false
      }
    ]
  }
}
```

### Create a link a human opens to connect a social account

`POST /accounts/connect-links`

Creates a one-time link (valid 1 hour) that connects a YouTube, TikTok, Instagram, Facebook, X, LinkedIn or Threads account to this team. An agent cannot connect an account itself, because each platform's sign-in needs the account owner in a browser: send the returned url to your human, tell them which platform it is for, and poll GET /accounts/connect-links/{id} (statusUrl) every 5 to 10 seconds until status is connected (or expired). Opening the link needs no Faceless login: it shows the workspace name and the platform, then the platform's own sign-in, then which account (or Facebook Page) to connect. The connected account then appears in GET /accounts and can be used to publish. The link connects as a team admin, so the key or OAuth grant must belong to an admin (API keys act as the team admin). Treat the url like a password: anyone who opens it before it is used can connect their account to this team. Free.

- Scopes: `accounts:write`
- Credits: none
- Rate limit: 10 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless connect link`
- MCP tool: `faceless_create_connect_link`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `platform` | `youtube` \| `tiktok` \| `instagram` \| `facebook` \| `x` \| `threads` \| `linkedin` | yes | The platform to connect: youtube, tiktok, instagram, facebook, x, linkedin or threads |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/accounts/connect-links" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"youtube"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5ef01",
    "platform": "youtube",
    "status": "pending",
    "url": "https://faceless.so/connect/Xq3v9cJ2kq0pN8sT1wYb5mF7aR4dL6hG2zE0uK9iP3o",
    "expiresAt": "2026-12-01T11:00:00.000Z",
    "createdAt": "2026-12-01T10:00:00.000Z",
    "openedAt": null,
    "connectedAt": null,
    "accounts": [],
    "error": null,
    "statusUrl": "/https/faceless.so/api/v1/accounts/connect-links/665f1b2a9c31a2b3c4d5ef01"
  }
}
```

### Check whether a connect link has been used

`GET /accounts/connect-links/{id}`

Returns a connect link's status: pending (not opened yet), opened (the human started signing in), connected (done; accounts lists what was connected, in GET /accounts' shape, so use an authId to publish), failed (the last attempt did not finish; the human can open the same link again while it is valid) or expired (an hour passed without a connection; create a new link). url is null here: it is only shown once, when the link is made. Poll every 5 to 10 seconds.

- Scopes: `accounts:read`
- Credits: none
- CLI: `faceless connect status`
- MCP tool: `faceless_get_connect_link`

Example:

```bash
curl -s "https://faceless.so/api/v1/accounts/connect-links/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5ef01",
    "platform": "youtube",
    "status": "connected",
    "url": null,
    "expiresAt": "2026-12-01T11:00:00.000Z",
    "createdAt": "2026-12-01T10:00:00.000Z",
    "openedAt": "2026-12-01T10:02:10.000Z",
    "connectedAt": "2026-12-01T10:03:01.000Z",
    "accounts": [
      {
        "authId": "665f1b2a9c31a2b3c4d5ee01",
        "label": "Deep Sea Facts",
        "isDefault": true
      }
    ],
    "error": null,
    "statusUrl": "/https/faceless.so/api/v1/accounts/connect-links/665f1b2a9c31a2b3c4d5ef01"
  }
}
```

## catalog

### List TTS voices

`GET /voices`

Returns the text-to-speech voices available for narration, including the team's custom cloned voices and Recommended Studio Quality voices. Use a voice's id, unchanged, as voiceId in createVideo or voice in createSeries. Ids come in one format with an optional model prefix: a bare ElevenLabs id (EXAVITQu4vr4xnSDxMaL, the model picked by the video's language) or the same voice on a chosen model (eleven_v3:EXAVITQu4vr4xnSDxMaL, eleven_v4:..., or eleven_quality:... for Recommended Studio Quality voices, where Faceless picks the model). baseVoiceId is the bare part. Both forms are accepted everywhere a voice is taken, and estimates and creates refuse an id that is not a Faceless voice (voice_not_found). About 700 voices: filter them with gender, accent, language or search. Over MCP a call with no filter and no limit returns the first 40 (pagination.total has the count).

- Scopes: `catalog:read` (also works without a key, rate-limited per network)
- Credits: none
- CLI: `faceless voices`
- MCP tool: `faceless_list_voices`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `gender` | string | no | female, male or neutral |
| `accent` | string | no | e.g. american, british |
| `language` | string | no | Language code, e.g. en, es |
| `search` | string | no | Text in the name or description |
| `limit` | integer | no | Max voices (default all; 40 over MCP) |

Example:

```bash
curl -s "https://faceless.so/api/v1/voices" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "eleven_quality:EXAVITQu4vr4xnSDxMaL",
      "baseVoiceId": "EXAVITQu4vr4xnSDxMaL",
      "name": "Sarah - Studio Quality",
      "previewUrl": "https://storage.googleapis.com/eleven-public-prod/premade/voices/EXAVITQu4vr4xnSDxMaL.mp3",
      "labels": {
        "language": "en",
        "gender": "female",
        "accent": "american"
      },
      "isCustom": false,
      "isRecommended": true,
      "qualityTier": "studio",
      "modelPolicy": "quality_auto",
      "targetLanguages": [
        "en"
      ]
    }
  ]
}
```

### List content option catalogs

`GET /options`

Enumerates the option catalogs used by createVideo and createSeries: sources, styles, niches, languages, durations, models (with credit costs), captionThemes, music moods, background videos and example subreddits. Call without kind to list the available kinds; pass kind to get that catalog's items.

- Scopes: `catalog:read` (also works without a key, rate-limited per network)
- Credits: none
- CLI: `faceless options`
- MCP tool: `faceless_list_options`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | `sources` \| `styles` \| `niches` \| `languages` \| `durations` \| `models` \| `captionThemes` \| `music` \| `backgrounds` \| `subreddits` | no | Which catalog to return; omit to list available kinds |

Example:

```bash
curl -s "https://faceless.so/api/v1/options" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"models"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "kind": "models",
    "items": [
      {
        "value": "storyboard",
        "name": "Faceless Storyboard",
        "credits": 20
      }
    ]
  }
}
```

## assets

### Register a media asset by URL

`POST /assets`

Registers an already-hosted media file (video, image or audio URL) as a team asset usable in projects. The link is recorded as it is, not copied; for a picture to show in a video, use POST /assets/images (faceless_upload_image), which copies and checks it.

- Scopes: `assets:write`
- Credits: none
- Supports `Idempotency-Key` header
- CLI: `faceless assets create`
- MCP tool: `faceless_create_asset`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | Public URL of the media file |
| `name` | string | no | Display name for the asset |
| `fileType` | string | no | Kind (image, video, audio) or MIME type, e.g. video/mp4. Omit to infer it from the link |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/assets" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/broll.mp4","name":"Intro b-roll"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5ef01",
    "url": "https://example.com/broll.mp4",
    "name": "Intro b-roll"
  }
}
```

### Upload your own image

`POST /assets/images`

Adds a picture (a screenshot, photo or logo) to the team's media library so it can be shown in videos (faceless_create_video_from_audio images, faceless_place_images) and in the editor. Pass url (a Google Drive share link set to "Anyone with the link", a Dropbox link or a direct image URL; up to 15 MB) or data (base64 or a data:image/...;base64, URI; up to 2.5 MB). JPG, PNG, WebP, GIF (first frame) or AVIF; an iPhone HEIC must be exported as JPG first. The picture is checked, turned upright, scaled to at most 2160 px on its long side and hosted on faceless.so. Returns the image id. Free.

- Scopes: `assets:write`
- Credits: none
- Rate limit: 30 per 60s
- Supports `Idempotency-Key` header
- CLI: `faceless assets upload-image`
- MCP tool: `faceless_upload_image`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | Public link to the picture: a Google Drive share link ("Anyone with the link"), a Dropbox link or a direct image URL |
| `data` | string | no | The picture itself as base64, or a data:image/png;base64,... URI (up to 2.5 MB). Use url for anything larger |
| `name` | string | no | Display name in the media library, e.g. "Review from Sarah" |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/assets/images" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://drive.google.com/file/d/1AbCdEfGhIjKlMnOpQrStUvWxYz012345/view?usp=sharing","name":"Review from Sarah"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5ef02",
    "url": "https://exports.faceless.so/uploads/own-images/665f1b2a9c31a2b3c4d5e000/0d4c7a52-7f0e-4d3b-9a43-3c5c1d9b2e10.jpg",
    "name": "Review from Sarah",
    "fileType": "image",
    "createdAt": "2026-11-17T10:00:00.000Z",
    "width": 1170,
    "height": 2532,
    "bytes": 412345
  }
}
```

### List the team's media library

`GET /assets`

Lists the team's uploaded media, newest first: pictures added with faceless_upload_image and files uploaded in the Faceless editor. Use type=image to find picture ids for faceless_place_images or faceless_create_video_from_audio images.

- Scopes: `assets:read`
- Credits: none
- CLI: `faceless assets list`
- MCP tool: `faceless_list_assets`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `image` \| `video` \| `audio` | no | Only this kind of media |
| `page` | integer | no | Page number, starting at 1 |
| `limit` | integer | no | Items per page (max 100) |

Example:

```bash
curl -s "https://faceless.so/api/v1/assets" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"image"}'
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "665f1b2a9c31a2b3c4d5ef02",
      "url": "https://exports.faceless.so/uploads/own-images/665f1b2a9c31a2b3c4d5e000/0d4c7a52-7f0e-4d3b-9a43-3c5c1d9b2e10.jpg",
      "name": "Review from Sarah",
      "fileType": "image",
      "createdAt": "2026-11-17T10:00:00.000Z",
      "width": 1170,
      "height": 2532,
      "bytes": 412345
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}
```

## analytics

### Cross-platform posting analytics

`GET /analytics`

Returns performance for the team's published posts over a trailing window: aggregated views, likes, comments and posting volume for TikTok, Instagram and Facebook, and top posts per platform. YouTube is reported per video only (videos published in the last 30 days): views, likes and comments from the YouTube Data API plus average view percentage, average view duration and engaged views from the YouTube Analytics API when available; youtubeVideoStats explains the sources and any missing metric.

- Scopes: `analytics:read`
- Credits: none
- CLI: `faceless analytics`
- MCP tool: `faceless_get_analytics`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `platform` | `youtube` \| `tiktok` \| `instagram` \| `facebook` | no | Filter to one platform |
| `authId` | string | no | Filter to one connected account |
| `range` | mixed | no | Trailing analytics window: 7, 28, or 90 days (default 28) |

Example:

```bash
curl -s "https://faceless.so/api/v1/analytics" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "rangeDays": 28,
    "rollup": {
      "rangeDays": 28,
      "viewsGained": 12500,
      "totalViews": 128530,
      "postsSynced": 42,
      "ready": true
    },
    "windows": {
      "d7": {
        "viewsGained": 3200,
        "ready": true
      },
      "d28": {
        "viewsGained": 12500,
        "ready": true
      }
    },
    "byPlatform": {
      "tiktok": {
        "totalViews": 88000,
        "postsSynced": 20,
        "viewsGained28d": 9400
      }
    },
    "topPosts": [
      {
        "platform": "youtube",
        "videoId": "dQw4w9WgXcQ",
        "title": "Deep sea rivers",
        "views": 42000,
        "likes": 1800,
        "comments": 64,
        "shares": null,
        "averageViewPercentage": 87.4,
        "averageViewDurationSeconds": 31,
        "engagedViews": 30500,
        "analyticsStatus": "ok",
        "postUrl": "https://youtube.com/shorts/dQw4w9WgXcQ"
      },
      {
        "platform": "tiktok",
        "title": "Deep sea rivers",
        "views": 12500,
        "likes": 900,
        "comments": 31,
        "shares": 12,
        "postUrl": "https://www.tiktok.com/@example/video/1"
      }
    ],
    "youtubeVideoStats": {
      "videosShown": 12,
      "videosInWindow": 30,
      "windowDays": 28,
      "analytics": {
        "available": true,
        "metrics": [
          "averageViewPercentage",
          "averageViewDuration",
          "engagedViews"
        ],
        "reason": null
      }
    },
    "totals": {
      "totalViews": 128530,
      "postsSynced": 42,
      "posts7d": 7
    },
    "timeseriesReady": true
  }
}
```

## fast-track

### List Fast Track video types, categories and scripts

`GET /fast-track`

Fast Track is the quickest way to a video: pick a video type, a category and a script. These are finished videos from the Fast Track library and one can be sold to up to 3 channels; each copy gets its own title, music, caption style and framing, and a narrated story a different voice. Call with no query for the video types (how many scripts each has and its price in credits), with source for that type's categories (niche, language, count), and with source, niche and language for up to 20 scripts (id, preview, coverUrl, seconds). Get one with POST /fast-track. Free.

- Scopes: `videos:read`
- Credits: none
- CLI: `faceless fast-track list`
- MCP tool: `faceless_list_fast_track`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `source` | string | no | A video type from the list without a query, e.g. Facts & stories |
| `niche` | string | no | A category of that type, e.g. scary-stories (needs source) |
| `language` | string | no | Language code of the scripts, e.g. en (default en) |

Example:

```bash
curl -s "https://faceless.so/api/v1/fast-track" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source":"Facts & stories","niche":"scary-stories","language":"en"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "videos": [
      {
        "id": "665f1b2a9c31a2b3c4d5ef01",
        "preview": "The lighthouse keeper heard knocking at midnight. Nobody had climbed the stairs in years.",
        "coverUrl": "https://exports.faceless.so/thumbs/665f1b2a9c31a2b3c4d5ef01.jpg",
        "seconds": 52
      }
    ],
    "credits": 10
  }
}
```

### Get a Fast Track video

`POST /fast-track`

Gets the picked Fast Track script (an id from GET /fast-track) as a video in the team's library, made its own (title, music, caption style, framing; a narrated story a different voice), and charges its price at once: 10 credits, or 3 for Slideshows, Single Fade-in Video and 2x2 Grid Video. The title, captions, music and cover can be changed in the editor; the voice cannot. The video opens straight away; its file is rendered within minutes. 409 when the script is no longer available: list again and pick another.

- Scopes: `videos:write`
- Credits: 10 credits (3 for Slideshows, Single Fade-in Video and 2x2 Grid Video), charged at purchase
- Rate limit: 10 per 60s
- Supports `Idempotency-Key` header
- CLI: `faceless fast-track buy`
- MCP tool: `faceless_buy_fast_track_video`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `fastTrackVideoId` | string | yes | A script id from GET /fast-track |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/fast-track" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fastTrackVideoId":"665f1b2a9c31a2b3c4d5ef01"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5ea01",
    "name": "The lighthouse keeper heard knocking at midnight.",
    "platform": "tts",
    "model": "storyboard",
    "status": "completed",
    "thumbnailUrl": "https://exports.faceless.so/thumbs/665f1b2a9c31a2b3c4d5ef01.jpg",
    "renderedVideoUrl": null,
    "createdAt": "2026-10-21T18:13:00.000Z",
    "creditsUsed": 10,
    "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5ea01/status"
  }
}
```

## edits

### Edit your own video with the AI Video Editor

`POST /edits`

Edits a video you recorded yourself (a talking head, a podcast clip, a vlog, a product demo) into a finished video, the way a human editor would: it removes silences, umms and false starts by the words you say, keeps your face and voice in sync, frames your face (vertical or landscape) with punch-ins on the lines that land, puts a bold hook line on screen in the first 2 seconds, word-by-word captions in your caption style, AI scenery cutaways over your footage while your voice keeps playing (drawn under your team's picture rule and negative prompt; still pictures with a camera move unless motionCutaways is true), and your brand bar, intro and end card from your brief and brand kit. Pass a public link to the video: a Google Drive share link set to "Anyone with the link", a Dropbox link or a direct file URL (MP4 or MOV, up to 10 minutes, up to 3 GB). Say in brief what you want: your hook line, where cutaways go (by time in your video, "at 0:45", or by the words you say, "when I say peace"), how many, your business name, a call to action. Pictures to show (your logo, client review screenshots, blurred with your team's picture blur) go in imageUrls. The video is fetched in the background: poll GET /edits/{id} until status is ready (it returns the finished film's URL and the project id to open it in the editor) or failed. Credits are charged when the fetched video starts editing: per second of your video at 1 credit (1.5 on the newer pricing), plus 3 credits per AI cutaway (14 for moving ones); cutaways left to the editor are priced at about one per 30 seconds of video, 2 to 12. Nothing is charged if the link cannot be fetched.

- Scopes: `videos:write`
- Credits: 1 credit per second of your video (1.5 on the newer pricing) plus 3 per AI cutaway (14 moving), charged when the video starts editing; a change to a finished edit is 35% of that
- Rate limit: 6 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless edits create`
- MCP tool: `faceless_edit_video`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `videoUrl` | string | yes | Public link to your video: a Google Drive share link ("Anyone with the link"), a Dropbox link or a direct file URL. MP4 or MOV, up to 10 minutes |
| `videoUrls` | array | no | More videos to edit together (more takes, your own b-roll), in order. Up to 6 in all, 10 minutes in all |
| `brief` | string | yes | How to edit it, in your words: the hook line, where the cutaways go ("at 0:45", "when I say peace"), what they show, your business name for the brand bar, the call to action for the end card. The editor follows it; where you say nothing it chooses |
| `preset` | `talking-head` \| `podcast-clips` \| `vlog` \| `product-demo` \| `shorts-from-long` | no | What kind of footage it is: talking-head (default), podcast-clips (the best moment as a clip), vlog, product-demo, shorts-from-long (the best moment as a vertical Short) |
| `aspect` | `9:16` \| `16:9` \| `1:1` \| `4:5` \| `auto` | no | The finished video's shape. auto (default) keeps your video's own; 9:16 from landscape footage is cropped around your face |
| `cutaways` | integer | no | How many AI cutaways. 0 keeps your face on screen throughout; omit to let the editor choose (priced at about one per 30 s of video) |
| `motionCutaways` | boolean | no | Moving cutaways (short generated clips) instead of still pictures with a camera move. 14 credits each instead of 3 |
| `music` | boolean | no | A quiet music bed under your voice. Off by default |
| `captions` | string | no | A caption theme for this video (GET /options?kind=captionThemes). Omit to use the team's caption style (GET /video-defaults) |
| `imageUrls` | array | no | Pictures to use: your logo, client review screenshots to show as overlays. Public links, up to 15 MB each |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/edits" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"videoUrl":"https://drive.google.com/file/d/1AbCdEfGhIjKlMnOpQrStUvWxYz012345/view?usp=sharing","brief":"Edit my talking video for Reels. Hook line: 'Stress is not your enemy'. Cut the pauses and umms, zoom in when I make a point, put calm sea scenery when I say peace and at 1:10, keep my face at the start and the end, brand bar with Muslim Stress Management Mastery, end card: book a free call.","preset":"talking-head","aspect":"9:16","cutaways":4}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6b0412a9c31a2b3c4d5e8f01",
    "status": "importing",
    "headline": "Fetching your video. Nothing is charged until it is in.",
    "error": null,
    "creditsCharged": 0,
    "filmUrl": null,
    "posterUrl": null,
    "projectId": null,
    "studioUrl": null,
    "statusUrl": "/https/faceless.so/api/v1/edits/6b0412a9c31a2b3c4d5e8f01"
  }
}
```

### Follow an AI Video Editor job

`GET /edits/{id}`

Returns where an edit is: importing (the video is being fetched; nothing charged yet), queued, editing (the editor is cutting it; headline says what it is doing), rendering, ready (filmUrl is the finished MP4, projectId opens it in the editor, studioUrl shows it in the studio) or failed (error says why; a failed edit is refunded). revising while a change you asked for is being made. Poll every 30-60 seconds: an edit takes about 20 to 60 minutes.

- Scopes: `videos:read`
- Credits: none
- Terminal states: `ready`, `failed`
- CLI: `faceless edits get`
- MCP tool: `faceless_get_edit`

Example:

```bash
curl -s "https://faceless.so/api/v1/edits/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6b0412a9c31a2b3c4d5e8f01",
    "runId": "6b0412b0c31a2b3c4d5e8f09",
    "status": "ready",
    "headline": "Your edit is ready.",
    "error": null,
    "title": "Stress Is Not Your Enemy",
    "filmUrl": "https://exports.faceless.so/motion-director/6b0412b0c31a2b3c4d5e8f09/t1/k2j3-film.mp4",
    "posterUrl": "https://exports.faceless.so/motion-director/6b0412b0c31a2b3c4d5e8f09/t1/k2j3-poster.jpg",
    "seconds": 108.4,
    "version": 1,
    "projectId": "6b0412b0c31a2b3c4d5e8f0a",
    "creditsCharged": 132,
    "changeCredits": 46,
    "studioUrl": "https://faceless.so/motion-director/6b0412b0c31a2b3c4d5e8f09"
  }
}
```

### Ask for a change to an edit

`POST /edits/{id}/notes`

Sends a note to the editor. While the edit is being made it is free and the editor folds it in. Once the edit is ready it asks for a change (a new version of the same film), charged at changeCredits from GET /edits/{id} (35% of the edit's price). Then poll GET /edits/{id} again.

- Scopes: `videos:write`
- Credits: none while the edit is being made; a change to a finished edit is 35% of its price (changeCredits)
- Rate limit: 10 per 300s
- Supports `Idempotency-Key` header
- CLI: `faceless edits change`
- MCP tool: `faceless_change_edit`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | string | yes | What to change, e.g. "make the hook line bigger and use a forest instead of the sea at 0:45" |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/edits/<id>/notes" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Make the hook line bigger and use a forest instead of the sea at 0:45."}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6b0412a9c31a2b3c4d5e8f01",
    "runId": "6b0412b0c31a2b3c4d5e8f09",
    "status": "revising",
    "headline": "Waiting for the studio.",
    "error": null,
    "revision": true,
    "creditsCharged": 46,
    "studioUrl": "https://faceless.so/motion-director/6b0412b0c31a2b3c4d5e8f09"
  }
}
```

## ads

### Search Meta ads shown in the EU and UK

`GET /ads/search`

Searches the official Meta Ad Library by keywords in the ad text or by one advertiser's exact Facebook Page ID. Meta only returns commercial ads delivered in the EU and UK, so the country is one of those or EU_UK for all of them. Returns up to 25 ads (copy variants, delivery dates, platforms, a public Meta link), a resultToken to save or brief any of them within 15 minutes, and an opaque nextCursor. Free; each team has a daily search allowance and cached repeats do not count against it. No media files are returned.

- Scopes: `ads:read`
- Credits: none
- Rate limit: 10 per 60s
- CLI: `faceless ads search`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | no | Words in the ad text. Send q or pageId, not both. |
| `pageId` | string | no | One advertiser's exact Facebook Page ID (from its Ad Library link, view_all_page_id). |
| `country` | `EU_UK` \| `AT` \| `BE` \| `BG` \| `HR` \| `CY` \| `CZ` \| `DK` \| `EE` \| `FI` \| `FR` \| `DE` \| `GR` \| `HU` \| `IE` \| `IT` \| `LV` \| `LT` \| `LU` \| `MT` \| `NL` \| `PL` \| `PT` \| `RO` \| `SK` \| `SI` \| `ES` \| `SE` \| `GB` | no | Where the ad was shown |
| `mediaType` | `ALL` \| `IMAGE` \| `VIDEO` | no |  |
| `platform` | `ALL` \| `FACEBOOK` \| `INSTAGRAM` \| `MESSENGER` \| `AUDIENCE_NETWORK` \| `THREADS` \| `WHATSAPP` | no |  |
| `status` | `ACTIVE` \| `INACTIVE` \| `ALL` | no | ACTIVE: running now |
| `cursor` | string | no | nextCursor from the previous page of the same search; keep every other parameter unchanged. |

Example:

```bash
curl -s "https://faceless.so/api/v1/ads/search" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "items": [
      {
        "adId": "2716161098763684",
        "pageId": "123456789",
        "pageName": "Example brand",
        "bodies": [
          "Turn one idea into a week of videos."
        ],
        "titles": [
          "Videos on autopilot"
        ],
        "captions": [],
        "descriptions": [],
        "startedAt": "2026-08-01T00:00:00.000Z",
        "stoppedAt": null,
        "platforms": [
          "FACEBOOK",
          "INSTAGRAM"
        ],
        "mediaType": null,
        "observedStatus": "ACTIVE",
        "sourceUrl": "https://www.facebook.com/ads/library/?id=2716161098763684",
        "fetchedAt": "2026-09-26T10:00:00.000Z",
        "savedId": null
      }
    ],
    "resultToken": "22df1b25-533f-4bd7-862a-aedc4a4ea0cc",
    "expiresAt": "2026-09-26T10:15:00.000Z",
    "nextCursor": "0b6f3c1e-8f4a-4c55-9e0b-7d2a1c9e4f10"
  }
}
```

### List the team's saved ads

`GET /saved-ads`

Returns the ads the team saved from Meta Ad Library searches, newest first, 24 per page, with each ad's details as Meta showed them when it was saved. Filter by one advertiser with pageId. Works even when fresh search is paused.

- Scopes: `ads:read`
- Credits: none
- CLI: `faceless ads saved`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `pageId` | string | no | Only this advertiser's ads |
| `page` | integer | no |  |

Example:

```bash
curl -s "https://faceless.so/api/v1/saved-ads" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "665f1b2a9c31a2b3c4d5f001",
        "ad": {
          "adId": "2716161098763684",
          "pageName": "Example brand"
        },
        "savedAt": "2026-09-26T10:01:00.000Z"
      }
    ],
    "advertisers": [
      {
        "pageId": "123456789",
        "pageName": "Example brand"
      }
    ],
    "savedCount": 1,
    "savedLimit": 500,
    "page": 1,
    "pages": 1
  }
}
```

### Save an ad from a search

`POST /saved-ads`

Saves one ad from a searchAds result to the team's saved ads, using that search's resultToken (valid 15 minutes; search again after that). Saving the same ad twice returns the first save. A team can keep 500 saved ads.

- Scopes: `ads:write`
- Credits: none
- CLI: `faceless ads save`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `adId` | string | yes | adId from searchAds |
| `resultToken` | string | yes | resultToken of the search page that returned the ad |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/saved-ads" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"adId":"2716161098763684","resultToken":"22df1b25-533f-4bd7-862a-aedc4a4ea0cc"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "665f1b2a9c31a2b3c4d5f001",
    "ad": {
      "adId": "2716161098763684",
      "pageName": "Example brand"
    },
    "savedAt": "2026-09-26T10:01:00.000Z"
  }
}
```

### Remove a saved ad

`DELETE /saved-ads/{id}`

Removes one of the team's saved ads. An id the team does not have answers 404.

- Scopes: `ads:write`
- Credits: none
- CLI: `faceless ads unsave`

Example:

```bash
curl -s -X DELETE "https://faceless.so/api/v1/saved-ads/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "deleted": true
  }
}
```

### Write an ad brief for your brand from a competitor's ad

`POST /ads/briefs`

Writes an original ad brief (hook, promise, script, visual direction, call to action) for the team's brand, inspired by one ad from searchAds or the saved ads. Only the ad's approach carries over: every claim comes from the brand description you send, and the advertiser's name, offers, prices and results never appear. target sizes the script: motion (20 s motion-graphics ad), product-video (30 s narrated video), ugc (20 s creator talking to camera) or image (one static ad). Free; use the brief with createVideo or any other operation. 30 briefs per hour.

- Scopes: `ads:write`
- Credits: none
- Rate limit: 30 per 3600s
- CLI: `faceless ads brief`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `adId` | string | yes |  |
| `resultToken` | string | no | From searchAds; send this or savedId |
| `savedId` | string | no | A saved ad's id; send this or resultToken |
| `target` | `motion` \| `product-video` \| `ugc` \| `image` | yes | What the brief is for |
| `brand` | object | yes | Your brand |
| `notes` | string | no | A real offer, a feature to lead with, a tone |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/ads/briefs" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"adId":"2716161098763684","resultToken":"22df1b25-533f-4bd7-862a-aedc4a4ea0cc","target":"product-video","brand":{"name":"Acme Coffee","description":"Small-batch coffee beans roasted to order and shipped within two days."}}'
```

Response:

```json
{
  "success": true,
  "data": {
    "brief": {
      "hook": "Your coffee was roasted months ago",
      "benefit": "Beans roasted the day you order them, at your door two days later.",
      "script": "Your coffee was roasted months ago. Ours is roasted when you order. It reaches you two days later. Taste the difference.",
      "visualDirection": "Close-ups of beans leaving the roaster, a kraft bag being sealed, a morning pour.",
      "cta": "Order a fresh bag"
    },
    "source": {
      "adId": "2716161098763684",
      "pageName": "Example brand",
      "sourceUrl": "https://www.facebook.com/ads/library/?id=2716161098763684"
    }
  }
}
```

## webhooks

### List webhook endpoints

`GET /webhooks`

Lists the team's webhook endpoints: the URL, the events each subscribes to, whether it is enabled, and its recent delivery health (consecutive failures, last success). Faceless POSTs a signed JSON event to each enabled endpoint when something happens, so an agent can wait for a video or a post instead of polling. Events: video.completed, video.failed, post.published, post.failed, credits.low, checkout.completed. See https://faceless.so/developers/docs/webhooks for payloads and signature verification.

- Scopes: `webhooks:read`
- Credits: none
- CLI: `faceless webhooks list`
- MCP tool: `faceless_list_webhooks`

Example:

```bash
curl -s "https://faceless.so/api/v1/webhooks" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "6750a1b2c3d4e5f6a7b8c9d0",
      "url": "https://example.com/hooks/faceless",
      "events": [
        "video.completed",
        "video.failed",
        "post.published",
        "post.failed"
      ],
      "description": "My agent",
      "enabled": true,
      "disabledReason": null,
      "secretHint": "whsec_4fQx...",
      "consecutiveFailures": 0,
      "lastSuccessAt": "2026-12-01T10:05:00.000Z",
      "lastFailureAt": null,
      "createdAt": "2026-12-01T10:00:00.000Z",
      "updatedAt": "2026-12-01T10:00:00.000Z"
    }
  ]
}
```

### Create a webhook endpoint

`POST /webhooks`

Registers an https URL that receives the team's events as signed POST requests. The answer includes the endpoint's signing secret (whsec_...) exactly once: store it, and check every delivery's Faceless-Signature header with it (t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">). Answer 2xx within 10 seconds; anything else is retried with backoff (1 minute, 5 minutes, 30 minutes, 2, 6, 12 and 24 hours). An endpoint that keeps failing for three days is switched off. URLs must be public https (port 443 or 8443); private, loopback and internal addresses are refused. Up to 10 endpoints per team. Send a test event with POST /webhooks/{id}/test.

- Scopes: `webhooks:write`
- Credits: none
- Rate limit: 20 per 3600s
- Supports `Idempotency-Key` header
- CLI: `faceless webhooks create`
- MCP tool: `faceless_create_webhook`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | Public https URL that receives the events |
| `events` | array | no | Events to send: any of video.completed, video.failed, post.published, post.failed, credits.low, checkout.completed, or ["*"] for all (the default) |
| `description` | string | no | A note for yourself, e.g. which agent or service this is |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/webhooks" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/hooks/faceless","events":["video.completed","video.failed","post.published","post.failed"]}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6750a1b2c3d4e5f6a7b8c9d0",
    "url": "https://example.com/hooks/faceless",
    "events": [
      "video.completed",
      "video.failed",
      "post.published",
      "post.failed"
    ],
    "description": "My agent",
    "enabled": true,
    "disabledReason": null,
    "secretHint": "whsec_4fQx...",
    "consecutiveFailures": 0,
    "lastSuccessAt": "2026-12-01T10:05:00.000Z",
    "lastFailureAt": null,
    "createdAt": "2026-12-01T10:00:00.000Z",
    "updatedAt": "2026-12-01T10:00:00.000Z",
    "secret": "whsec_4fQx0b1mYp2nLr8sTz5uWv3a"
  }
}
```

### Get a webhook endpoint

`GET /webhooks/{id}`

Returns one of the team's webhook endpoints. The signing secret is never shown again; rotate it with PATCH /webhooks/{id} rotateSecret.

- Scopes: `webhooks:read`
- Credits: none
- CLI: `faceless webhooks get`

Example:

```bash
curl -s "https://faceless.so/api/v1/webhooks/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6750a1b2c3d4e5f6a7b8c9d0",
    "url": "https://example.com/hooks/faceless",
    "events": [
      "video.completed",
      "video.failed",
      "post.published",
      "post.failed"
    ],
    "description": "My agent",
    "enabled": true,
    "disabledReason": null,
    "secretHint": "whsec_4fQx...",
    "consecutiveFailures": 0,
    "lastSuccessAt": "2026-12-01T10:05:00.000Z",
    "lastFailureAt": null,
    "createdAt": "2026-12-01T10:00:00.000Z",
    "updatedAt": "2026-12-01T10:00:00.000Z"
  }
}
```

### Update a webhook endpoint

`PATCH /webhooks/{id}`

Changes an endpoint's url, events or description, switches it off or on (enabled), or rotates its signing secret (rotateSecret: true answers with the new secret once; the old one stops working at once). Switching an endpoint back on resets its failure count.

- Scopes: `webhooks:write`
- Credits: none
- CLI: `faceless webhooks update`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | New public https URL |
| `events` | array | no | Replaces the subscribed events |
| `description` | string | no | Replaces the note |
| `enabled` | boolean | no | false stops deliveries (queued retries fail); true starts them again |
| `rotateSecret` | boolean | no | true issues a new signing secret, returned once in this answer |

Example:

```bash
curl -s -X PATCH "https://faceless.so/api/v1/webhooks/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"events":["*"],"rotateSecret":true}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6750a1b2c3d4e5f6a7b8c9d0",
    "url": "https://example.com/hooks/faceless",
    "events": [
      "*"
    ],
    "description": "My agent",
    "enabled": true,
    "disabledReason": null,
    "secretHint": "whsec_4fQx...",
    "consecutiveFailures": 0,
    "lastSuccessAt": "2026-12-01T10:05:00.000Z",
    "lastFailureAt": null,
    "createdAt": "2026-12-01T10:00:00.000Z",
    "updatedAt": "2026-12-01T10:00:00.000Z",
    "secret": "whsec_9KxQ2mN7pL4rT1vW8yZ3bC6d"
  }
}
```

### Delete a webhook endpoint

`DELETE /webhooks/{id}`

Deletes one of the team's webhook endpoints. Its queued retries are failed; its delivery log is kept for 30 days.

- Scopes: `webhooks:write`
- Credits: none
- CLI: `faceless webhooks delete`
- MCP tool: `faceless_delete_webhook`

Example:

```bash
curl -s -X DELETE "https://faceless.so/api/v1/webhooks/<id>" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "id": "6750a1b2c3d4e5f6a7b8c9d0",
    "deleted": true
  }
}
```

### Webhook delivery log

`GET /webhooks/{id}/deliveries`

The endpoint's deliveries, newest first, kept for 30 days: each event sent, its status (pending while retries remain, succeeded, failed), attempts, the receiver's last HTTP status, error and response time, when the next retry is due, and the exact event body. Filter by status.

- Scopes: `webhooks:read`
- Credits: none
- CLI: `faceless webhooks deliveries`
- MCP tool: `faceless_list_webhook_deliveries`

Query parameters:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page number, starting at 1 |
| `limit` | integer | no | Items per page (max 100) |
| `status` | `pending` \| `succeeded` \| `failed` | no | Only deliveries in this state |

Example:

```bash
curl -s "https://faceless.so/api/v1/webhooks/<id>/deliveries" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "6750a1b2c3d4e5f6a7b8c9e1",
      "endpointId": "6750a1b2c3d4e5f6a7b8c9d0",
      "eventId": "evt_9c1f0e7a2b3d4c5e6f708192",
      "type": "video.completed",
      "status": "succeeded",
      "attempts": 1,
      "nextAttemptAt": null,
      "lastAttemptAt": "2026-12-01T10:05:00.000Z",
      "lastStatusCode": 200,
      "lastError": null,
      "lastResponseMs": 143,
      "deliveredAt": "2026-12-01T10:05:00.000Z",
      "createdAt": "2026-12-01T10:05:00.000Z",
      "payload": {
        "id": "evt_9c1f0e7a2b3d4c5e6f708192",
        "object": "event",
        "type": "video.completed",
        "created": 1764583500,
        "teamId": "665f1b2a9c31a2b3c4d5e000",
        "livemode": true,
        "data": {
          "videoId": "665f1b2a9c31a2b3c4d5e801",
          "name": "Ocean facts",
          "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5e801/status"
        }
      }
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}
```

### Send a test event to a webhook endpoint

`POST /webhooks/{id}/test`

Sends a signed webhook.test event to the endpoint now and answers with what happened: ok, the receiver's HTTP status, the error and the response time, plus the delivery record. Use it to check the URL is reachable and your signature check works. A test is attempted once and never retried.

- Scopes: `webhooks:write`
- Credits: none
- Rate limit: 10 per 60s
- CLI: `faceless webhooks test`
- MCP tool: `faceless_test_webhook`

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/webhooks/<id>/test" \
  -H "Authorization: Bearer $FACELESS_API_KEY"
```

Response:

```json
{
  "success": true,
  "data": {
    "ok": true,
    "statusCode": 200,
    "error": null,
    "responseMs": 182,
    "delivery": {
      "id": "6750a1b2c3d4e5f6a7b8c9e1",
      "endpointId": "6750a1b2c3d4e5f6a7b8c9d0",
      "eventId": "evt_9c1f0e7a2b3d4c5e6f708192",
      "type": "webhook.test",
      "status": "succeeded",
      "attempts": 1,
      "nextAttemptAt": null,
      "lastAttemptAt": "2026-12-01T10:05:00.000Z",
      "lastStatusCode": 200,
      "lastError": null,
      "lastResponseMs": 143,
      "deliveredAt": "2026-12-01T10:05:00.000Z",
      "createdAt": "2026-12-01T10:05:00.000Z",
      "payload": {
        "id": "evt_9c1f0e7a2b3d4c5e6f708192",
        "object": "event",
        "type": "video.completed",
        "created": 1764583500,
        "teamId": "665f1b2a9c31a2b3c4d5e000",
        "livemode": true,
        "data": {
          "videoId": "665f1b2a9c31a2b3c4d5e801",
          "name": "Ocean facts",
          "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5e801/status"
        }
      }
    },
    "docsUrl": "https://faceless.so/developers/docs/webhooks"
  }
}
```

### Redeliver a webhook event

`POST /webhooks/{id}/redeliver`

Sends one delivery from the endpoint's log again now (a failed one after you fixed your receiver, or any you want replayed). The event keeps its id, so a receiver that dedupes on the event id (recommended) handles a replay safely.

- Scopes: `webhooks:write`
- Credits: none
- Rate limit: 30 per 60s
- CLI: `faceless webhooks redeliver`

Body fields:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `deliveryId` | string | yes | Delivery id from GET /webhooks/{id}/deliveries |

Example:

```bash
curl -s -X POST "https://faceless.so/api/v1/webhooks/<id>/redeliver" \
  -H "Authorization: Bearer $FACELESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"deliveryId":"6750a1b2c3d4e5f6a7b8c9e1"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "ok": true,
    "delivery": {
      "id": "6750a1b2c3d4e5f6a7b8c9e1",
      "endpointId": "6750a1b2c3d4e5f6a7b8c9d0",
      "eventId": "evt_9c1f0e7a2b3d4c5e6f708192",
      "type": "video.completed",
      "status": "succeeded",
      "attempts": 1,
      "nextAttemptAt": null,
      "lastAttemptAt": "2026-12-01T10:05:00.000Z",
      "lastStatusCode": 200,
      "lastError": null,
      "lastResponseMs": 143,
      "deliveredAt": "2026-12-01T10:05:00.000Z",
      "createdAt": "2026-12-01T10:05:00.000Z",
      "payload": {
        "id": "evt_9c1f0e7a2b3d4c5e6f708192",
        "object": "event",
        "type": "video.completed",
        "created": 1764583500,
        "teamId": "665f1b2a9c31a2b3c4d5e000",
        "livemode": true,
        "data": {
          "videoId": "665f1b2a9c31a2b3c4d5e801",
          "name": "Ocean facts",
          "statusUrl": "/https/faceless.so/api/v1/videos/665f1b2a9c31a2b3c4d5e801/status"
        }
      }
    }
  }
}
```

