Skip to the main content

REST API v1

120 endpoints in 17 groups. Base URL, auth, envelope and errors are shared, so the rest is parameters.

Base URL, auth and the envelope

Base URL

Every path is relative to https://looptake.com/api/v1. The version is in the path.

Authentication

Keys start with lt_live_ and carry scopes, checked first. See authentication and scopes.

Auth

curl "https://looptake.com/api/v1/me" -H "Authorization: Bearer lt_live_…"
curl "https://looptake.com/api/v1/me" -H "X-API-Key: lt_live_…"

Errors

9 types, one status each. See errors and rate limits.

Error body

{
  "success": false,
  "error": {
    "type": "forbidden_scope",
    "message": "This key does not carry posts:write."
  }
}
TypeStatus
invalid_input400
unauthorized401
forbidden_scope403
not_found404
conflict409
insufficient_credits402
usage_limit_reached429
rate_limited429
internal_error500

120 endpoints, 17 resources

Identity

What this key can do, which team it belongs to, and how many credits that team has left.

GET/me

Introspect the key.

  • No credits
  • Any scope
  • 600 per 300s

Returns the key’s team, credit balance, usage this month against the team limits, default workspace and scopes. Needs no scope, so use it as a health check.

  • The key secret is never returned.
  • usage.metrics has one row per metered limit. The limits are the same for every team. limit and remaining are null when the line is unlimited. These counters decide 429 usage_limit_reached.

Request

curl "https://looptake.com/api/v1/me" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "team": {
      "id": "e7293116-fd57-4456-8da0-032f4976145f",
      "name": "Northwind Labs"
    },
    "credits": {
      "balance": 17366,
      "periodEnd": "2026-09-01T00:00:00Z"
    },
    "usage": {
      "periodStart": "2026-08-01",
      "metrics": [
        {
          "metric": "turbo_posts",
          "used": 291,
          "limit": 10000,
          "remaining": 9709
        },
        {
          "metric": "content_pieces",
          "used": 12,
          "limit": 10000,
          "remaining": 9988
        },
        {
          "metric": "automations",
          "used": 1,
          "limit": 500,
          "remaining": 499
        },
        {
          "metric": "generations",
          "used": 140,
          "limit": 10000,
          "remaining": 9860
        }
      ]
    },
    "defaultWorkspace": {
      "id": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "name": "Northwind",
      "websiteUrl": "https://northwind.example"
    },
    "key": {
      "id": "d81ed241-9404-4a1a-8864-242ecc540416",
      "name": "CI publisher",
      "scopes": [
        "generations:read",
        "generations:write",
        "posts:read",
        "posts:write"
      ],
      "createdAt": "2026-07-02T09:14:00Z",
      "lastUsedAt": "2026-08-12T11:02:41Z"
    }
  }
}

Credits

The balance and every movement in it, including the automatic refunds for failed generations.

GET/credits

Read the balance and the ledger.

  • No credits
  • credits:read
  • 600 per 300s
  • Paginated

The balance is per team. Ledger entries are signed: top-ups, rewards and refunds are positive, spends are negative. A refund names the job it reverses in refId. A charge of the saved card, by hand or by auto top-up, is a `topup` entry.

  • Newest first. Entries are never edited or removed.
  • Lab holds and refunds include the model that ran.

Query parameters

NameTypeRequiredDescription
typeenumOptionalFilters the ledger to one kind of movement. One of: topup, spending, spin, reward, refund, carry_expired.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.

Request

curl "https://looptake.com/api/v1/credits?type=refund&limit=2" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "balance": 17366,
    "ledger": [
      {
        "id": "f4451e86-4d4f-409f-aefb-02e1ca406365",
        "credits": 1361,
        "type": "refund",
        "spendingType": "studio_render",
        "model": null,
        "refId": "c02119cb-ed7a-40ed-87fe-c18edc1fa1a2",
        "createdAt": "2026-08-11T18:22:07Z"
      },
      {
        "id": "87d5ca77-433e-4ffc-870a-b33e3c2d4c76",
        "credits": 600,
        "type": "refund",
        "spendingType": "influencer_video_per_second",
        "model": null,
        "refId": "08363fcd-f524-4126-b68d-fd64f2f9c09e",
        "createdAt": "2026-08-04T07:41:55Z"
      }
    ]
  },
  "pagination": {
    "total": 6,
    "page": 1,
    "limit": 2,
    "pages": 3
  }
}

GET/billing/history

Read every paid top-up.

  • No credits
  • credits:read
  • 600 per 300s
  • Paginated

Lists top-ups for this team, newest first, with no date cutoff. Each row includes the amount in cents, credits, payment method, UTC date and receipt link when available.

  • A receipt link is absent when the paid charge did not supply one.

Query parameters

NameTypeRequiredDescription
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.

Request

curl "https://looptake.com/api/v1/billing/history?limit=25" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "f4451e86-4d4f-409f-aefb-02e1ca406365",
      "amountCents": 2000,
      "credits": 20000,
      "currency": "usd",
      "method": "card",
      "receiptUrl": null,
      "createdAt": "2026-08-11T18:22:07Z"
    }
  ],
  "pagination": {
    "total": 1,
    "page": 1,
    "limit": 25,
    "pages": 1
  }
}

GET/billing/statements/{month}

Read or download a monthly statement.

  • No credits
  • credits:read
  • 600 per 300s

Uses a UTC calendar month. Returns opening balance, top-ups, spend, refunds, other movements and closing balance in credits. Spend is grouped by workspace and model. Team billing details appear on the statement. Open holds count as spend. Refunds appear in the month they return. The current month can change.

  • 1 credit = $0.001. Opening + top-ups - spend + refunds + other movements = closing.
  • Use the /csv or /html endpoint to download this statement.
  • Monthly spend caps refuse new holds with 402 insufficient_credits. An owner or admin can change caps in settings.

Path parameters

NameTypeDescription
monthstringYYYY-MM, from 1970-01 to the current UTC month.

Request

curl "https://looptake.com/api/v1/billing/statements/2026-08" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "month": "2026-08",
    "details": {
      "company": "Example Studio",
      "address": "1 Main Street",
      "taxId": "T-123"
    },
    "openingBalance": 10000,
    "topupCredits": 20000,
    "spendCredits": 1500,
    "refundCredits": 500,
    "adjustmentCredits": 0,
    "closingBalance": 29000,
    "byWorkspace": [
      {
        "id": "c02119cb-ed7a-40ed-87fe-c18edc1fa1a2",
        "name": "Studio",
        "spendCredits": 1500,
        "refundCredits": 500
      }
    ],
    "byModel": [
      {
        "id": "google/veo-3.1-fast",
        "name": "google/veo-3.1-fast",
        "spendCredits": 1500,
        "refundCredits": 500
      }
    ]
  }
}

GET/billing/statements/{month}/csv

Download a monthly statement as CSV.

  • No credits
  • credits:read
  • 600 per 300s

The same totals and billing details as the JSON statement. Dates use UTC calendar months.

  • This file response does not use the JSON envelope.

Path parameters

NameTypeDescription
monthstringYYYY-MM, from 1970-01 to the current UTC month.

Request

curl "https://looptake.com/api/v1/billing/statements/2026-08/csv" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (text/csv)

"Section","Name","ID","Credits","USD"

GET/billing/statements/{month}/html

Open a printable monthly statement.

  • No credits
  • credits:read
  • 600 per 300s

The same totals and billing details as the JSON statement. Dates use UTC calendar months.

  • This file response does not use the JSON envelope.

Path parameters

NameTypeDescription
monthstringYYYY-MM, from 1970-01 to the current UTC month.

Request

curl "https://looptake.com/api/v1/billing/statements/2026-08/html" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (text/html)

<!doctype html><html lang="en"><title>Looptake statement</title><h1>Monthly statement: 2026-08</h1></html>

Workspaces

A workspace is a brand. Everything with content in it is workspace-scoped.

GET/workspaces

List the team’s workspaces.

  • No credits
  • workspaces:read
  • 600 per 300s

Lists every workspace, archived ones included. `archivedAt` is null on a live workspace. `brandRefreshedAt` is null until the site has been analysed.

  • Order: live first, then the default, then oldest first. A key pinned to one workspace sees only that one.

Request

curl "https://looptake.com/api/v1/workspaces" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "name": "Northwind",
      "websiteUrl": "https://northwind.example",
      "logoUrl": "https://cdn.looptake.com/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/logo.png",
      "isDefault": true,
      "archivedAt": null,
      "brandRefreshedAt": "2026-08-09T06:00:12Z",
      "createdAt": "2026-07-01T13:55:00Z"
    },
    {
      "id": "d0e2f3a4-5b6c-4d7e-8f90-1a2b3c4d5e6f",
      "name": "Northwind Trade",
      "websiteUrl": null,
      "logoUrl": null,
      "isDefault": false,
      "archivedAt": "2026-08-10T09:12:44Z",
      "brandRefreshedAt": null,
      "createdAt": "2026-07-14T08:30:00Z"
    }
  ]
}

POST/workspaces

Create a workspace.

  • No credits
  • workspaces:write
  • 600 per 300s

A `websiteUrl` queues a crawl that builds the brand context. The brand analysis is billed from the model’s receipt; with an empty balance it is skipped. Over the team’s workspace limit is `429 usage_limit_reached`.

  • Only live workspaces count toward the cap.

Body fields

NameTypeRequiredDescription
namestringRequiredBrand name.
websiteUrlstringOptionalSite to read the brand context from. Queues a crawl. Format: uri.
logoUrlstringOptionalOverrides the logo found on the site. Format: uri.

Request

curl -X POST "https://looptake.com/api/v1/workspaces" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Northwind",
  "websiteUrl": "https://northwind.example"
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "name": "Northwind",
    "websiteUrl": "https://northwind.example",
    "logoUrl": null,
    "isDefault": false,
    "archivedAt": null,
    "brandRefreshedAt": null,
    "createdAt": "2026-08-12T11:04:20Z"
  }
}

GET/workspaces/{id}

Read a workspace and its brand context.

  • No credits
  • workspaces:read
  • 600 per 300s

Returns the workspace and its brand context: identity, audience, tone, value propositions, content angles, keywords, competitors and palette, with source URLs. An archived workspace returns 200 with `archivedAt` set.

Path parameters

NameTypeDescription
idstringThe workspace id.

Request

curl "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "name": "Northwind",
    "websiteUrl": "https://northwind.example",
    "isDefault": true,
    "archivedAt": null,
    "brandContext": {
      "identity": "Inventory forecasting for independent retailers.",
      "audience": "Owner-operators running one to five shops.",
      "tone": "Direct, numerate, no jargon.",
      "valueProps": [
        "Stops dead stock",
        "Reorders before the shelf empties"
      ],
      "contentAngles": [
        "The cost of one stockout",
        "What a good reorder point looks like"
      ],
      "keywords": [
        "inventory forecasting",
        "reorder point",
        "dead stock"
      ],
      "competitors": [
        "Inventory Planner"
      ],
      "palette": [
        "#0b3d2e",
        "#f4f1ea"
      ],
      "sourceUrl": "https://northwind.example",
      "refreshedAt": "2026-08-09T06:00:12Z"
    }
  }
}

PATCH/workspaces/{id}

Correct a workspace’s name, handle, site, logo or timezone.

  • No credits
  • workspaces:write
  • 600 per 300s

Omitted fields are unchanged. Send `websiteUrl: null` or `logoUrl: null` to clear them; `name`, `slug` and `timezone` cannot be cleared. Changing `websiteUrl` does not re-read the site; call `POST /brand/analyze`. `timezone` defaults to `UTC` and sets how automation posting times are read. An empty body is `400 invalid_input`.

  • Changing `websiteUrl` does not update the brand context. Call POST /brand/analyze.

Path parameters

NameTypeDescription
idstringThe workspace id.

Body fields

NameTypeRequiredDescription
namestringOptionalThe brand’s display name.
slugstringOptionalURL handle, unique in the team. Slugified on save; a taken handle is `400 invalid_input`.
websiteUrlstringOptionalBrand site. `null` clears it. Format: uri.
logoUrlstringOptionalLogo URL. `null` clears it. Format: uri.
timezonestringOptionalIANA time zone, for example `Europe/Lisbon`. Schedules in this workspace use it.

Request

curl -X PATCH "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Northwind Supply",
  "timezone": "Europe/Lisbon"
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "name": "Northwind Supply",
    "websiteUrl": "https://northwind.example",
    "logoUrl": null,
    "isDefault": true,
    "archivedAt": null,
    "brandRefreshedAt": "2026-08-12T09:00:00Z",
    "createdAt": "2026-07-01T09:00:00Z"
  }
}

POST/workspaces/{id}/archive

Archive a workspace.

  • No credits
  • workspaces:write
  • 600 per 300s

Pauses a workspace. Nothing is cancelled, but scheduled posts are withheld at their slot and launched automations stop scheduling runs. A post already publishing is not interrupted. Returns the withheld counts. `POST /workspaces/{id}/restore` resumes the work.

  • Archiving the default workspace is `409` while another workspace is live. Set a new default first with POST /workspaces/{id}/default.
  • Archiving the last live workspace is allowed. Calls that omit `workspaceId` then return `400 invalid_input`.
  • An already archived workspace is `409`. Archiving frees a workspace slot.
  • While archived, these return `409 conflict`: POST /posts, POST /content/{format}, POST /influencers, POST /influencers/{id}/videos, POST /automations and POST /automations/{id}/launch. Reads, cancellations, deletes and suggestion generation still work.

Path parameters

NameTypeDescription
idstringThe workspace id.

Request

curl -X POST "https://looptake.com/api/v1/workspaces/d0e2f3a4-5b6c-4d7e-8f90-1a2b3c4d5e6f/archive" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "d0e2f3a4-5b6c-4d7e-8f90-1a2b3c4d5e6f",
    "name": "Northwind Trade",
    "isDefault": false,
    "archivedAt": "2026-08-10T09:12:44Z",
    "withheldPosts": 12,
    "withheldAutomations": 1
  }
}

POST/workspaces/{id}/restore

Restore an archived workspace.

  • No credits
  • workspaces:write
  • 600 per 300s

Un-archives a workspace. Withheld posts whose slot passed are queued to publish now; later posts keep their slot. The workspace does not become the default again.

  • A workspace that is not archived is `409`.
  • Restoring needs a free workspace slot, else `429 usage_limit_reached`.
  • To resume an automation whose launch was refused while archived, call POST /automations/{id}/launch again.

Path parameters

NameTypeDescription
idstringThe workspace id.

Request

curl -X POST "https://looptake.com/api/v1/workspaces/d0e2f3a4-5b6c-4d7e-8f90-1a2b3c4d5e6f/restore" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "d0e2f3a4-5b6c-4d7e-8f90-1a2b3c4d5e6f",
    "name": "Northwind Trade",
    "isDefault": false,
    "archivedAt": null,
    "withheldPosts": 0,
    "withheldAutomations": 0
  }
}

POST/workspaces/{id}/default

Set the team’s default workspace.

  • No credits
  • workspaces:write
  • 600 per 300s

Requests that omit `workspaceId` use this workspace. One default per team. An archived workspace cannot be the default.

  • A key pinned to one workspace gets `403 forbidden_scope`.
  • An archived workspace is `409`. Restore it first.

Path parameters

NameTypeDescription
idstringThe workspace id.

Request

curl -X POST "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/default" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "name": "Northwind",
    "isDefault": true,
    "archivedAt": null,
    "withheldPosts": 0,
    "withheldAutomations": 0
  }
}

GET/workspaces/{id}/brand-kit

Read a workspace’s brand kit.

  • No credits
  • workspaces:read
  • 600 per 300s

Returns the render style for this workspace: caption colours, font and position, logo, outro card, watermark and voice. With no kit, returns defaults with `null` colours and `updatedAt: null`.

Path parameters

NameTypeDescription
idstringThe workspace id.

Request

curl "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/brand-kit" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "logoAssetId": "a3c1e2d4-5f60-4718-8a9b-0c1d2e3f4a5b",
    "primaryColor": "#ff0066",
    "secondaryColor": "#1a1a1a",
    "textColor": "#ffffff",
    "font": "body",
    "captions": {
      "preset": "karaoke",
      "fill": "#ffffff",
      "stroke": "#000000",
      "highlight": "#ff0066",
      "position": "bottom"
    },
    "voiceId": "narrator-1",
    "outro": {
      "text": "Follow @northwind",
      "logo": true
    },
    "watermark": true,
    "updatedAt": "2026-08-12T09:00:00Z"
  }
}

PATCH/workspaces/{id}/brand-kit

Change a workspace’s brand kit.

  • No credits
  • workspaces:write
  • 600 per 300s

Omitted fields are unchanged; `null` clears a field. Applies to renders that start after the change. `logoAssetId` must be a PNG image asset in this workspace. Colours are `#rrggbb`.

  • A colour that is not `#rrggbb`, an unknown font or a logo from another workspace is `400 invalid_input`.

Path parameters

NameTypeDescription
idstringThe workspace id.

Body fields

NameTypeRequiredDescription
logoAssetIdstringOptionalAn image asset in this workspace. Used by the outro and the watermark. Format: id.
primaryColorstringOptionalBrand colour, `#rrggbb`. Fills the outro card.
secondaryColorstringOptionalSecond brand colour, `#rrggbb`.
textColorstringOptionalOutro text colour, `#rrggbb`.
fontstringOptional`display`, `body` or `mono`.
captionsobjectOptional`preset` (`karaoke` or `block`), `fill`, `stroke`, `highlight` (colours) and `position` (`top`, `middle`, `bottom`).
voiceIdstringOptionalThe voice used when a request names none.
outroobjectOptional`{ text, logo }`: a 2 second end card. `null` removes it.
watermarkbooleanOptionalDraws the logo, or the workspace name, in the corner.

Request

curl -X PATCH "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/brand-kit" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "primaryColor": "#ff0066",
  "captions": {
    "highlight": "#ff0066"
  },
  "watermark": true
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "logoAssetId": "a3c1e2d4-5f60-4718-8a9b-0c1d2e3f4a5b",
    "primaryColor": "#ff0066",
    "secondaryColor": "#1a1a1a",
    "textColor": "#ffffff",
    "font": "body",
    "captions": {
      "preset": "karaoke",
      "fill": "#ffffff",
      "stroke": "#000000",
      "highlight": "#ff0066",
      "position": "bottom"
    },
    "voiceId": "narrator-1",
    "outro": {
      "text": "Follow @northwind",
      "logo": true
    },
    "watermark": true,
    "updatedAt": "2026-08-12T09:00:00Z"
  }
}

DELETE/workspaces/{id}/brand-kit

Reset a workspace’s brand kit.

  • No credits
  • workspaces:write
  • 600 per 300s

Removes the kit, so later renders use the house look.

Path parameters

NameTypeDescription
idstringThe workspace id.

Request

curl -X DELETE "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/brand-kit" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "removed": true
  }
}

Social accounts

The TikTok, Instagram and YouTube accounts connected over OAuth, and whether their tokens are still good.

GET/accounts

List connected social accounts.

  • No credits
  • accounts:read
  • 600 per 300s

Returns connected accounts. Use these ids in `selectedAccounts` on posts and automations. A post to an `expired` account is accepted but fails at publish time.

Query parameters

NameTypeRequiredDescription
platformenumOptionalFilters to one platform. One of: tiktok, instagram, youtube.
ownerTypeenumOptionalBrand accounts or accounts that belong to an AI influencer. One of: brand, influencer.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/accounts?platform=tiktok" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "ff9d429b-07c5-4320-a98c-ac6e1791b828",
      "platform": "tiktok",
      "handle": "@northwind",
      "displayName": "Northwind",
      "avatarUrl": "https://cdn.looptake.com/ff9d429b-07c5-4320-a98c-ac6e1791b828/avatar.jpg",
      "ownerType": "brand",
      "influencerId": null,
      "scopes": [
        "video.publish",
        "user.info.basic"
      ],
      "status": "connected",
      "expiresAt": "2026-10-02T00:00:00Z"
    }
  ]
}

Generations

Suggestions: a caption, a post body, hashtags, a rationale and a deck. Accepting one turns it into content.

POST/generations

Generate suggestions.

  • No credits
  • generations:write
  • 10 per 300s

Synchronous. Returns finished suggestions, each with caption, platform body, hashtags, hook score, angle and, for a Turbo format, a deck. Billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty. Rate limited to 10 requests per 300 seconds.

  • The deck is returned only by GET /generations/{id}.
  • A batch of any size counts as one request.
  • Each suggestion has a brand-safety `review`: `pass`, `flagged` or `withheld`. A withheld suggestion cannot be accepted. The batch always has `count` suggestions.

Body fields

NameTypeRequiredDescription
countinteger 1-10OptionalHow many suggestions to return. Default 3.
formatenumOptionalFormat for every suggestion. Default: a mix chosen from the brand context. One of: walloftext, slideshow, greenscreen, talkinghead, ugc, characterswap, listicle, ranking, askmeanything, splitscreen, grid2x2, fadein, hookdemo, interview, productspokesperson, greenscreenmobile, clonevideo, statvideo.
promptstringOptionalBrief for this batch. Required in practice when the workspace has no brand profile.
influencerIdstringOptionalWrites in this AI influencer’s voice. Format: id.
workspaceIdstringOptionalWorkspace to write for. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/generations" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "count": 2,
  "format": "walloftext"
}'

Response 201 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
      "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "format": "walloftext",
      "caption": "One stockout costs more than a year of forecasting",
      "postCaption": "The maths nobody runs before they run out.",
      "hashtags": [
        "#retail",
        "#inventory",
        "#smallbusiness"
      ],
      "why": "The pricing objection, answered with the cost of the alternative.",
      "angle": "The cost of one stockout",
      "score": 78,
      "status": "pending",
      "review": {
        "verdict": "pass",
        "findings": []
      },
      "createdAt": "2026-08-12T11:05:02Z"
    },
    {
      "id": "be40861b-3bd3-4b0a-b35f-1aa8835e78eb",
      "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "format": "walloftext",
      "caption": "Your reorder point is a guess. Here is the number.",
      "postCaption": "Three inputs, one number, no spreadsheet.",
      "hashtags": [
        "#inventory",
        "#retailtips"
      ],
      "why": "Teaches the concept the product automates.",
      "angle": "What a good reorder point looks like",
      "score": 71,
      "status": "pending",
      "review": {
        "verdict": "withheld",
        "findings": [
          {
            "rule": "unsupported_claim",
            "severity": "withhold",
            "origin": "rule",
            "quote": "Your reorder point is a guess. Here is the number.",
            "detail": "`guaranteed` asserts something about the product that nothing in the brand context says"
          }
        ]
      },
      "createdAt": "2026-08-12T11:05:02Z"
    }
  ]
}

POST/videos

Make a video from one sentence.

  • 202, poll to finish
  • 89 credits per AI still
  • generations:write
  • 10 per 300s
  • Idempotency-Key

Makes a 9:16 video from a prompt; no brand profile needed. Returns at once; poll GET /videos/{id}. The writing model is billed from its receipt. An explicit `walloftext` format without voice reserves nothing more. Other formats reserve 89 credits for an AI still and 92 for a music track; voice adds 46 credits per started 15 seconds; `broll` adds 156 credits per cutaway. Unused credits are refunded when done, and all credits on failure.

  • Studio formats such as talking heads use POST /content/{kind}.
  • With no voice, if the team cannot cover the still and music, the video is made without them and costs only the writing model.
  • Each output lists its cutaways in `broll`: the time span, the sentence (`text`), the prompt, and `dropped` with the reason when one was not used.

Body fields

NameTypeRequiredDescription
promptstringRequiredThe video idea. Up to 600 characters.
lengthenumOptionalTarget length. Default 30s. One of: 15s, 30s, 60s.
formatenumOptionalDefault `auto`: the agent picks. One of: auto, walloftext, slideshow, greenscreen, listicle, ranking, splitscreen, askmeanything, statvideo, fadein.
languagestringOptionalLanguage of the script, voice and captions. Default en.
voicestringOptionalA voice id such as `nova`. Left out, no voice-over.
countinteger 1-4OptionalHow many videos to make from the best hooks. Default 1.
brollinteger 0-2OptionalAI B-roll cutaways per video: 2 to 4 seconds of generated footage behind the text, each under a spoken sentence that describes something filmable. Needs `voice`. 156 credits per cutaway; one that is not made or not used is refunded. A script with nothing filmable gets none. Default 0.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/videos" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "Three mistakes new runners make, and the fix for each",
  "length": "30s"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "3f2b8f4e-6a51-4c55-9d0b-5c0f1b7e2a10",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "prompt": "Three mistakes new runners make, and the fix for each",
    "length": "30s",
    "format": null,
    "status": "queued",
    "stage": "hook",
    "stages": [
      "hook",
      "script",
      "visuals",
      "voice",
      "captions",
      "music",
      "render"
    ],
    "progress": 0,
    "viralScore": null,
    "hooks": [],
    "outputs": [],
    "creditsReserved": 181,
    "creditsSpent": 0,
    "statusUrl": "https://looptake.com/api/v1/videos/3f2b8f4e-6a51-4c55-9d0b-5c0f1b7e2a10"
  }
}

POST/remix

Remix a viral video onto your topic.

  • 202, poll to finish
  • 89 credits per AI still
  • generations:write
  • 10 per 300s
  • Idempotency-Key

Reads the public title, caption and author of a TikTok, YouTube or Instagram link, extracts its structure (hook, beats, pacing, format, on-screen text) and makes a new video on your topic with that structure. The source video is not downloaded. Default topic: the workspace brand. Poll GET /videos/{id}; `source.structure` shows what was copied. Costs as POST /videos: the writing model from its receipt, 89 credits for the still, 92 for music, 46 per started 15 seconds of voice, 156 per B-roll cutaway.

Body fields

NameTypeRequiredDescription
urlstringRequiredSource video: a TikTok, YouTube or Instagram link, or any page with og tags. Format: uri.
topicstringOptionalTopic of your video. Default: the workspace brand; required if the workspace has no brand.
lengthenumOptionalTarget length. Default 30s. One of: 15s, 30s, 60s.
formatenumOptionalDefault `auto`: taken from the source structure. One of: auto, walloftext, slideshow, greenscreen, listicle, ranking, splitscreen, askmeanything, statvideo, fadein.
languagestringOptionalLanguage of the script, voice and captions. Default en.
voicestringOptionalA voice id such as `nova`. Left out, no voice-over.
countinteger 1-4OptionalHow many videos to make. Default 1.
brollinteger 0-2OptionalAI B-roll cutaways per video, as for POST /videos. Needs `voice`. 156 credits per cutaway; one that is not made or not used is refunded. Default 0.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/remix" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "url": "https://www.tiktok.com/@runcoach/video/7412345678901234567",
  "topic": "Meal prep for night-shift nurses"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "5c1d7a0e-1f2b-4c3d-8e9f-0a1b2c3d4e5f",
    "kind": "remix",
    "prompt": "Meal prep for night-shift nurses",
    "source": {
      "url": "https://www.tiktok.com/@runcoach/video/7412345678901234567",
      "platform": "tiktok",
      "topic": "Meal prep for night-shift nurses"
    },
    "status": "queued",
    "stage": "hook",
    "progress": 0,
    "creditsReserved": 181,
    "statusUrl": "https://looptake.com/api/v1/videos/5c1d7a0e-1f2b-4c3d-8e9f-0a1b2c3d4e5f"
  }
}

POST/clips

Cut a long video into shorts.

  • 202, poll to finish
  • 46 credits per minute of source video
  • generations:write
  • 10 per 300s
  • Idempotency-Key

Cuts a video asset or public media URL into 15 to 60 second 9:16 clips with word-timed captions in your brand kit style. Each clip is a content item with a viral score. Costs 46 credits per started minute of source, plus the model that picks the moments, billed from its receipt. The known length is reserved, or up to 60 minutes if unknown; the rest is refunded. Poll GET /videos/{id}.

  • Each output carries `startMs`, `endMs`, `title`, `hook`, `viralScore`, `contentId` and `previewUrl`.
  • A source longer than the reservation fails and all credits are refunded.

Body fields

NameTypeRequiredDescription
assetIdstringOptionalA video in the asset library. Send this or `mediaUrl`. Format: id.
mediaUrlstringOptionalA public URL of the video file, up to 200 MB. Send this or `assetId`. Format: uri.
countinteger 1-10OptionalHow many clips to cut. Default 3.
lengthenumOptionalMaximum clip length. Minimum is 15 seconds. Default 60s. One of: 15s, 30s, 60s.
languagestringOptionalLanguage of the speech, titles and hooks. Default en.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/clips" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "mediaUrl": "https://cdn.example.com/podcast-ep-12.mp4",
  "count": 5
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "kind": "clip",
    "prompt": "Clips from podcast-ep-12.mp4",
    "count": 5,
    "status": "queued",
    "stage": "ingest",
    "stages": [
      "ingest",
      "transcribe",
      "select",
      "cut"
    ],
    "progress": 0,
    "creditsReserved": 2760,
    "statusUrl": "https://looptake.com/api/v1/videos/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
  }
}

POST/videos/bulk

Make up to 100 videos from a CSV.

  • 202, poll to finish
  • 89 credits per AI still
  • generations:write
  • 10 per 300s
  • Idempotency-Key

Send JSON `{ csv }` or `{ rows }`, a `text/csv` body, or a multipart form with a `file` field. Columns: `prompt` (required), `length`, `format`, `schedule_at`, `accounts`, `voice`, `language`, `made_for_kids`, `broll`. All rows are validated first; one bad row creates nothing and the 400 lists every bad row. A row with `schedule_at` and `accounts` (ids or platform names) posts when its video is ready; YouTube needs `made_for_kids`. Poll GET /videos/bulk/{id}. Each row costs as POST /videos and holds its own credits, `broll` included; each video refunds what it did not use.

  • A row’s `broll` (0 to 2) wins over the batch’s and needs the row’s `voice`; the errors are those of POST /videos.

Body fields

NameTypeRequiredDescription
csvstringOptionalThe CSV text, with a header row. Send this or `rows`.
rowsobject[]OptionalRows as objects with the same keys as the CSV columns. Send this or `csv`.
timezonestringOptionalIANA zone for a `schedule_at` with no offset. Default UTC. Format: timezone.
validateOnlybooleanOptionalValidates the rows and creates nothing. Default false.
brollinteger 0-2OptionalAI B-roll cutaways, as for POST /videos, for each row with a `voice` and no `broll` of its own. A row without a voice gets none. 156 credits per cutaway. Default 0.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/videos/bulk" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "csv": "prompt,length,schedule_at,accounts\n\"Three tips for new runners\",30s,2026-11-02T09:00:00Z,tiktok\n"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "batchId": "2b4c6d8e-0f1a-4b3c-9d5e-7f8a9b0c1d2e",
    "total": 1,
    "queued": 1,
    "running": 0,
    "ready": 0,
    "failed": 0,
    "progress": 0,
    "done": false,
    "statusUrl": "https://looptake.com/api/v1/videos/bulk/2b4c6d8e-0f1a-4b3c-9d5e-7f8a9b0c1d2e",
    "videos": [
      {
        "id": "6e5d4c3b-2a19-4807-b6f5-e4d3c2b1a090",
        "prompt": "Three tips for new runners",
        "status": "queued",
        "stage": "hook",
        "progress": 0,
        "scheduleAt": "2026-11-02T09:00:00Z"
      }
    ]
  }
}

POST/videos/{id}/edit

Re-render a video from edited scenes.

  • 202, poll to finish
  • 89 credits per AI still
  • generations:write
  • 10 per 300s
  • Idempotency-Key

Makes a new video from your scenes, in the format of a ready video. Scene 1 is the hook. No AI rewrite. Poll GET /videos/{id} with the new id. Costs as POST /videos; unused credits are refunded. B-roll cutaways the original already has are reused, not paid for again, where the edit still says their sentence.

  • The video must be `ready`, else `409`. Clips cannot be edited.
  • When the format cannot show every scene, each scene gets its own frame.
  • B-roll is held at 156 credits per cutaway. A cutaway of the original whose sentence the new voice-over still says, with the same words, is placed again from the same clip and re-timed to the new voice; it is marked `reused: true` in the output’s `broll`, and its hold is refunded. A cutaway whose sentence changed or went, or whose clip the provider no longer keeps, is made again and charged. An edit that keeps the narration pays nothing for B-roll.

Path parameters

NameTypeDescription
idstringThe video to edit, from POST /videos or POST /remix.

Body fields

NameTypeRequiredDescription
scenesobject[]RequiredObjects `{ text }`, 1 to 200 characters each, hook first.
outputIndexinteger 0-3OptionalWhich output of the video to edit. Default 0.
voicestringOptionalA voice id. Left out, the original voice; `null`, no voice-over.
musicbooleanOptionalAdds a music track. Default true.
brollinteger 0-2OptionalAI B-roll cutaways, 0 to 2. Needs a voice. Left out, as many as the original asked for, or none when the edit has no voice; `0` removes them.

Request

curl -X POST "https://looptake.com/api/v1/videos/3f2b8f4e-6a51-4c55-9d0b-5c0f1b7e2a10/edit" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "scenes": [
    {
      "text": "New runners make these three mistakes"
    },
    {
      "text": "Too fast, too soon"
    },
    {
      "text": "No rest days"
    }
  ]
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "7d1e2f3a-4b5c-4d6e-8f70-81a2b3c4d5e6",
    "kind": "edit",
    "source": {
      "creationId": "3f2b8f4e-6a51-4c55-9d0b-5c0f1b7e2a10",
      "outputIndex": 0,
      "scenes": [
        "New runners make these three mistakes",
        "Too fast, too soon",
        "No rest days"
      ],
      "music": true
    },
    "status": "queued",
    "stage": "visuals",
    "stages": [
      "visuals",
      "voice",
      "captions",
      "music",
      "render"
    ],
    "progress": 0,
    "creditsReserved": 181,
    "statusUrl": "https://looptake.com/api/v1/videos/7d1e2f3a-4b5c-4d6e-8f70-81a2b3c4d5e6"
  }
}

GET/videos/bulk/{id}

Read a bulk batch’s progress.

  • No credits
  • generations:read
  • 600 per 300s

Returns counts by status, average `progress`, `done` (true when every row is `ready` or `failed`), and each row’s status and outputs.

Path parameters

NameTypeDescription
idstringThe batch id from POST /videos/bulk.

Request

curl "https://looptake.com/api/v1/videos/bulk/2b4c6d8e-0f1a-4b3c-9d5e-7f8a9b0c1d2e" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "batchId": "2b4c6d8e-0f1a-4b3c-9d5e-7f8a9b0c1d2e",
    "total": 2,
    "queued": 0,
    "running": 1,
    "ready": 1,
    "failed": 0,
    "progress": 70,
    "done": false,
    "videos": []
  }
}

GET/generations

List suggestions.

  • No credits
  • generations:read
  • 10 per 300s
  • Paginated

Excludes suggestions owned by an automation; read those with GET /automations/{id}/posts.

Query parameters

NameTypeRequiredDescription
statusenumOptionalFilters by lifecycle status. One of: pending, accepted, scheduled, discarded.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/generations?status=pending&limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
      "format": "walloftext",
      "caption": "One stockout costs more than a year of forecasting",
      "hashtags": [
        "#retail",
        "#inventory"
      ],
      "score": 78,
      "status": "pending",
      "reviewVerdict": "pass",
      "automationId": null,
      "createdAt": "2026-08-12T11:05:02Z"
    }
  ],
  "pagination": {
    "total": 34,
    "page": 1,
    "limit": 1,
    "pages": 34
  }
}

GET/generations/{id}

Read one suggestion in full.

  • No credits
  • generations:read
  • 10 per 300s

Adds the rationale, the deck and the full brand-safety review. The deck is the editable render blueprint; an edited deck sent to POST /posts renders as sent. The review has one finding per problem, with the quoted phrase.

Path parameters

NameTypeDescription
idstringThe suggestion id.

Request

curl "https://looptake.com/api/v1/generations/6522d1ec-2c11-4d3a-b078-6f6cfe9f217b" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
    "format": "walloftext",
    "caption": "One stockout costs more than a year of forecasting",
    "postCaption": "The maths nobody runs before they run out.",
    "hashtags": [
      "#retail",
      "#inventory",
      "#smallbusiness"
    ],
    "why": "The pricing objection, answered with the cost of the alternative.",
    "angle": "The cost of one stockout",
    "score": 78,
    "status": "pending",
    "review": {
      "verdict": "pass",
      "findings": []
    },
    "deck": {
      "version": 1,
      "ratio": "9:16",
      "durationMs": 8000,
      "fps": 30,
      "background": {
        "kind": "clip",
        "src": "a7273471-d932-4f9a-958e-79abdd1f3fd7"
      },
      "slides": [
        {
          "startMs": 0,
          "endMs": 8000,
          "boxes": [
            {
              "id": "hook",
              "text": "One stockout costs more than a year of forecasting",
              "rect": {
                "x": 0.08,
                "y": 0.18,
                "w": 0.84,
                "h": 0.34
              }
            }
          ]
        }
      ],
      "captions": {
        "enabled": true,
        "style": "karaoke",
        "position": 0.78
      }
    }
  }
}

POST/generations/{id}/accept

Accept a suggestion into content.

  • No credits
  • generations:write
  • 10 per 300s

Turns a suggestion into a content piece and returns its `contentId` for POST /posts. Counts against the team’s monthly content limit. A Studio format starts rendering.

  • Accepting twice returns the same content id.
  • A withheld suggestion is `409 conflict` and uses no quota. POST /posts with its `suggestionId` is refused the same way.

Path parameters

NameTypeDescription
idstringThe suggestion id.

Request

curl -X POST "https://looptake.com/api/v1/generations/6522d1ec-2c11-4d3a-b078-6f6cfe9f217b/accept" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 201 (application/json)

{
  "success": true,
  "data": {
    "contentId": "c02119cb-ed7a-40ed-87fe-c18edc1fa1a2",
    "generationId": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
    "format": "walloftext",
    "renderStatus": "pending",
    "creditsSpent": 0
  }
}

POST/generations/{id}/variants

Create A/B hook variants.

  • No credits
  • generations:write
  • 10 per 300s

Rewrites only the hook. Angle, deck, format and hashtags are kept. Each variant is a new suggestion with its own id and hook score. Billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty.

Path parameters

NameTypeDescription
idstringThe suggestion to vary.

Body fields

NameTypeRequiredDescription
countinteger 2-5OptionalHow many variants to write. Default 3.

Request

curl -X POST "https://looptake.com/api/v1/generations/6522d1ec-2c11-4d3a-b078-6f6cfe9f217b/variants" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "count": 2
}'

Response 201 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "ba2bfff0-0078-45f8-8352-0967f185cba5",
      "remixSource": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
      "caption": "The stockout you did not budget for",
      "score": 74,
      "status": "pending",
      "reviewVerdict": "pass"
    },
    {
      "id": "e70157dd-5ee2-4667-a594-61f9c20ebaf7",
      "remixSource": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
      "caption": "Empty shelf, full warehouse. Both cost the same.",
      "score": 81,
      "status": "pending"
    }
  ]
}

Posts and calendar

Scheduling and publishing, with one result row per platform account and the analytics that came back.

POST/posts

Create and schedule a post.

  • No credits
  • posts:write
  • 60 per 300s
  • Idempotency-Key

Needs one content source. If more than one is sent, the first in this order wins: `suggestionId`, `contentId`, `deck` with `format`, `videoUrl` or `images`. A `deck`, `videoUrl` or `images` post returns 202 with a `statusUrl` while the media is rendered or fetched.

  • `approvalStatus`: `pending` means a person must release the post; it does not publish at its time. `null` means no approval is needed.
  • A `deck`, `videoUrl` or `images` post returns 202. Poll `statusUrl` until the status is terminal.
  • Media URLs are fetched once, at creation. A URL that redirects to a private address, is not a video or image, or is over 200 MB fails the render with the reason on the post.
  • A video too long for YouTube Shorts or in an aspect ratio Instagram refuses fails the post before publishing.
  • A YouTube post without `declarations.madeForKids` is refused before rendering or charging.
  • An unknown field is a 400. `firstComment` is accepted only inside `perPlatform`.
  • Honours `Idempotency-Key`. Same key and body replays the response; same key with a different body is 409.
  • Sixty requests per 300 seconds per key.

Body fields

NameTypeRequiredDescription
suggestionIdstringOptionalSource 1. Accepts the suggestion and posts it. Format: id.
contentIdstringOptionalSource 2. An accepted content piece. Format: id.
deckobjectOptionalSource 3. A render blueprint. Needs `format`. Returns 202.
formatenumOptionalRequired with `deck`, ignored otherwise. One of: walloftext, slideshow, greenscreen, talkinghead, ugc, characterswap, listicle, ranking, askmeanything, splitscreen, grid2x2, fadein, hookdemo, interview, productspokesperson, greenscreenmobile, clonevideo, statvideo.
videoUrlstringOptionalSource 4. A media URL, copied to our storage before publishing. Returns 202. Format: uri.
imagesstring[]OptionalSource 4. Image URLs. Only the first image is published, as a single still; the rest are stored but not sent. Returns 202.
thumbnailUrlstringOptionalCover frame. Used only with `videoUrl`. Format: uri.
selectedAccountsobjectRequiredPlatform to account ids, for example {"tiktok":["ff9d429b-07c5-4320-a98c-ac6e1791b828"]}. At least one list must be non-empty.
scheduleenumOptional`asap` publishes when the render finishes (status `queued`). `scheduled` publishes at `scheduledTime`. `draft` saves it and publishes nothing until POST /posts/{id}/publish; a draft with a `scheduledTime` then goes out at that time. Default asap. One of: asap, scheduled, draft.
scheduledTimestringOptionalISO 8601, in the future. Required for `scheduled`, optional for `draft`. Format: date-time.
timezonestringOptionalIANA zone for the schedule, for example Europe/Lisbon. Default UTC. Format: timezone.
captionstringOptionalOverrides the platform body. Checked against the length limit of each platform that receives it.
hashtagsstring[]OptionalAppended to the caption, per platform convention.
perPlatformobjectOptionalPer-platform `caption`, `hashtags`, `title` and `firstComment`, keyed by platform, for example `{"tiktok":{"caption":"…"},"youtube":{"title":"…"}}`. Omitted fields inherit the post’s. `title` is YouTube only. `firstComment` is Instagram and YouTube only, and not allowed with `draft` or `inbox`. Naming a platform the post does not target is a 400. Caption limits are checked per platform. The first comment is posted after the post is live; if it fails, the post stays `posted` and the target’s `firstComment` has the error.
ownerTypeenumOptionalWhose accounts publish the post. Default brand. One of: brand, influencer.
influencerIdstringOptionalRequired when `ownerType` is `influencer`. Format: id.
publishModeenumOptional`publish` goes live. `draft` makes a private YouTube upload (YouTube only). `inbox` sends the video to the TikTok app (TikTok only). One value applies to all targets; a platform that cannot honour it is a 400. For YouTube `draft` with TikTok, set `tiktokSendToInbox`. Default publish. One of: publish, draft, inbox.
tiktokSendToInboxbooleanOptionalSends only the TikTok target to the creator’s TikTok inbox. No caption is sent; paste it in the app. Default false.
tiktokOptionsobjectOptionalTikTok options: `disableComment`, `disableDuet`, `disableStitch`, or `allowComments`, `allowDuet`, `allowStitch`. Omitted options use the account default.
declarationsobjectOptionalPlatform declarations. `madeForKids` (YouTube) is required when the post targets YouTube, else 400. `brandedContent` (paid partnership) and `brandOrganic` (own business) go to TikTok. `aiGenerated` sets TikTok `is_aigc`; `containsSyntheticMedia` sets the YouTube field. Omitted values are not sent. Instagram gets none. An unknown key is a 400.
workspaceIdstringOptionalWorkspace for the post. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/posts" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "suggestionId": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
  "selectedAccounts": {
    "tiktok": [
      "ff9d429b-07c5-4320-a98c-ac6e1791b828"
    ],
    "youtube": [
      "1c74c860-000b-4136-88a7-a17f31019346"
    ]
  },
  "schedule": "scheduled",
  "scheduledTime": "2026-09-01T15:00:00Z",
  "timezone": "Europe/Lisbon",
  "declarations": {
    "madeForKids": false,
    "brandedContent": true,
    "aiGenerated": true,
    "containsSyntheticMedia": true
  }
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "scheduled",
    "renderStatus": "pending",
    "scheduledTime": "2026-09-01T15:00:00Z",
    "timezone": "Europe/Lisbon",
    "approvalStatus": "pending",
    "statusUrl": "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef",
    "targets": [
      {
        "accountId": "ff9d429b-07c5-4320-a98c-ac6e1791b828",
        "platform": "tiktok",
        "status": "scheduled"
      },
      {
        "accountId": "1c74c860-000b-4136-88a7-a17f31019346",
        "platform": "youtube",
        "status": "scheduled"
      }
    ]
  }
}

POST/posts/preview

See what each platform would receive, before the post exists.

  • No credits
  • posts:write
  • 60 per 300s

Takes a `POST /posts` body and returns the publish request each selected account would get: text, YouTube title, visibility, TikTok options and declarations. Writes, queues and charges nothing. A caption too long for one account or a missing `declarations.madeForKids` is a `refusal` on that target with a 200 overall. Other errors match `POST /posts`.

  • `bodyText` is the caption and hashtags as sent. It is `null` for a TikTok target in `inbox` mode.
  • `title` is set for YouTube only: `perPlatform.youtube.title`, or else the first caption line cut to 100 characters.
  • `firstComment` is the comment posted under the post after it is live, or `null`. Always `null` on TikTok.
  • `privacy` is always `public`.
  • `coverMs` is the frame TikTok or Instagram gets as the cover: the poster of a video Looptake rendered. It is `null` for an uploaded video and for YouTube, which gets the poster image as a custom thumbnail after upload when the channel may set one.
  • `notSent` lists accepted fields that no platform receives: `thumbnailUrl`, and `images[1:]` (only the first image is published).
  • `measured` is false unless `contentId` names a finished render. Length and shape checks then run at ingest and at publish.
  • `refusal` is the reason a target will not publish. Other targets still publish.
  • An unknown field is a 400. `firstComment` is accepted only inside `perPlatform`.
  • Sixty requests per 300 seconds per key, shared with the rest of `/posts`.

Body fields

NameTypeRequiredDescription
selectedAccountsobjectRequiredPlatform to account ids, as on `POST /posts`. One target is returned per account.
contentIdstringOptionalA rendered content piece. Its length and aspect ratio are checked against each platform; see `measured`. Format: id.
captionstringOptionalCaption body, trimmed. Empty if not sent.
hashtagsstring[]OptionalAppended to `bodyText`, each with one leading #.
perPlatformobjectOptionalAs on `POST /posts`. Each target returns its own `bodyText` and `title`.
publishModeenumOptionalAs on `POST /posts`. A mode a platform cannot honour is a 400. Default publish. One of: publish, draft, inbox.
tiktokSendToInboxbooleanOptionalSends the TikTok target to the creator’s inbox. That target returns null `bodyText` and empty `declarations`. Default false.
tiktokOptionsobjectOptionalAs on `POST /posts`. Returns the values the publisher would send.
declarationsobjectOptionalAs on `POST /posts`. Each target lists only its platform’s declarations, with null where none was stated.
workspaceIdstringOptionalWorkspace of the accounts. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/posts/preview" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "selectedAccounts": {
    "tiktok": [
      "ff9d429b-07c5-4320-a98c-ac6e1791b828"
    ],
    "youtube": [
      "1c74c860-000b-4136-88a7-a17f31019346"
    ]
  },
  "caption": "One stockout costs more than a year of forecasting",
  "hashtags": [
    "retail",
    "ops"
  ],
  "perPlatform": {
    "tiktok": {
      "caption": "Your stockroom is lying to you",
      "hashtags": [
        "fyp"
      ]
    }
  },
  "declarations": {
    "brandedContent": true,
    "aiGenerated": true,
    "containsSyntheticMedia": false
  }
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "measured": false,
    "durationSeconds": null,
    "ratio": null,
    "notSent": [
      "thumbnailUrl",
      "images[1:]"
    ],
    "targets": [
      {
        "accountId": "ff9d429b-07c5-4320-a98c-ac6e1791b828",
        "platform": "tiktok",
        "publishMode": "publish",
        "uploadSource": "url",
        "bodyText": "Your stockroom is lying to you #fyp",
        "title": null,
        "privacy": "public",
        "interaction": {
          "disableComment": false,
          "disableDuet": false,
          "disableStitch": false
        },
        "firstComment": null,
        "coverMs": null,
        "declarations": [
          {
            "field": "declarations.brandedContent",
            "stated": true
          },
          {
            "field": "declarations.brandOrganic",
            "stated": null
          },
          {
            "field": "declarations.aiGenerated",
            "stated": true
          }
        ],
        "refusal": null
      },
      {
        "accountId": "1c74c860-000b-4136-88a7-a17f31019346",
        "platform": "youtube",
        "publishMode": "publish",
        "uploadSource": "bytes",
        "bodyText": "One stockout costs more than a year of forecasting #retail #ops",
        "title": "One stockout costs more than a year of forecasting",
        "privacy": "public",
        "interaction": null,
        "firstComment": null,
        "coverMs": null,
        "declarations": [
          {
            "field": "declarations.madeForKids",
            "stated": null
          },
          {
            "field": "declarations.containsSyntheticMedia",
            "stated": false
          }
        ],
        "refusal": {
          "message": "YouTube requires `declarations.madeForKids` on every upload and this post does not state it"
        }
      }
    ]
  }
}

POST/posts/import

Turn a spreadsheet into a calendar, all of it or none of it.

  • No credits
  • posts:write
  • 60 per 300s
  • Idempotency-Key

One CSV, up to 100 rows, in one transaction. Columns: `caption` and `videoUrl` (required in every row), and optional `scheduledTime` and `hashtags`, in any order. An unknown column is a 400. All rows are validated first; one bad row imports nothing and the 400 lists every bad row. Posts are saved as drafts unless `schedule` is `scheduled`.

  • The whole file is written in one transaction, or nothing is.
  • A rejected file returns `400 invalid_input`. `message` has a header line, then one `line {n}: {reason}` line per bad row in file order. `{n}` counts physical lines from 1. File content is never echoed.
  • A duplicated column heading is a 400. `hashtags` may be separated by spaces or commas.
  • Each video URL is fetched after commit with the same checks and 200 MB limit as `POST /posts`. A bad URL fails only that post’s render.
  • At most 100 rows; more is a 400.
  • A file with no data rows, or an empty `csv`, is a 400.
  • Honours `Idempotency-Key`. Use it: this is the slowest call, so a retry after a timeout is likely.
  • Sixty requests per 300 seconds per key, shared with the rest of `/posts`.

Body fields

NameTypeRequiredDescription
csvstringRequiredCSV text with a header row. The ceiling is 512 KB maximum; a larger body is a 400.
selectedAccountsobjectRequiredPlatform to account ids, as on `POST /posts`. Applies to every row.
scheduleenumOptional`draft` (default) saves every post as a draft; publish each with POST /posts/{id}/publish. `scheduled` publishes each row at its `scheduledTime`, which every row then needs. No `asap`. Default draft. One of: draft, scheduled.
timezonestringOptionalIANA zone for the file’s times and the stored posts. Required when the file has a `scheduledTime` column. A full ISO 8601 time with an offset uses its own offset. With no `scheduledTime` column, the workspace zone is used. Format: timezone.
declarationsobjectOptionalAs on `POST /posts`, one value for the whole file. A YouTube account without `madeForKids` is a 400.
validateOnlybooleanOptionalValidates the file and writes nothing. Each entry has its line and resolved UTC `scheduledTime`; `imported` is 0 and no entry has an `id`. Use it to check the time zone. Default false.
workspaceIdstringOptionalWorkspace for the posts. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/posts/import" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "csv": "caption,videoUrl,scheduledTime,hashtags\nOne stockout costs more than a year of forecasting,https://cdn.example/stockout.mp4,2026-09-01 15:00,retail ops\nYour stockroom is lying to you,https://cdn.example/stockroom.mp4,2026-09-02 15:00,retail\n",
  "selectedAccounts": {
    "tiktok": [
      "ff9d429b-07c5-4320-a98c-ac6e1791b828"
    ]
  },
  "schedule": "draft",
  "timezone": "Europe/Lisbon",
  "declarations": {
    "aiGenerated": true
  }
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "validateOnly": false,
    "rows": 2,
    "imported": 2,
    "schedule": "draft",
    "timezone": "Europe/Lisbon",
    "posts": [
      {
        "line": 2,
        "scheduledTime": "2026-09-01T14:00:00Z",
        "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
        "status": "draft",
        "statusUrl": "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef"
      },
      {
        "line": 3,
        "scheduledTime": "2026-09-02T14:00:00Z",
        "id": "0f8c4b6f-4d0b-4a09-9a51-b6d0f2a6a2f3",
        "status": "draft",
        "statusUrl": "https://looptake.com/api/v1/posts/0f8c4b6f-4d0b-4a09-9a51-b6d0f2a6a2f3"
      }
    ]
  }
}

GET/posts

List posts.

  • No credits
  • posts:read
  • 60 per 300s
  • Paginated

Newest scheduled time first. `from` and `to` filter on the scheduled time. Each row has `influencerId`, or null for the brand.

  • `approvalStatus` is the verdict only; `GET /posts/{id}` has the full record. `null` means no approval is needed.
  • An unknown `approval` value is `400 invalid_input`.

Query parameters

NameTypeRequiredDescription
statusenumOptionalFilters by status. `draft` is saved and never auto-published; `queued` publishes when its render finishes. One of: draft, queued, scheduled, publishing, posted, partial, failed, cancelled.
approvalenumOptionalFilters by approval state: `pending` (waiting for review), `rejected` (can be re-opened) or `none` (no approval needed). Independent of `status`. One of: pending, rejected, none.
automationIdstringOptionalOnly posts produced by one automation. Format: id.
influencerIdstringOptionalOnly posts published as this AI influencer. Deleting the influencer clears this link on its posts, so list them first. Format: id.
fromstringOptionalInclusive lower bound on the scheduled time. Format: date-time.
tostringOptionalExclusive upper bound on the scheduled time. Format: date-time.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/posts?approval=pending&limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
      "contentId": "c02119cb-ed7a-40ed-87fe-c18edc1fa1a2",
      "status": "scheduled",
      "renderStatus": "ready",
      "schedule": "scheduled",
      "scheduledTime": "2026-09-01T15:00:00Z",
      "timezone": "Europe/Lisbon",
      "ownerType": "brand",
      "influencerId": null,
      "automationId": null,
      "approvalStatus": "pending",
      "targets": [
        {
          "platform": "tiktok",
          "accountId": "ff9d429b-07c5-4320-a98c-ac6e1791b828",
          "status": "scheduled"
        }
      ]
    }
  ],
  "pagination": {
    "total": 18,
    "page": 1,
    "limit": 1,
    "pages": 18
  }
}

GET/posts/{id}

Read a post with its per-platform results.

  • No credits
  • posts:read
  • 60 per 300s

Returns one target per account, each with status, platform post id, URL, error and analytics. `partial` means some targets published and some did not.

  • One short link is made per platform, so clicks are counted per platform. Links redirect with 302.
  • Terminal statuses: `posted`, `partial`, `failed` and `cancelled`, and `renderStatus` `failed`.
  • `firstComment` is on a target only when one was set. `state` is `pending`, `posted`, `failed` or `unresolved`. For the last two, `needsAttention` is `true`: the post is live without the comment, so add it by hand from `text`. Comments are not retried.
  • Analytics refresh on a schedule; see `fetchedAt`.

Path parameters

NameTypeDescription
idstringThe post id.

Request

curl "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "partial",
    "renderStatus": "ready",
    "caption": "The maths nobody runs before they run out.",
    "hashtags": [
      "#retail",
      "#inventory"
    ],
    "scheduledTime": "2026-09-01T15:00:00Z",
    "declarations": {
      "madeForKids": false,
      "brandedContent": true,
      "brandOrganic": null,
      "aiGenerated": true,
      "containsSyntheticMedia": true
    },
    "targets": [
      {
        "accountId": "ff9d429b-07c5-4320-a98c-ac6e1791b828",
        "platform": "tiktok",
        "status": "posted",
        "platformPostId": "7412998812",
        "postUrl": "https://www.tiktok.com/@northwind/video/7412998812",
        "error": null,
        "analytics": {
          "views": 4820,
          "likes": 311,
          "comments": 24,
          "shares": 61,
          "saves": 88,
          "fetchedAt": "2026-09-02T09:00:00Z"
        }
      },
      {
        "accountId": "1c74c860-000b-4136-88a7-a17f31019346",
        "platform": "youtube",
        "status": "failed",
        "platformPostId": null,
        "postUrl": null,
        "error": "The account’s token expired. Reconnect and retry.",
        "firstComment": {
          "state": "failed",
          "text": "#retail #inventory #ops",
          "commentId": null,
          "error": "the post published, but its first comment did not: youtube: this account was connected without the `https://www.googleapis.com/auth/youtube.force-ssl` permission, so it cannot post a first comment. Reconnect it and accept every permission, or remove the first comment from this post.",
          "needsAttention": true
        },
        "analytics": null
      }
    ],
    "attributionLinks": [
      {
        "id": "5e1e2ad1-9b56-4a0d-92b6-04f8dc3d19b6",
        "slug": "k3Bq7Zra",
        "url": "https://looptake.com/go/k3Bq7Zra",
        "targetUrl": "https://northwind.example",
        "utmSource": "tiktok",
        "utmMedium": "social",
        "utmCampaign": "looptake",
        "clicks": 138,
        "lastClickAt": "2026-09-02T08:41:03Z",
        "createdAt": "2026-09-01T14:59:58Z"
      }
    ]
  }
}

PATCH/posts/{id}

Edit a post’s text or declarations before it publishes.

  • No credits
  • posts:write
  • 60 per 300s

Edits the caption, hashtags, per-platform text or declarations and keeps the post id. Allowed while the post is `draft`, `queued` or `scheduled` and no target has started; otherwise 409.

  • A body with none of the four fields is 400 `invalid_input`. All four replace; none merge.
  • Editing an `approved` post sets it back to `pending` until approved again. Sending the same values changes nothing.
  • A `pending` or `rejected` post keeps its state.
  • An edit during upload is refused; the published text is always the stored text.
  • Does not change the time (use POST /posts/{id}/reschedule), the accounts or the video.
  • To fix declarations from a launched automation, edit each post here.
  • A post that is `publishing`, `posted`, `partial`, `failed` or `cancelled` is 409 `conflict`.
  • An unknown field is a 400. `firstComment` is accepted only inside `perPlatform`.

Path parameters

NameTypeDescription
idstringThe post id.

Body fields

NameTypeRequiredDescription
captionstringOptionalNew caption. Omit to keep; `""` clears it. Checked, with the hashtags, against each target platform’s limit; one failure fails the request.
hashtagsstring[]OptionalReplaces the hashtag list. Omit to keep; `[]` clears it. Counts toward the caption limit.
perPlatformobjectOptionalAs on `POST /posts`. Replaces the whole set: omitted platforms revert to the post caption, and `{}` clears all. Omit the field to keep it. Includes `firstComment`, so send back the `firstComment` you read or it is deleted. A change re-opens an approved post.
declarationsobjectOptionalAs on `POST /posts`. Replaces the whole object: an omitted key becomes not stated. Omit the field to keep it. `madeForKids` stays required when the post targets YouTube. A change re-opens an approved post.

Request

curl -X PATCH "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "caption": "The maths nobody runs before they run out of stock."
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "scheduled",
    "caption": "The maths nobody runs before they run out of stock.",
    "hashtags": [
      "#retail",
      "#inventory"
    ],
    "perPlatform": {
      "tiktok": {
        "caption": "Your stockroom is lying to you",
        "hashtags": null,
        "title": null
      }
    },
    "declarations": {
      "madeForKids": null,
      "brandedContent": null,
      "brandOrganic": null,
      "aiGenerated": true,
      "containsSyntheticMedia": null
    },
    "approval": null,
    "updatedAt": "2026-08-18T14:22:09Z"
  }
}

DELETE/posts/{id}

Cancel a scheduled post.

  • No credits
  • posts:write
  • 60 per 300s

Allowed while the post is `draft`, `queued` or `scheduled` and no target has started; otherwise 409.

  • The content piece is kept and can be scheduled again.

Path parameters

NameTypeDescription
idstringThe post id.

Request

curl -X DELETE "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "cancelled",
    "cancelledAt": "2026-08-12T11:20:44Z"
  }
}

POST/posts/{id}/approve

Approve a post that is waiting for review.

  • No credits
  • posts:approve
  • 60 per 300s

Approves a `pending` post and queues it at once, so a post approved after its slot still publishes. Needs `posts:approve`. To stop an approved post, use `DELETE /posts/{id}`. `POST /posts/{id}/reschedule` and text edits with `PATCH /posts/{id}` set it back to `pending`.

  • API keys get 403 `forbidden_scope`. Only a signed-in member with `posts:approve`, or an external reviewer link, can decide.
  • A post with `approval: null` is 409 `conflict`.
  • A post already publishing or published is 409. A `rejected` post is 409; re-open it with `POST /posts/{id}/reject` first.

Path parameters

NameTypeDescription
idstringThe post id.

Body fields

NameTypeRequiredDescription
reasonstringOptionalNote on the decision, shown to the scheduler. Up to 500 characters. Not carried over from an earlier decision. `""` clears it.

Request

curl -X POST "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef/approve" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Checked the claim in line two against the pricing page."
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "scheduled",
    "approval": {
      "status": "approved",
      "decidedAt": "2026-08-13T09:12:44Z",
      "decidedBy": "b4a0d51c-6f7e-42a8-9c31-8d5f0a7be213",
      "note": "Checked the claim in line two against the pricing page.",
      "reviewLinkId": null
    }
  }
}

POST/posts/{id}/reject

Reject a pending post, or re-open a rejected one.

  • No credits
  • posts:approve
  • 60 per 300s

Rejects a `pending` post; it keeps its slot but never publishes. On a `rejected` post, it re-opens it to `pending`. A rejected post cannot be approved directly.

  • API keys get 403 `forbidden_scope`.
  • A second call on a rejected post returns `"status": "pending"`.
  • A rejected post keeps its calendar slot and is skipped at publish time.

Path parameters

NameTypeDescription
idstringThe post id.

Body fields

NameTypeRequiredDescription
reasonstringOptionalReason shown to the author. Up to 500 characters. On a re-open, omitting it keeps the old reason. `""` clears it.

Request

curl -X POST "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef/reject" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "The claim in line two is not one we can make."
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "scheduled",
    "approval": {
      "status": "rejected",
      "decidedAt": "2026-08-13T09:14:02Z",
      "decidedBy": "b4a0d51c-6f7e-42a8-9c31-8d5f0a7be213",
      "note": "The claim in line two is not one we can make.",
      "reviewLinkId": null
    }
  }
}

POST/posts/{id}/reschedule

Move a scheduled post to a different time.

  • No credits
  • posts:write
  • 60 per 300s

Changes the publish time and keeps the post id. Allowed while the post is `draft`, `queued` or `scheduled`; otherwise 409.

  • Moving an `approved` post sets it back to `pending` until approved again. `note` records the move.
  • A `pending` or `rejected` post keeps its state.
  • A `queued` (`asap`) post becomes `scheduled`.
  • A `draft` stays a draft. `POST /posts/{id}/publish` releases it at the new time.
  • A post that is `publishing`, `posted`, `partial`, `failed` or `cancelled` is 409 `conflict`.

Path parameters

NameTypeDescription
idstringThe post id.

Body fields

NameTypeRequiredDescription
scheduledTimestringRequiredNew time, ISO 8601. Must be in the future. Format: date-time.
timezonestringOptionalIANA zone, for example `Europe/Lisbon`. Default: the post’s current zone.

Request

curl -X POST "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef/reschedule" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "scheduledTime": "2026-09-04T09:00:00Z",
  "timezone": "Europe/Lisbon"
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "scheduled",
    "scheduledTime": "2026-09-04T09:00:00Z",
    "timezone": "Europe/Lisbon",
    "approval": null,
    "updatedAt": "2026-08-18T10:41:07Z"
  }
}

POST/posts/{id}/publish

Release a draft.

  • No credits
  • posts:write
  • 60 per 300s

Releases a draft. Takes no body. A draft with a `scheduledTime` becomes `scheduled`; one without becomes `queued` and publishes when its render finishes. Drafts are released only by this call.

  • Needs `posts:write`. In a workspace that requires approval the post becomes `pending`; check `approval` in the response.
  • A post that is not a draft is 409 `conflict`, so a second call is safe.
  • A draft still rendering publishes when its render finishes.

Path parameters

NameTypeDescription
idstringThe post id.

Request

curl -X POST "https://looptake.com/api/v1/posts/973821cf-5cc7-44f7-8795-e68da31c59ef/publish" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
    "status": "queued",
    "scheduledTime": null,
    "timezone": "Europe/Lisbon",
    "approval": null,
    "updatedAt": "2026-08-19T10:41:07Z"
  }
}

GET/calendar

Read the schedule as days.

  • No credits
  • posts:read
  • 60 per 300s

Returns posts grouped by local day in the workspace time zone.

  • `from` and `to` are required.
  • Each entry has `id`, `scheduledTime`, `status` and `approvalStatus` (`null` if no approval is needed). Use `GET /posts/{id}` for details.

Query parameters

NameTypeRequiredDescription
fromstringRequiredFirst day, inclusive. ISO date. Format: date.
tostringRequiredLast day, inclusive. ISO date. Format: date.
statusenumOptionalFilters the posts inside each day. One of: draft, queued, scheduled, publishing, posted, partial, failed, cancelled.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/calendar?from=2026-09-01&to=2026-09-02" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "timezone": "Europe/Lisbon",
    "days": [
      {
        "date": "2026-09-01",
        "posts": [
          {
            "id": "973821cf-5cc7-44f7-8795-e68da31c59ef",
            "scheduledTime": "2026-09-01T15:00:00Z",
            "status": "scheduled",
            "approvalStatus": "pending"
          }
        ]
      },
      {
        "date": "2026-09-02",
        "posts": []
      }
    ]
  }
}

Automations

A cadence that fills a calendar. Draft, generate, review, launch, and the posts it produced.

POST/automations

Create an automation.

  • No credits
  • automations:write
  • 600 per 300s

Creates an automation (a cadence and target accounts) in `draft`. Nothing is generated until generate, and nothing publishes until launch.

Body fields

NameTypeRequiredDescription
namestringRequiredName shown in the app and the ledger.
cadenceobjectOptionalpostsPerDay, days, startDate, times[] and timezone. Default: one post a day for seven days from tomorrow.
selectedAccountsobjectOptionalPlatform to account ids, as on POST /posts.
settingsobjectOptionalFormat mix, prompt and caption settings for every post.
ownerTypeenumOptionalWhose accounts publish the posts. Default brand. One of: brand, influencer.
influencerIdstringOptionalRequired when `ownerType` is `influencer`. Format: id.
tiktokModeenumOptional`direct` publishes to TikTok; `inbox` sends each post to the TikTok inbox without a caption. Default direct. One of: direct, inbox.
tiktokOptionsobjectOptionalTikTok options for every post, as on POST /posts.
declarationsobjectOptionalDeclarations for every post in the run, as on `POST /posts`. Editable only while the run is a draft; later, edit each post with `PATCH /posts/{id}`. Launch is refused if the accounts include YouTube and `madeForKids` is not stated.
workspaceIdstringOptionalWorkspace for the run. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/automations" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "September daily",
  "cadence": {
    "postsPerDay": 1,
    "days": 30,
    "startDate": "2026-09-01",
    "times": [
      "15:00"
    ],
    "timezone": "Europe/Lisbon"
  },
  "selectedAccounts": {
    "tiktok": [
      "ff9d429b-07c5-4320-a98c-ac6e1791b828"
    ]
  }
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "name": "September daily",
    "status": "draft",
    "cadence": {
      "postsPerDay": 1,
      "days": 30,
      "startDate": "2026-09-01",
      "times": [
        "15:00"
      ],
      "timezone": "Europe/Lisbon"
    },
    "ownerType": "brand",
    "createdAt": "2026-08-12T11:25:00Z"
  }
}

GET/automations

List automations.

  • No credits
  • automations:read
  • 600 per 300s
  • Paginated

Lists automations with status and cadence. Next allowed calls: `draft` generate; `review` launch; `launched` extend, pause or cancel; `paused` resume or cancel.

Query parameters

NameTypeRequiredDescription
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/automations?limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
      "name": "September daily",
      "status": "launched",
      "cadence": {
        "postsPerDay": 1,
        "days": 30,
        "startDate": "2026-09-01",
        "times": [
          "15:00"
        ],
        "timezone": "Europe/Lisbon"
      },
      "postCount": 30,
      "createdAt": "2026-08-12T11:25:00Z"
    }
  ],
  "pagination": {
    "total": 3,
    "page": 1,
    "limit": 1,
    "pages": 3
  }
}

GET/automations/{id}

Read one automation.

  • No credits
  • automations:read
  • 600 per 300s

Adds settings, accounts, post counts and all five `declarations`. Unstated declarations are `null`.

Path parameters

NameTypeDescription
idstringThe automation id.

Request

curl "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "name": "September daily",
    "status": "launched",
    "cadence": {
      "postsPerDay": 1,
      "days": 30,
      "startDate": "2026-09-01",
      "times": [
        "15:00"
      ],
      "timezone": "Europe/Lisbon"
    },
    "selectedAccounts": {
      "tiktok": [
        "ff9d429b-07c5-4320-a98c-ac6e1791b828"
      ]
    },
    "settings": {
      "formats": [
        "walloftext",
        "slideshow"
      ],
      "mentionBusiness": true
    },
    "ownerType": "brand",
    "influencerId": null,
    "tiktokMode": "direct",
    "declarations": {
      "madeForKids": null,
      "brandedContent": true,
      "brandOrganic": null,
      "aiGenerated": true,
      "containsSyntheticMedia": null
    },
    "counts": {
      "generated": 30,
      "scheduled": 28,
      "posted": 2,
      "failed": 0
    }
  }
}

PATCH/automations/{id}

Edit a draft automation.

  • No credits
  • automations:write
  • 600 per 300s

Allowed only in `draft`; otherwise 409. Fields replace their stored objects.

  • Any status other than `draft` returns 409 `conflict`.

Path parameters

NameTypeDescription
idstringThe automation id.

Body fields

NameTypeRequiredDescription
namestringOptionalRename the run.
cadenceobjectOptionalReplaces the cadence object.
selectedAccountsobjectOptionalReplaces the target set.
settingsobjectOptionalReplaces the settings object.
tiktokModeenumOptional`direct` or `inbox`. One of: direct, inbox.
tiktokOptionsobjectOptionalReplaces the TikTok options object.
declarationsobjectOptionalReplaces the declarations object. Omit to keep.

Request

curl -X PATCH "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "cadence": {
    "postsPerDay": 2,
    "days": 30,
    "startDate": "2026-09-01",
    "times": [
      "09:00",
      "18:00"
    ],
    "timezone": "Europe/Lisbon"
  }
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "draft",
    "cadence": {
      "postsPerDay": 2,
      "days": 30,
      "startDate": "2026-09-01",
      "times": [
        "09:00",
        "18:00"
      ],
      "timezone": "Europe/Lisbon"
    }
  }
}

POST/automations/{id}/generate

Fill the automation with posts.

  • 202, poll to finish
  • No credits
  • automations:write
  • 600 per 300s

Writes one suggestion per cadence slot and moves the automation from `generating` to `review`. Publishes nothing. Poll GET /automations/{id}.

  • Terminal statuses: `review`, or `cancelled`.

Path parameters

NameTypeDescription
idstringThe automation id.

Request

curl -X POST "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/generate" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "generating",
    "slots": 30,
    "statusUrl": "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f"
  }
}

POST/automations/{id}/extend

Add days to a running automation.

  • 202, poll to finish
  • No credits
  • automations:write
  • 600 per 300s

Adds days after the last day and generates the new slots at the same cadence.

Path parameters

NameTypeDescription
idstringThe automation id.

Body fields

NameTypeRequiredDescription
daysintegerRequiredHow many days to add after the current last day.

Request

curl -X POST "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/extend" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "days": 14
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "generating",
    "days": 44,
    "addedSlots": 14
  }
}

POST/automations/{id}/launch

Launch a reviewed automation.

  • No credits
  • automations:write
  • 600 per 300s
  • Idempotency-Key

Schedules every generated post and moves the run to `launched`. Honours `Idempotency-Key`.

  • Only from `review`; otherwise 409 `conflict`.
  • If the accounts include YouTube, `declarations.madeForKids` must be set, else 400.

Path parameters

NameTypeDescription
idstringThe automation id.

Request

curl -X POST "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/launch" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "launched",
    "scheduled": 30,
    "firstPostAt": "2026-09-01T15:00:00Z"
  }
}

POST/automations/{id}/pause

Hold a launched automation.

  • No credits
  • automations:write
  • 600 per 300s

Pauses a launched run. Posts keep their slots and are withheld at publish time. Resume shifts the remaining posts by the pause length.

  • Only from `launched`; otherwise 409.
  • Allowed in an archived workspace.

Path parameters

NameTypeDescription
idstringThe automation id.

Request

curl -X POST "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/pause" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "paused",
    "heldPosts": 22,
    "pausedAt": "2026-09-08T11:04:00Z"
  }
}

POST/automations/{id}/resume

Give a held automation back.

  • No credits
  • automations:write
  • 600 per 300s

Shifts every waiting post later by the pause length, keeping the spacing, and sets the run to `launched`. `heldForSeconds` is the shift.

  • Only from `paused`; otherwise 409. Two concurrent resumes shift once.
  • 409 while the workspace is archived.
  • 409 if the run’s influencer has withdrawn consent.

Path parameters

NameTypeDescription
idstringThe automation id.

Request

curl -X POST "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/resume" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "launched",
    "resumedPosts": 22,
    "heldForSeconds": 604800,
    "firstPostAt": "2026-09-16T15:00:00Z"
  }
}

POST/automations/{id}/cancel

Cancel an automation.

  • No credits
  • automations:write
  • 600 per 300s

Cancels the run and its unpublished posts. Published posts are not removed.

Path parameters

NameTypeDescription
idstringThe automation id.

Request

curl -X POST "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/cancel" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
    "status": "cancelled",
    "cancelledPosts": 28,
    "keptPosts": 2
  }
}

GET/automations/{id}/posts

List the posts an automation produced.

  • No credits
  • automations:read
  • 600 per 300s
  • Paginated

Lists the run’s posts: the review queue in `review`, the history after launch. These posts are not in GET /generations.

Path parameters

NameTypeDescription
idstringThe automation id.

Query parameters

NameTypeRequiredDescription
statusenumOptionalFilters by status. `draft` is saved and never auto-published; `queued` publishes when its render finishes. One of: draft, queued, scheduled, publishing, posted, partial, failed, cancelled.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.

Request

curl "https://looptake.com/api/v1/automations/4ecde50a-7af3-43b9-b66e-a36422c7e51f/posts?limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "98653bae-8565-4cac-a3b8-7fb296ca356d",
      "status": "scheduled",
      "format": "slideshow",
      "scheduledTime": "2026-09-03T15:00:00Z",
      "caption": "Three numbers that decide your reorder point."
    }
  ],
  "pagination": {
    "total": 30,
    "page": 1,
    "limit": 1,
    "pages": 30
  }
}

Influencers

AI presenters you create once and reuse, and the talking-head videos rendered from them.

GET/influencers

List AI influencers.

  • No credits
  • influencers:read
  • 600 per 300s
  • Paginated

Lists the workspace’s influencers with their attributes and voice. A team may hold up to 200.

Query parameters

NameTypeRequiredDescription
searchstringOptionalMatches name, description and tags.
nichestringOptionalFilters to one niche.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/influencers?niche=retail&limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
      "name": "Mara",
      "imageUrl": "https://cdn.looptake.com/d076f17e-4529-48a3-b5fe-860bc329c5b4/portrait.jpg",
      "description": "Shop owner turned operations nerd.",
      "niche": "retail",
      "gender": "female",
      "age": 34,
      "ethnicity": "mixed",
      "tags": [
        "retail",
        "operations"
      ],
      "voiceId": "voice_warm_en_3",
      "status": "ready",
      "consentStatus": "attested",
      "consentPermitsRender": true
    }
  ],
  "pagination": {
    "total": 4,
    "page": 1,
    "limit": 1,
    "pages": 4
  }
}

POST/influencers

Create an AI influencer.

  • 360 credits per influencer
  • influencers:write
  • 600 per 300s
  • Idempotency-Key

Creates a reusable influencer from a reference image and renders a preview. Costs 360 credits. Omitted `subject` means `real_person`, which needs a `consent` block (lodge the release with POST /influencers/consent-artefacts first), else 400 with no charge. Send `subject: "synthetic"` for an invented character.

  • Costs 360 credits, refunded if the preview fails.
  • No `subject` and no `consent` is 400 `invalid_input`, with no charge.
  • `consent.artefact` must be an uploaded object; its SHA-256 is recorded. A missing upload is refused.
  • `consentStatus` is `attested` (real person), `not_required` (synthetic) or `null` (older rows). An attestation is not verified with the subject.

Body fields

NameTypeRequiredDescription
namestringRequiredCharacter name.
imageUrlstringRequiredReference portrait used for every render. Format: uri.
subjectenumOptional`synthetic` for an invented character, `real_person` for a real human. Default `real_person`, which needs `consent`. Any other value is 400. One of: synthetic, real_person.
consentobjectOptionalRequired for `real_person`; not allowed for `synthetic`. `{ statement, subjectName?, artefact: { id, filename, kind } }` with the artefact from POST /influencers/consent-artefacts.
descriptionstringOptionalWho they are. Used in their scripts.
nichestringOptionalTopic they speak about.
genderstringOptionalPresented gender. Used to pick the voice.
ageintegerOptionalApparent age in years.
ethnicitystringOptionalApparent ethnicity. Keeps renders consistent.
tagsstring[]OptionalYour labels. Matched by `search`.
workspaceIdstringOptionalWorkspace for the influencer. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/influencers" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "name": "Mara",
  "imageUrl": "https://cdn.example.com/mara.jpg",
  "subject": "real_person",
  "consent": {
    "subjectName": "Mara Okonkwo",
    "statement": "Signed likeness release, worldwide, 12 months, on file.",
    "artefact": {
      "id": "3f8a6c21-0d94-4f7a-9c62-51a0b7e4d8f3",
      "filename": "release.pdf",
      "kind": "written_release"
    }
  },
  "description": "Shop owner turned operations nerd.",
  "niche": "retail",
  "tags": [
    "retail",
    "operations"
  ]
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
    "name": "Mara",
    "status": "ready",
    "voiceId": "voice_warm_en_3",
    "subject": "real_person",
    "consentStatus": "attested",
    "creditsSpent": 360,
    "createdAt": "2026-08-12T11:31:12Z"
  }
}

POST/influencers/consent-artefacts

Get an upload URL for a release or a recorded statement.

  • No credits
  • influencers:write
  • 600 per 300s

Returns a presigned `PUT` URL for a consent document. Upload it, then pass `artefactId` in the `consent` block of POST /influencers or POST /influencers/{id}/consent. Free. The upload must be exactly `bytes` long.

  • The URL expires after 30 minutes.
  • Up to 32 MiB (33,554,432 bytes).
  • The document is kept permanently, cannot be deleted and has no public URL.

Body fields

NameTypeRequiredDescription
kindenumRequired`written_release`: pdf, png, jpg, jpeg or webp. `recorded_statement`: mp4, webm, mov, m4a, mp3 or wav. One of: written_release, recorded_statement.
filenamestringRequiredFile name with extension: letters, digits, `.`, `_` and `-` only. The extension must match `kind`.
bytesinteger 1-33554432RequiredExact file size in bytes, up to 33,554,432 (32 MiB).
workspaceIdstringOptionalWorkspace of the influencer. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/influencers/consent-artefacts" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "written_release",
  "filename": "release.pdf",
  "bytes": 184320
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "artefactId": "3f8a6c21-0d94-4f7a-9c62-51a0b7e4d8f3",
    "filename": "release.pdf",
    "kind": "written_release",
    "bytes": 184320,
    "uploadUrl": "https://uploads.looptake.com/invoice/e7293116-fd57-4456-8da0-032f4976145f/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/consent/3f8a6c21-0d94-4f7a-9c62-51a0b7e4d8f3/release.pdf?sig=…",
    "contentType": "application/pdf",
    "expiresAt": "2026-08-12T12:01:12Z"
  }
}

POST/influencers/{id}/consent

Attest, withdraw or refuse consent for a likeness.

  • No credits
  • influencers:write
  • 600 per 300s

Appends a consent decision. `attest` needs a statement and an artefact; `withdraw` and `refuse` need only a statement. After a withdrawal or refusal, new videos, studio renders with `influencerId`, posts as the influencer, and creating or launching its automations return 409. Consent can be attested again later.

  • An artefact sent with `withdraw` or `refuse` is verified and stored like an attestation’s.
  • If the artefact cannot be verified, resend without `artefact` to record the withdrawal at once.
  • `runningAutomations` lists launched runs that keep publishing. Cancel each with POST /automations/{id}/cancel.
  • Published media stays live and keeps the influencer link.
  • The history is in GET /influencers/{id} `consentRecords` and the audit log.

Path parameters

NameTypeDescription
idstringThe influencer id.

Body fields

NameTypeRequiredDescription
actionenumRequired`attest`: a release is held. `withdraw`: consent is taken back. `refuse`: the subject said no. One of: attest, withdraw, refuse.
statementstringRequiredWhat was agreed, withdrawn or refused, for example licence period and territory. Up to 2,000 characters.
subjectNamestringOptionalWho the subject is. Up to 120 characters.
artefactobjectOptional`{ id, filename, kind }` from POST /influencers/consent-artefacts, after upload. Required for `attest`, optional otherwise. An unverifiable artefact is 400 and nothing is recorded.

Request

curl -X POST "https://looptake.com/api/v1/influencers/d076f17e-4529-48a3-b5fe-860bc329c5b4/consent" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "withdraw",
  "subjectName": "Mara Okonkwo",
  "statement": "The subject withdrew their consent by email on 12 August."
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "influencerId": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
    "consentStatus": "withdrawn",
    "consentPermitsRender": false,
    "record": {
      "id": "7c1d3a90-2f5b-4e08-badc-9a6f24e17c55",
      "action": "withdraw",
      "subject": "real_person",
      "subjectName": "Mara Okonkwo",
      "statement": "The subject withdrew their consent by email on 12 August.",
      "artefact": null,
      "attestedBy": {
        "type": "api_key",
        "id": "d81ed241-9404-4a1a-8864-242ecc540416",
        "label": "CI publisher"
      },
      "recordedAt": "2026-08-13T10:02:19Z"
    },
    "runningAutomations": [
      {
        "id": "4ecde50a-7af3-43b9-b66e-a36422c7e51f",
        "name": "September daily",
        "status": "launched"
      }
    ]
  }
}

GET/influencers/{id}

Read one influencer.

  • No credits
  • influencers:read
  • 600 per 300s

Returns the influencer with its voice, accounts and full consent history.

  • `consentPermitsRender` is false only after a `withdrawn` or `refused` record. `consentStatus` `null` (older rows) still renders.
  • `consentRecords` is append-only, newest first; `consentRecords[0]` is in force. Artefacts show key, size and SHA-256, never a URL.
  • The list does not include `consentRecords`. An attestation is not verified with the subject.

Path parameters

NameTypeDescription
idstringThe influencer id.

Request

curl "https://looptake.com/api/v1/influencers/d076f17e-4529-48a3-b5fe-860bc329c5b4" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
    "name": "Mara",
    "imageUrl": "https://cdn.looptake.com/d076f17e-4529-48a3-b5fe-860bc329c5b4/portrait.jpg",
    "description": "Shop owner turned operations nerd.",
    "niche": "retail",
    "gender": "female",
    "age": 34,
    "ethnicity": "mixed",
    "tags": [
      "retail",
      "operations"
    ],
    "voiceId": "voice_warm_en_3",
    "status": "ready",
    "consentStatus": "attested",
    "consentPermitsRender": true,
    "previewVideoUrl": "https://cdn.looptake.com/d076f17e-4529-48a3-b5fe-860bc329c5b4/preview.mp4",
    "creditsSpent": 360,
    "error": null,
    "createdAt": "2026-08-12T11:31:12Z",
    "consentRecords": [
      {
        "id": "7c1d3a90-2f5b-4e08-badc-9a6f24e17c55",
        "action": "attest",
        "subject": "real_person",
        "subjectName": "Mara Okonkwo",
        "statement": "Signed likeness release, worldwide, 12 months, on file.",
        "artefact": {
          "key": "invoice/e7293116-fd57-4456-8da0-032f4976145f/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/consent/3f8a6c21-0d94-4f7a-9c62-51a0b7e4d8f3/release.pdf",
          "kind": "written_release",
          "bytes": 184320,
          "sha256": "9f2c4d7b1a83e60c5518d9f4a7b2e0c36d81f5a94e73b02c6f1d8a45b93e7c20"
        },
        "attestedBy": {
          "type": "api_key",
          "id": "d81ed241-9404-4a1a-8864-242ecc540416",
          "label": "CI publisher"
        },
        "recordedAt": "2026-08-12T11:31:12Z"
      }
    ],
    "accounts": [
      {
        "id": "1c561cb8-4ea0-4fed-84af-bf13a6efe8e9",
        "platform": "tiktok",
        "handle": "@mara.stock"
      }
    ]
  }
}

DELETE/influencers/{id}

Delete an influencer and free its slot.

  • No credits
  • influencers:write
  • 600 per 300s

Deletes the influencer and its videos and frees its slot. Published posts stay but lose the influencer link, so `GET /posts?influencerId=` returns nothing after. List first.

  • Nothing is refunded, except renders still running, which fail and are refunded.
  • `videosDeleted` and `consentRecordsDeleted` are exact counts.
  • `postsUnlinked` counts posts that lost the link; they are not deleted.
  • Consent history is deleted too. An audit entry without the subject name remains, and the release document stays in storage.
  • Allowed in an archived workspace.

Path parameters

NameTypeDescription
idstringThe influencer id.

Request

curl -X DELETE "https://looptake.com/api/v1/influencers/d076f17e-4529-48a3-b5fe-860bc329c5b4" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
    "deleted": true,
    "videosDeleted": 4,
    "consentRecordsDeleted": 2,
    "postsUnlinked": 12
  }
}

POST/influencers/{id}/videos

Render a talking-head video.

  • 202, poll to finish
  • 60 credits per second of video
  • influencers:write
  • 600 per 300s
  • Idempotency-Key

Queues a lip-synced video of the influencer reading your script. Costs 60 credits per second. Poll GET /videos/{id}.

  • Terminal statuses: `ready` and `failed`. A failure refunds the credits.
  • Honours `Idempotency-Key`.

Path parameters

NameTypeDescription
idstringThe influencer id.

Body fields

NameTypeRequiredDescription
scriptstringRequiredExact words to say. Paced to `duration`.
imageUrlstringOptionalPortrait for this render only. Format: uri.
languageenumOptionalBCP 47 language tag for the voice and captions. One of the 44 supported languages; any other tag is 400 invalid_input. Default en. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
durationintegerOptionalTarget length in seconds. Costs 60 credits per second.
modestringOptionalRender mode. Default: the influencer’s usual mode.

Request

curl -X POST "https://looptake.com/api/v1/influencers/d076f17e-4529-48a3-b5fe-860bc329c5b4/videos" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "script": "A stockout does not cost you one sale. It costs you the customer who came for it.",
  "language": "en",
  "duration": 12
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "08363fcd-f524-4126-b68d-fd64f2f9c09e",
    "influencerId": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
    "status": "queued",
    "durationS": 12,
    "creditsReserved": 720,
    "statusUrl": "https://looptake.com/api/v1/videos/08363fcd-f524-4126-b68d-fd64f2f9c09e"
  }
}

GET/influencers/{id}/videos

List an influencer’s videos.

  • No credits
  • influencers:read
  • 600 per 300s
  • Paginated

Newest first, with status and cost.

Path parameters

NameTypeDescription
idstringThe influencer id.

Query parameters

NameTypeRequiredDescription
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.

Request

curl "https://looptake.com/api/v1/influencers/d076f17e-4529-48a3-b5fe-860bc329c5b4/videos?limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "08363fcd-f524-4126-b68d-fd64f2f9c09e",
      "status": "ready",
      "language": "en",
      "durationS": 12,
      "videoUrl": "https://cdn.looptake.com/08363fcd-f524-4126-b68d-fd64f2f9c09e/video.mp4",
      "thumbnailUrl": "https://cdn.looptake.com/08363fcd-f524-4126-b68d-fd64f2f9c09e/thumb.jpg",
      "creditsSpent": 720,
      "createdAt": "2026-08-12T11:33:40Z"
    }
  ],
  "pagination": {
    "total": 9,
    "page": 1,
    "limit": 1,
    "pages": 9
  }
}

GET/videos/{id}

Read one video.

  • No credits
  • generations:read
  • 600 per 300s

Poll after POST /videos, POST /videos/{id}/edit, POST /remix, POST /clips or POST /influencers/{id}/videos. Prompt videos (scope `generations:read`) report `status` (`queued`, `running`, `ready`, `failed`), `stage`, `progress`, `viralScore` (0-100), `hooks` and `outputs`. Influencer videos (scope `influencers:read`) report `queued`, `processing`, `ready` or `failed`.

Path parameters

NameTypeDescription
idstringThe video id.

Request

curl "https://looptake.com/api/v1/videos/08363fcd-f524-4126-b68d-fd64f2f9c09e" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "08363fcd-f524-4126-b68d-fd64f2f9c09e",
    "influencerId": "d076f17e-4529-48a3-b5fe-860bc329c5b4",
    "script": "A stockout does not cost you one sale. It costs you the customer who came for it.",
    "language": "en",
    "durationS": 12,
    "mode": "studio",
    "status": "ready",
    "videoUrl": "https://cdn.looptake.com/08363fcd-f524-4126-b68d-fd64f2f9c09e/video.mp4",
    "thumbnailUrl": "https://cdn.looptake.com/08363fcd-f524-4126-b68d-fd64f2f9c09e/thumb.jpg",
    "creditsSpent": 720
  }
}

Assets

The workspace library: clips, images, audio and fonts a deck can draw on.

GET/assets

List the asset library.

  • No credits
  • assets:read
  • 600 per 300s
  • Paginated

Newest first. `source` says where a file came from: `upload` (uploaded here), `lab` (made in the Lab) or `import` (added by URL). Lab outputs join the library when their item succeeds. `url` is a CDN link, a signed link re-signed when expired, or the original URL if the file could not be stored.

Query parameters

NameTypeRequiredDescription
kindenumOptionalFilters by media kind. One of: image, video, audio, font.
sourceenumOptionalFilters by where the file came from. One of: upload, lab, import.
likedbooleanOptionalOnly liked assets, or only the others.
searchstringOptionalMatches the name and the category, ignoring case. Up to 100 characters.
fromstringOptionalInclusive lower bound on the time the asset was added. Format: date-time.
tostringOptionalExclusive upper bound on the time the asset was added. Format: date-time.
categorystringOptionalYour own grouping, for example `b-roll` or `product`.
turboEnabledbooleanOptionalOnly assets offered to Turbo formats.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/assets?kind=video&source=upload&liked=true&limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "a7273471-d932-4f9a-958e-79abdd1f3fd7",
      "kind": "video",
      "source": "upload",
      "category": "b-roll",
      "name": "Warehouse aisle, slow pan",
      "url": "https://cdn.looptake.com/media/e7293116-fd57-4456-8da0-032f4976145f/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/asset/a7273471-d932-4f9a-958e-79abdd1f3fd7/aisle.mp4",
      "bytes": 4812004,
      "width": 1080,
      "height": 1920,
      "durationMs": 9200,
      "liked": true,
      "turboEnabled": true,
      "labItemId": null,
      "createdAt": "2026-08-12T11:31:12Z"
    }
  ],
  "pagination": {
    "total": 62,
    "page": 1,
    "limit": 1,
    "pages": 62
  }
}

POST/uploads

Get an upload URL for a file.

  • No credits
  • assets:write
  • 600 per 300s

Returns a presigned `PUT` URL into the library. Send the file to `uploadUrl` with exactly the `headers` returned, then call POST /uploads/{id}/complete. Free. The upload must be exactly `bytes` long and the URL expires after 30 minutes.

  • Images: PNG, JPEG and WebP, up to 20 MiB. Video: MP4, MOV and WebM, up to 500 MiB. Audio: MP3, WAV and M4A, up to 50 MiB.
  • A browser upload needs the bucket to allow `PUT` from your origin with these three headers.
  • `url` is null when the deployment has no CDN; the completed asset then carries a signed link.

Body fields

NameTypeRequiredDescription
filenamestringRequiredThe file’s name. Shown in the library; the stored name keeps letters, digits, `-` and `_`.
contentTypeenumRequiredThe file’s type. The kind (image, video or audio) follows from it. One of: image/png, image/jpeg, image/webp, video/mp4, video/quicktime, video/webm, audio/mpeg, audio/wav, audio/mp4.
bytesinteger 1-524288000RequiredExact file size in bytes. Images up to 20 MiB, audio up to 50 MiB, video up to 500 MiB.
workspaceIdstringOptionalThe library to add the file to. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/uploads" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "filename": "aisle.mp4",
  "contentType": "video/mp4",
  "bytes": 4812004
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "assetId": "a7273471-d932-4f9a-958e-79abdd1f3fd7",
    "kind": "video",
    "bytes": 4812004,
    "uploadUrl": "https://s3.eu-central-003.backblazeb2.com/looptake-media/media/e7293116-fd57-4456-8da0-032f4976145f/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/asset/a7273471-d932-4f9a-958e-79abdd1f3fd7/aisle.mp4?X-Amz-Signature=…",
    "method": "PUT",
    "headers": {
      "Content-Type": "video/mp4",
      "Cache-Control": "public, max-age=86400",
      "Content-Disposition": "inline"
    },
    "url": "https://cdn.looptake.com/media/e7293116-fd57-4456-8da0-032f4976145f/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/asset/a7273471-d932-4f9a-958e-79abdd1f3fd7/aisle.mp4",
    "expiresAt": "2026-08-12T12:01:12Z"
  }
}

POST/uploads/{id}/complete

Add an uploaded file to the library.

  • No credits
  • assets:write
  • 600 per 300s

Checks that the file is in storage, records it as an asset with `source: upload`, and measures it shortly after (`width`, `height` and `durationMs` are null until then). Completing the same upload again returns the same asset with 200.

  • Nothing in storage for this id is 400 `invalid_input`. A file over its size limit is deleted and refused.

Path parameters

NameTypeDescription
idstringThe `assetId` from POST /uploads.

Body fields

NameTypeRequiredDescription
namestringOptionalLabel in the library. Defaults to the stored filename. Up to 120 characters.
categorystringOptionalYour own grouping.
workspaceIdstringOptionalThe workspace the upload URL was made for. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/uploads/a7273471-d932-4f9a-958e-79abdd1f3fd7/complete" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Warehouse aisle, slow pan",
  "category": "b-roll"
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "a7273471-d932-4f9a-958e-79abdd1f3fd7",
    "kind": "video",
    "source": "upload",
    "category": "b-roll",
    "name": "Warehouse aisle, slow pan",
    "url": "https://cdn.looptake.com/media/e7293116-fd57-4456-8da0-032f4976145f/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c/asset/a7273471-d932-4f9a-958e-79abdd1f3fd7/aisle.mp4",
    "bytes": 4812004,
    "width": null,
    "height": null,
    "durationMs": null,
    "liked": false,
    "turboEnabled": false,
    "labItemId": null,
    "createdAt": "2026-08-12T11:31:40Z"
  }
}

POST/assets

Add an asset by URL.

  • No credits
  • assets:write
  • 600 per 300s

Fetches and stores the file, then measures it. The 201 has the URL you gave and null measurements; `url`, `width`, `height`, `durationMs` and `bytes` update shortly after (poll `GET /assets`). Images and video (MP4, MOV, WebM, PNG, JPEG, GIF, WebP) are stored. Audio, fonts and unreachable URLs keep your URL and are not measured. `null` means unknown.

Body fields

NameTypeRequiredDescription
urlstringRequiredPublic URL of the file. Format: uri.
kindenumOptionalKind. Detected if omitted. One of: image, video, audio, font.
namestringOptionalLabel in the library. Defaults to the filename.
categorystringOptionalYour own grouping.
turboEnabledbooleanOptionalOffers the file to Turbo formats. Default off.
workspaceIdstringOptionalThe library to add the file to. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/assets" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://cdn.example.com/aisle.mp4",
  "kind": "video",
  "name": "Warehouse aisle, slow pan",
  "category": "b-roll",
  "turboEnabled": true
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "a7273471-d932-4f9a-958e-79abdd1f3fd7",
    "kind": "video",
    "source": "import",
    "name": "Warehouse aisle, slow pan",
    "category": "b-roll",
    "url": "https://cdn.example.com/aisle.mp4",
    "bytes": null,
    "width": null,
    "height": null,
    "durationMs": null,
    "liked": false,
    "turboEnabled": true,
    "labItemId": null,
    "createdAt": "2026-08-12T11:31:12Z"
  }
}

PATCH/assets/{id}

Rename an asset, refile it, like it, or change what Turbo may use.

  • No credits
  • assets:write
  • 600 per 300s

Omitted fields are unchanged. `category: null` clears the category; `name` cannot be cleared. An empty body is `400 invalid_input`.

Path parameters

NameTypeDescription
idstringThe asset id.

Body fields

NameTypeRequiredDescription
namestringOptionalThe label shown in the library.
categorystringOptionalYour own grouping. Send `null` to clear it.
turboEnabledbooleanOptionalOffers the file to Turbo formats.
likedbooleanOptionalMarks the asset as liked, for the `liked` filter.

Request

curl -X PATCH "https://looptake.com/api/v1/assets/a7273471-d932-4f9a-958e-79abdd1f3fd7" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Warehouse aisle, slow pan",
  "liked": true
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "a7273471-d932-4f9a-958e-79abdd1f3fd7",
    "kind": "video",
    "source": "upload",
    "category": "b-roll",
    "name": "Warehouse aisle, slow pan",
    "url": "https://cdn.looptake.com/a7273471-d932-4f9a-958e-79abdd1f3fd7/clip.mp4",
    "bytes": 4812004,
    "width": 1080,
    "height": 1920,
    "durationMs": 9200,
    "liked": true,
    "turboEnabled": true,
    "labItemId": null,
    "createdAt": "2026-08-12T11:31:12Z"
  }
}

DELETE/assets/{id}

Delete an asset and the file behind it.

  • No credits
  • assets:write
  • 600 per 300s

Deletes the asset and its stored file. `objectsRemoved` is `1` for a stored file, `0` for a URL-only asset (audio, font or unreachable URL). Decks that use the asset are not changed and render without it. A second delete is 404.

  • This is the only call that deletes stored files.

Path parameters

NameTypeDescription
idstringThe asset id.

Request

curl -X DELETE "https://looptake.com/api/v1/assets/a7273471-d932-4f9a-958e-79abdd1f3fd7" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "a7273471-d932-4f9a-958e-79abdd1f3fd7",
    "deleted": true,
    "objectsRemoved": 1
  }
}

GET/assets/{id}/share

Read an asset’s public link.

  • No credits
  • assets:read
  • 600 per 300s

The asset’s share link, or `null` when it is not shared. The page shows the file and the title, and for a Lab output its model and, when `showPrompt` is true, its prompt. `embedUrl` is a player for an iframe.

Path parameters

NameTypeDescription
idstringThe asset id.

Request

curl "https://looptake.com/api/v1/assets/a7273471-d932-4f9a-958e-79abdd1f3fd7/share" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "6f1d2e3c-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
    "url": "https://looptake.com/s/Xq3t9LkA0bPz7wRm2YcV1g",
    "embedUrl": "https://looptake.com/embed/Xq3t9LkA0bPz7wRm2YcV1g",
    "title": "Fox in the snow",
    "showPrompt": true,
    "createdAt": "2026-10-30T09:12:00Z"
  }
}

POST/assets/{id}/share

Share an asset by link, or change its link.

  • No credits
  • assets:write
  • 600 per 300s

Makes a public link to one image, video or audio asset, or changes the title and prompt setting of the link it has. The link stays the same. A new link is titled with the asset’s name, or for a Lab output with its model’s name, and hides the prompt.

  • 409 for a font.
  • Revoke and share again for a new address.

Path parameters

NameTypeDescription
idstringThe asset id.

Body fields

NameTypeRequiredDescription
titlestringOptionalThe title the page shows, 1 to 120 characters. Default: the asset’s name, or the title the link has.
showPromptbooleanOptionalWhether the page shows a Lab output’s prompt. Default: false, or the setting the link has.

Request

curl -X POST "https://looptake.com/api/v1/assets/a7273471-d932-4f9a-958e-79abdd1f3fd7/share" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Fox in the snow",
  "showPrompt": true
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "6f1d2e3c-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
    "url": "https://looptake.com/s/Xq3t9LkA0bPz7wRm2YcV1g",
    "embedUrl": "https://looptake.com/embed/Xq3t9LkA0bPz7wRm2YcV1g",
    "title": "Fox in the snow",
    "showPrompt": true,
    "createdAt": "2026-10-30T09:12:00Z"
  }
}

DELETE/assets/{id}/share

Revoke an asset’s public link.

  • No credits
  • assets:write
  • 600 per 300s

Deletes the link. The page and the player answer 404 at once, and the address never works again. `revoked` is false when the asset had no link.

Path parameters

NameTypeDescription
idstringThe asset id.

Request

curl -X DELETE "https://looptake.com/api/v1/assets/a7273471-d932-4f9a-958e-79abdd1f3fd7/share" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "revoked": true
  }
}

Content

Render status and the finished media for an accepted suggestion or a studio job.

GET/content/{id}

Read render status.

  • No credits
  • content:write
  • 600 per 300s

Poll this for studio jobs. `pending` and `rendering` are in progress; `ready` and `failed` are terminal. A failed render is refunded and `creditsSpent` returns to 0.

Path parameters

NameTypeDescription
idstringThe content id.

Request

curl "https://looptake.com/api/v1/content/c02119cb-ed7a-40ed-87fe-c18edc1fa1a2" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "c02119cb-ed7a-40ed-87fe-c18edc1fa1a2",
    "generationId": "6522d1ec-2c11-4d3a-b078-6f6cfe9f217b",
    "format": "walloftext",
    "renderStatus": "ready",
    "creditsSpent": 0,
    "media": [
      {
        "kind": "video",
        "url": "https://cdn.looptake.com/c02119cb-ed7a-40ed-87fe-c18edc1fa1a2/video.mp4",
        "width": 1080,
        "height": 1920,
        "durationMs": 8000
      }
    ]
  }
}

GET/content/{id}/download

Get a download URL for the finished media.

  • No credits
  • content:write
  • 600 per 300s

Returns a short-lived signed URL. If the media does not exist yet, starts the render and returns 409. Poll until 200.

  • On 409, retry after a few seconds. A 409 for a failed render is final; its credits were refunded.
  • Media is kept indefinitely, also in archived workspaces. Only DELETE /influencers/{id} removes media (that influencer’s videos).

Path parameters

NameTypeDescription
idstringThe content id.

Request

curl "https://looptake.com/api/v1/content/c02119cb-ed7a-40ed-87fe-c18edc1fa1a2/download" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "url": "https://cdn.looptake.com/c02119cb-ed7a-40ed-87fe-c18edc1fa1a2/video.mp4?sig=…",
    "expiresAt": "2026-08-12T12:35:00Z",
    "bytes": 3120044,
    "contentType": "video/mp4"
  }
}

Content studio

The content studio renders, one endpoint per named render. All accept a job and return 202; none blocks.

POST/content/character-swap

Replace the person in a video.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

Replaces the presenter in a video and keeps its timing and framing.

Body fields

NameTypeRequiredDescription
videoUrlstringRequiredSource video. Its motion and timing are kept. Format: uri.
characterImageUrlstringRequiredImage of the new face. Format: uri.
scenestringOptionalSetting for the new character.
keepSourceAudiobooleanOptionalKeeps the original audio instead of a new voice. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/character-swap" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "videoUrl": "https://cdn.example.com/hook.mp4",
  "characterImageUrl": "https://cdn.example.com/mara.jpg",
  "keepSourceAudio": true
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "a358a75e-6678-42fe-b595-5415fcea62d0",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/a358a75e-6678-42fe-b595-5415fcea62d0"
  }
}

POST/content/green-screen-mobile

Present in front of an app screen.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A presenter in front of your app screenshot, reading your script.

Body fields

NameTypeRequiredDescription
appScreenshotstringRequiredApp screenshot shown behind the presenter. Format: uri.
presenterImagestringRequiredPresenter image. Format: uri.
scriptstringRequiredPresenter script.
durationintegerOptionalTarget length in seconds.
languageenumOptionalBCP 47 language tag for the voice and captions. One of the 44 supported languages; any other tag is 400 invalid_input. Default en. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
captionOverlaybooleanOptionalBurns word-level captions into the video. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/green-screen-mobile" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "appScreenshot": "https://cdn.example.com/screen.png",
  "presenterImage": "https://cdn.example.com/mara.jpg",
  "script": "This is the reorder screen. Three inputs, and it tells you the day to order.",
  "duration": 18
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "b1c33352-9456-4902-9c50-20e1f363d387",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/b1c33352-9456-4902-9c50-20e1f363d387"
  }
}

POST/content/clone-video

Put your character inside a video that worked.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

Renders your character performing the motion of a source video, with the same timing.

Body fields

NameTypeRequiredDescription
imageUrlstringRequiredThe character to render. Format: uri.
videoUrlstringRequiredSource video whose motion is copied. Format: uri.
videoDurationintegerOptionalUses only the first N seconds.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/clone-video" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "imageUrl": "https://cdn.example.com/mara.jpg",
  "videoUrl": "https://cdn.example.com/trend.mp4",
  "videoDuration": 9
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "27afc4b5-41d2-488f-85cf-9f7e9d7a1094",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/27afc4b5-41d2-488f-85cf-9f7e9d7a1094"
  }
}

POST/content/talking-head

One presenter, one script, to camera.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A lip-synced presenter reading your script. Omit the appearance fields to pick one from the brand context; set them to reuse one character.

Body fields

NameTypeRequiredDescription
scriptstringRequiredWhat they say, word for word.
avatarImageUrlstringOptionalFace image. Default: built from the appearance fields or the brand context. Format: uri.
durationintegerOptionalTarget length in seconds.
languageenumOptionalBCP 47 language tag for the voice and captions. One of the 44 supported languages; any other tag is 400 invalid_input. Default en. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
modestringOptionalRender mode to produce the video in.
genderstringOptionalPresented gender of the character.
ageintegerOptionalApparent age of the character.
ethnicitystringOptionalApparent ethnicity of the character.
appearancestringOptionalFree text: clothing, setting, framing.
referenceImagesstring[]OptionalExtra reference images for a consistent character.
captionOverlaybooleanOptionalBurns word-level captions into the video. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/talking-head" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "script": "Your reorder point is a guess until you know three numbers. Here they are.",
  "duration": 20,
  "language": "en",
  "captionOverlay": true
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "218dc08b-83e1-4f26-a5e9-b84ce8a0bed0",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/218dc08b-83e1-4f26-a5e9-b84ce8a0bed0"
  }
}

POST/content/talking-head-green-screen

Presenter over your demo footage.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

The presenter in a corner of the frame, with your demo video behind.

Body fields

NameTypeRequiredDescription
scriptstringRequiredPresenter script.
avatarImageUrlstringRequiredThe presenter’s face. Format: uri.
demoVideoUrlstringRequiredThe footage behind them. Format: uri.
demoThumbstringOptionalCover frame for the demo layer. Format: uri.
avatarPositionstringOptionalPresenter position, for example `bottom-left`.
durationintegerOptionalTarget length in seconds.
languageenumOptionalBCP 47 language tag for the voice and captions. One of the 44 supported languages; any other tag is 400 invalid_input. Default en. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
captionOverlaybooleanOptionalBurns word-level captions into the video. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/talking-head-green-screen" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "script": "Watch what happens when stock drops below the reorder point.",
  "avatarImageUrl": "https://cdn.example.com/mara.jpg",
  "demoVideoUrl": "https://cdn.example.com/demo.mp4",
  "avatarPosition": "bottom-left"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "7f0be271-ff4a-4c16-8810-a8910590c564",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/7f0be271-ff4a-4c16-8810-a8910590c564"
  }
}

POST/content/interview

A two-shot podcast cut.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A two-person podcast-style interview.

Body fields

NameTypeRequiredDescription
scriptstringRequiredThe dialogue to speak.
avatarImageUrlstringOptionalThe interviewee’s face. Format: uri.
durationintegerOptionalTarget length in seconds.
languageenumOptionalBCP 47 language tag for the voice and captions. One of the 44 supported languages; any other tag is 400 invalid_input. Default en. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
genderstringOptionalPresented gender of the character.
ageintegerOptionalApparent age of the character.
ethnicitystringOptionalApparent ethnicity of the character.
appearancestringOptionalFree text: clothing, setting, framing.
captionOverlaybooleanOptionalBurns word-level captions into the video. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/interview" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "script": "So what actually goes wrong? You order on a Monday because you always have.",
  "duration": 22
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "20979bf3-5cb8-49c3-a9d9-da3e185bf0bd",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/20979bf3-5cb8-49c3-a9d9-da3e185bf0bd"
  }
}

POST/content/product-spokesperson

A presenter holding your product.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A presenter holding your product, generated from a product photo. `instruction` says what they do with it.

Body fields

NameTypeRequiredDescription
scriptstringRequiredWhat the spokesperson says.
spokespersonImagestringOptionalThe presenter’s face. Format: uri.
avatarImagestringOptionalAn alternative character reference. Format: uri.
productImagestringOptionalProduct photo, best on a plain background. Format: uri.
instructionstringOptionalAction with the product, for example hold it or open it.
durationintegerOptionalTarget length in seconds.
languageenumOptionalBCP 47 language tag for the voice and captions. One of the 44 supported languages; any other tag is 400 invalid_input. Default en. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
captionOverlaybooleanOptionalBurns word-level captions into the video. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/product-spokesperson" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "script": "It fits in a shirt pocket and it holds a week of stock counts.",
  "productImage": "https://cdn.example.com/scanner.jpg",
  "instruction": "Hold it up, then turn it to show the screen."
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "a3aa7e95-02af-4bd1-89d4-1fe1e7f0c2a2",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/a3aa7e95-02af-4bd1-89d4-1fe1e7f0c2a2"
  }
}

POST/content/grid-video

Four variations at once.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

Four variations in one 2x2 grid video.

Body fields

NameTypeRequiredDescription
promptstringOptionalSteers the script. Default: the brand context picks the topic.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
portraitbooleanOptional9:16 when true; square when false. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/grid-video" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "Four ways a shelf goes empty",
  "portrait": true
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "2a3524c5-42fb-493a-bcd9-fabae9e37944",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/2a3524c5-42fb-493a-bcd9-fabae9e37944"
  }
}

POST/content/listicle

Numbered points, one at a time.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A numbered list shown one point at a time.

Body fields

NameTypeRequiredDescription
promptstringOptionalSteers the script. Default: the brand context picks the topic.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
layoutstringOptionalList layout, for example `stacked` or `card`.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/listicle" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "Five signs you are about to run out of your best seller",
  "layout": "stacked"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "2a862e75-3794-4283-b142-01d05c2722d2",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/2a862e75-3794-4283-b142-01d05c2722d2"
  }
}

POST/content/ask-me-anything

A question card, answered to camera.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A question card answered to camera.

Body fields

NameTypeRequiredDescription
promptstringOptionalSteers the script. Default: the brand context picks the topic.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/ask-me-anything" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "Why not just use a spreadsheet?"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "1f30e99a-fa58-44c3-babe-7d109e9f21df",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/1f30e99a-fa58-44c3-babe-7d109e9f21df"
  }
}

POST/content/ranking

A tier list from your category.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A ranked tier list on a topic.

Body fields

NameTypeRequiredDescription
promptstringOptionalSteers the script. Default: the brand context picks the topic.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/ranking" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "Stock-control methods, worst to best"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "5b4c7516-18a4-445e-b3e0-be00fc03de0c",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/5b4c7516-18a4-445e-b3e0-be00fc03de0c"
  }
}

POST/content/split-screen

Demo above, retention clip below.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

Demo video on top, an attention clip below.

Body fields

NameTypeRequiredDescription
promptstringOptionalSteers the script. Default: the brand context picks the topic.
captionstringOptionalOn-screen text over the demo.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/split-screen" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "Reorder point, explained in nine seconds",
  "caption": "The number you are guessing"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "7853b5b4-c9ce-46ad-b46b-c4a28f3e3a69",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/7853b5b4-c9ce-46ad-b46b-c4a28f3e3a69"
  }
}

POST/content/fade-in-video

One image, one line, one slow push.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

One image with one line of text and a slow zoom.

Body fields

NameTypeRequiredDescription
promptstringOptionalSteers the script. Default: the brand context picks the topic.
imageUrlstringOptionalThe image. Generated from the brand context if omitted. Format: uri.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/fade-in-video" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "prompt": "The shelf that never empties",
  "imageUrl": "https://cdn.example.com/shelf.jpg"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "b10ab1bb-64b7-40c4-9173-609bf09fd7a8",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/b10ab1bb-64b7-40c4-9173-609bf09fd7a8"
  }
}

POST/content/hook-demo

A three-second hook stitched onto real footage.

  • 202, poll to finish
  • 1361 credits per render
  • content:write
  • 30 per 300s
  • Idempotency-Key

A short hook clip joined to your product footage.

Body fields

NameTypeRequiredDescription
hookVideoUrlstringRequiredOpening hook clip, usually about 3 seconds. Format: uri.
demoVideoUrlstringRequiredProduct footage played after the hook. Format: uri.
captionstringOptionalOn-screen text over the hook.
promptstringOptionalSteers the script. Default: the brand context picks the topic.
hookThumbstringOptionalCover frame for the hook layer. Format: uri.
mentionBusinessbooleanOptionalNames the brand in the script. Default true.
influencerIdstringOptionalAttributes the render to an AI influencer, so it can be published from that influencer’s accounts. Format: id.
namestringOptionalLabel for the piece in your library. Defaults to the format name and the creation time.

Request

curl -X POST "https://looptake.com/api/v1/content/hook-demo" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "hookVideoUrl": "https://cdn.example.com/hook.mp4",
  "demoVideoUrl": "https://cdn.example.com/demo.mp4",
  "caption": "I found out the expensive way"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "contentId": "6e519ee1-e4a1-4d87-b91b-4a8adc32473f",
    "renderStatus": "pending",
    "creditsReserved": 1361,
    "statusUrl": "https://looptake.com/api/v1/content/6e519ee1-e4a1-4d87-b91b-4a8adc32473f"
  }
}

Analytics

Performance by window and by post, from the platforms’ own reporting APIs.

GET/analytics/overview

Read performance for a period.

  • No credits
  • analytics:read
  • 600 per 300s

Views, likes, followers and clicks for a period, per platform and total, with the previous period of equal length. Set either `window` or `from`/`to`, for example `?from=2026-01-01&to=2026-03-31`.

  • Sending `window` and `from`/`to` together is `400 invalid_input`.
  • A range needs both `from` and `to`.
  • A range is at most 366 days, both ends included; longer is `400`.
  • `to` may not be after today.
  • `range` is the resolved period: inclusive `from` and `to` instants at microsecond precision, and `days`.
  • `coverage.since` is the workspace creation time. `coverage.complete` is false if the period starts earlier; that part reads as zero.
  • `window` is `null` when a range was given.

Query parameters

NameTypeRequiredDescription
windowenumOptionalPeriod length. Not with `from`/`to`. Default 28d. One of: 7d, 28d, 90d.
fromstringOptionalFirst day, inclusive. Needs `to`; not with `window`. Format: date.
tostringOptionalLast day, inclusive. Not after today. Format: date.
platformenumOptionalOnly this platform. One of: tiktok, instagram, youtube.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/analytics/overview?from=2026-01-01&to=2026-03-31" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "window": null,
    "range": {
      "from": "2026-01-01T00:00:00.000000Z",
      "to": "2026-03-31T23:59:59.999999Z",
      "days": 90
    },
    "coverage": {
      "since": "2025-11-04T10:12:00Z",
      "complete": true
    },
    "totals": {
      "views": 184220,
      "likes": 9104,
      "comments": 612,
      "shares": 1488,
      "saves": 2210,
      "followers": 1342,
      "clicks": 806
    },
    "previous": {
      "views": 141980,
      "likes": 7220,
      "comments": 501,
      "shares": 1102,
      "saves": 1740,
      "followers": 1109,
      "clicks": 615
    },
    "byPlatform": [
      {
        "platform": "tiktok",
        "views": 121400,
        "followers": 902
      },
      {
        "platform": "instagram",
        "views": 41220,
        "followers": 288
      },
      {
        "platform": "youtube",
        "views": 21600,
        "followers": 152
      }
    ]
  }
}

GET/analytics/posts

Read per-post performance.

  • No credits
  • analytics:read
  • 600 per 300s
  • Paginated

One row per post per platform, sortable. `clicks` is set for posts with an attribution link. `signups` is always `null` (not measured).

Query parameters

NameTypeRequiredDescription
sortenumOptionalColumn to order by. Default views. One of: views, likes, comments, shares, saves, clicks, publishedAt.
orderenumOptionalSort direction. Default desc. One of: asc, desc.
fromstringOptionalInclusive lower bound on the publish date. Format: date.
tostringOptionalInclusive upper bound on the publish date. Format: date.
platformenumOptionalRestricts to one platform. One of: tiktok, instagram, youtube.
pageintegerOptionalOne-based page number. Default 1.
limitinteger 1-100OptionalItems per page. Default 20.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/analytics/posts?sort=views&order=desc&limit=1" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "postId": "973821cf-5cc7-44f7-8795-e68da31c59ef",
      "platform": "tiktok",
      "format": "walloftext",
      "angle": "The cost of one stockout",
      "publishedAt": "2026-09-01T15:00:11Z",
      "views": 48210,
      "likes": 3110,
      "comments": 240,
      "shares": 610,
      "saves": 880,
      "clicks": 214,
      "signups": null
    }
  ],
  "pagination": {
    "total": 120,
    "page": 1,
    "limit": 1,
    "pages": 120
  }
}

GET/analytics/export

Export per-post performance as CSV.

  • No credits
  • analytics:read
  • 600 per 300s

Returns the `GET /analytics/posts` rows for the same filters as a `text/csv` attachment, one row per post per platform. Fields are quoted per RFC 4180; values that start like a formula get a leading apostrophe.

  • The file starts with a UTF-8 byte-order mark.
  • Records end with CRLF; newlines inside captions are LF.
  • Includes `caption`, which `GET /analytics/posts` does not.
  • Omits `signups`.
  • Too many matching rows is `400 invalid_input`; narrow the filter.

Query parameters

NameTypeRequiredDescription
sortenumOptionalColumn to order by. Default views. One of: views, likes, comments, shares, saves, clicks, publishedAt.
orderenumOptionalSort direction. Default desc. One of: asc, desc.
fromstringOptionalInclusive lower bound on the publish date. Format: date.
tostringOptionalInclusive upper bound on the publish date. Format: date.
platformenumOptionalRestricts to one platform. One of: tiktok, instagram, youtube.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/analytics/export?from=2026-08-01&to=2026-08-31" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (text/csv)

"postId","platform","publishedAt","format","angle","caption","views","likes","comments","shares","saves","clicks"
"973821cf-5cc7-44f7-8795-e68da31c59ef","tiktok","2026-08-01T15:00:11Z","walloftext","The cost of one stockout","The maths nobody runs, before they run out.","48210","3110","240","610","880","214"

POST/analytics/reports

Share a performance report by link.

  • No credits
  • analytics:read
  • 600 per 300s

Creates a signed URL that shows one workspace’s numbers for one period to anyone. The period is fixed at creation. Set `window` or `from`/`to` as on `GET /analytics/overview`. The URL is returned only once.

  • The report shows totals, a per-platform breakdown and the ten most-watched posts. It has no ids and no draft captions.
  • The report omits `angle`; the CSV export has it.
  • Needs only `analytics:read`.
  • Period rules and errors match `GET /analytics/overview`.
  • `window` echoes the period: `28d` for a window, `2026-04-01..2026-06-30` for a range.
  • `periodStart` and `periodEnd` are inclusive, at microsecond precision, as `range` on GET /analytics/overview. For a range they start at the `from` date.

Body fields

NameTypeRequiredDescription
recipientLabelstringRequiredWho the link is for. Stored as the record of the recipient.
windowenumOptionalPeriod length. Not with `from`/`to`. Default 28d. One of: 7d, 28d, 90d.
fromstringOptionalFirst day, inclusive. Needs `to`; not with `window`. Format: date.
tostringOptionalLast day, inclusive. Not after today. Format: date.
expiresInDaysinteger 1-30OptionalLink lifetime in days. Default 7.
workspaceIdstringOptionalScopes the request to one workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/analytics/reports" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "recipientLabel": "Dana at Acme",
  "window": "28d",
  "expiresInDays": 14
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "b1f0c2d4-8f3a-4a2e-9c17-6b0d5e8a4412",
    "recipientLabel": "Dana at Acme",
    "window": "28d",
    "periodStart": "2026-08-05T09:00:00.000001Z",
    "periodEnd": "2026-09-02T09:00:00.000000Z",
    "expiresAt": "2026-09-16T09:00:00Z",
    "url": "https://looptake.com/report/b1f0c2d4-8f3a-4a2e-9c17-6b0d5e8a4412.1789347600.4f1c9a0e2b7d8351c6a4f0e9b2d7315a8c0e4f61a9d3b7250c8e1f4a6d039b2c"
  }
}

DELETE/analytics/reports/{id}

Revoke a shared report link.

  • No credits
  • analytics:read
  • 600 per 300s

Revokes the link at once, including copies already shared. A second revoke keeps the first `revokedAt`.

  • An unknown id, or one belonging to another team, is `404 not_found`.

Path parameters

NameTypeDescription
idstringThe report id from the create call.

Request

curl -X DELETE "https://looptake.com/api/v1/analytics/reports/b1f0c2d4-8f3a-4a2e-9c17-6b0d5e8a4412" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "b1f0c2d4-8f3a-4a2e-9c17-6b0d5e8a4412",
    "revokedAt": "2026-09-03T11:20:04Z"
  }
}

Webhooks

Five events sent to a URL you own.

GET/webhooks

List webhook endpoints and their recent deliveries.

  • No credits
  • webhooks:write
  • 600 per 300s

Each endpoint has its last five deliveries with every attempt: response status, latency and transport error. `status` is `active`, `paused` (by you) or `disabled` (by us after repeated failures; see `disabledReason`). The signing secret is not returned.

  • Delivery is at-least-once. Deduplicate on the `Looptake-Delivery` header (the delivery `id`, the same on every attempt).

Request

curl "https://looptake.com/api/v1/webhooks" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "ae7ede5e-9f5a-42a3-8901-40b74b2130af",
      "url": "https://northwind.example/hooks/looptake",
      "events": [
        "post.published",
        "post.failed"
      ],
      "workspaceId": null,
      "secretLast4": null,
      "status": "active",
      "failureCount": 0,
      "disabledAt": null,
      "disabledReason": null,
      "lastDeliveryAt": "2026-08-13T09:00:12Z",
      "createdAt": "2026-07-20T08:00:00Z",
      "deliveries": [
        {
          "id": "5b0d6f0a-6e0a-4a3e-8f2f-0d7a2d0e9b11",
          "event": "post.published",
          "status": "delivered",
          "attempts": 2,
          "responseStatus": 200,
          "error": null,
          "nextAttemptAt": null,
          "deliveredAt": "2026-08-13T09:00:12Z",
          "createdAt": "2026-08-13T09:00:00Z",
          "attemptLog": [
            {
              "at": "2026-08-13T09:00:00Z",
              "status": 503,
              "latencyMs": 87,
              "error": "the endpoint answered 503"
            },
            {
              "at": "2026-08-13T09:00:12Z",
              "status": 200,
              "latencyMs": 41,
              "error": null
            }
          ]
        }
      ]
    }
  ]
}

POST/webhooks

Create a webhook endpoint.

  • No credits
  • webhooks:write
  • 600 per 300s

Events: `post.published`, `post.failed`, `content.ready`, `credits.low` and `lab.item.finished`. The response has the signing secret, once. Each delivery has `Looptake-Signature: t=<unix>,v1=<hex>`, an HMAC-SHA-256 over `<t>.<raw body>`. See /developers/docs/webhooks.

  • `secret` is returned only here.
  • A second endpoint with the same URL is 409.

Body fields

NameTypeRequiredDescription
urlstringRequiredWhere deliveries are posted. Must be HTTPS. Format: uri.
eventsenumRequiredEvents to receive. At least one. One of: post.published, post.failed, content.ready, credits.low, lab.item.finished.
workspaceIdstringOptionalOnly events from this workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/webhooks" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://northwind.example/hooks/looptake",
  "events": [
    "post.published",
    "post.failed"
  ]
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "ae7ede5e-9f5a-42a3-8901-40b74b2130af",
    "url": "https://northwind.example/hooks/looptake",
    "events": [
      "post.published",
      "post.failed"
    ],
    "secret": "whsec_9f13c0a8b24e7d5162af38cc90b1e774",
    "status": "active"
  }
}

PATCH/webhooks/{id}

Correct an endpoint, or switch it back on.

  • No credits
  • webhooks:write
  • 600 per 300s

Omitted fields are unchanged. `events` replaces the list; an empty array is `400 invalid_input`. `active: false` pauses deliveries. `active: true` resumes, also from `disabled`, and clears `disabledAt`, `disabledReason` and `failureCount`. `workspaceId` cannot be changed.

  • The signing secret does not change.
  • An empty body is `400 invalid_input`.
  • Changing to a URL the team already uses is `409`.

Path parameters

NameTypeDescription
idstringThe webhook id.

Body fields

NameTypeRequiredDescription
urlstringOptionalWhere deliveries are posted. Must be HTTPS. Format: uri.
eventsenumOptionalNew event list, replacing the old one. At least one. One of: post.published, post.failed, content.ready, credits.low, lab.item.finished.
activebooleanOptionalTurns delivery on or off. `true` also clears a disablement.

Request

curl -X PATCH "https://looptake.com/api/v1/webhooks/ae7ede5e-9f5a-42a3-8901-40b74b2130af" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "events": [
    "post.published"
  ],
  "active": true
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "ae7ede5e-9f5a-42a3-8901-40b74b2130af",
    "url": "https://northwind.example/hooks/looptake",
    "events": [
      "post.published"
    ],
    "workspaceId": null,
    "secretLast4": null,
    "status": "active",
    "failureCount": 0,
    "disabledAt": null,
    "disabledReason": null,
    "lastDeliveryAt": "2026-08-13T09:00:12Z",
    "createdAt": "2026-07-20T08:00:00Z",
    "deliveries": []
  }
}

DELETE/webhooks/{id}

Delete a webhook endpoint.

  • No credits
  • webhooks:write
  • 600 per 300s

Stops deliveries at once. In-flight deliveries are not recalled. Delivery history and the secret are deleted; to pause instead, `PATCH` with `active: false`.

Path parameters

NameTypeDescription
idstringThe webhook id.

Request

curl -X DELETE "https://looptake.com/api/v1/webhooks/ae7ede5e-9f5a-42a3-8901-40b74b2130af" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "ae7ede5e-9f5a-42a3-8901-40b74b2130af",
    "deleted": true
  }
}

Brand context

Re-read the website and rebuild the brand context every generation is written from.

POST/brand/analyze

Re-derive the brand context.

  • 202, poll to finish
  • No credits
  • workspaces:write
  • 600 per 300s

Crawls the site again and rebuilds the brand context (identity, audience, tone, value propositions, angles, keywords, competitors, palette). Later generations use it. Billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty.

  • Poll GET /workspaces/{id} until `brandContext.refreshedAt` is later than this call.

Body fields

NameTypeRequiredDescription
urlstringOptionalSite to read. Defaults to the workspace’s `websiteUrl`. Format: uri.
workspaceIdstringOptionalWorkspace to rebuild. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/brand/analyze" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://northwind.example"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "status": "analyzing",
    "statusUrl": "https://looptake.com/api/v1/workspaces/91e14cbf-2c80-4b3b-a6bf-776bbde6b54c"
  }
}

DELETE/brand

Delete the brand context.

  • No credits
  • workspaces:write
  • 600 per 300s

Deletes the workspace’s brand context, for example after a crawl read the wrong site. A failed crawl does not replace a wrong context, so use this. A second delete is 404.

  • Only the brand context is deleted.

Query parameters

NameTypeRequiredDescription
workspaceIdstringOptionalWorkspace to clear. Defaults to the key’s default workspace. Format: id.

Request

curl -X DELETE "https://looptake.com/api/v1/brand?workspaceId=91e14cbf-2c80-4b3b-a6bf-776bbde6b54c" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "deleted": true
  }
}

Lab

Every image, video and audio model: the catalog, quotes, runs across up to six models, Language swap, Lipsync, Captions, Remix, Face swap, Draft and Finish, the Model Advisor and the Director.

GET/models

List every image, video and audio model with its price.

  • No credits
  • Any scope
  • 600 per 300s

The catalog the Lab runs: every model with its kind, inputs, resolutions, durations, sound, reference limit, request `params`, tags and the provider’s USD list price by tier. `price.unit` is `second` (of video), `image`, `megapixel_second` (upscale), `thousand_characters` (1,000 characters of speech), `minute` (of audio to transcribe) or `track` (music). `price.estimate` is true where the provider bills by token or by second of speech, converted at 15 characters per second, and for music; the receipt decides. `price.imageInputUsd`, where present, is the price of each picture sent with a job (a reference, a frame or a picture to edit); a per-token price is converted at a high token count per picture. Speech models also list `voices` (stock voice ids, the first is the default) and `formats` (`mp3`, `pcm`). `voiceCloning: true` marks a speech model that clones a voice from a recording; `multiSpeaker: true` one that voices a dialogue in one request. Needs no key. `creditUsd` is the value of one credit and `markup` the share added to list prices. POST /models/quote gives the price of a job.

  • Rates are the provider’s list prices. A run is quoted from the rate and billed from the provider’s receipt, so it can cost less than the quote.

Query parameters

NameTypeRequiredDescription
kindenumOptionalOnly models of this kind. `speech` is text to speech; `transcription` is speech to text. One of: video, image, edit, upscale, avatar, speech, transcription, music.
tagstringOptionalOnly models with this tag, such as `realism`, `audio`, `cloning` or `lipsync`.

Request

curl "https://looptake.com/api/v1/models?kind=video&tag=dialogue" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "creditUsd": 0.001,
    "markup": 0.2,
    "source": "openrouter",
    "syncedAt": "2026-10-28",
    "models": [
      {
        "id": "bytedance/seedance-2.5",
        "name": "Seedance 2.5",
        "lab": "ByteDance",
        "kind": "video",
        "inputs": [
          "text",
          "first_frame",
          "last_frame",
          "reference"
        ],
        "resolutions": [
          "480p",
          "720p"
        ],
        "aspectRatios": [
          "16:9",
          "4:3",
          "1:1",
          "3:4",
          "9:16",
          "21:9"
        ],
        "durations": [
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "audio": true,
        "maxReferences": 4,
        "price": {
          "unit": "second",
          "rates": {
            "480p": 0.1028,
            "720p": 0.23112
          },
          "estimate": false
        },
        "draft": "480p",
        "tags": [
          "realism",
          "dialogue",
          "multi-shot",
          "audio",
          "long",
          "image-to-video"
        ]
      }
    ]
  }
}

POST/models/quote

Price one job on one model.

  • No credits
  • generations:read
  • 600 per 300s

The price of one job: `usd` is the price in USD, `providerUsd` the provider’s list price, `markup` the share added to it, and `credits` the price in credits, rounded up to a whole credit. A job is seconds of video, images, `characters` of text to speak, seconds of audio to transcribe, or music tracks, by the model’s `price.unit`. `reservedCredits` is the hold a run takes while it works: 1.5 times the quote, because token billing and minimum billing on short clips can put the receipt above the list price. `estimate: true` marks a price the receipt decides: token billing, speech billed by the second, and music. Send `images` to count the pictures the job sends.

Body fields

NameTypeRequiredDescription
modelstringRequiredA model id from GET /models.
tierstringOptionalA resolution or quality the model offers. Default: its first listed tier.
secondsintegerOptionalSeconds of output, for video. Default: the model’s first listed duration. For transcription, seconds of input audio. Default 60.
audiobooleanOptionalWhether sound is generated. Default: on where the model makes sound.
countinteger 1-10OptionalImages, for image models, or tracks, for music. Default 1.
charactersinteger 1-100000OptionalCharacters of text to speak, for speech models. Default 1,000.
imagesintegerOptionalPictures sent with the job: references, frames and a picture to edit. Each adds the model’s `price.imageInputUsd`, once per job. Default 0.

Request

curl -X POST "https://looptake.com/api/v1/models/quote" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedance-2.5",
  "tier": "480p",
  "seconds": 4
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "model": "bytedance/seedance-2.5",
    "tier": "480p",
    "usd": 0.49344,
    "providerUsd": 0.4112,
    "markup": 0.2,
    "credits": 494,
    "estimate": false,
    "reservedCredits": 741
  }
}

POST/lab/runs

Run one prompt on one to six models, or a clip or image tool.

  • 202, poll to finish
  • 1 credits per $0.001 of the price
  • generations:write
  • 30 per 300s
  • Idempotency-Key

Starts one item per model, all of one kind; a dub starts one item per target language, a caption run one item on its transcriber, and a clip tool one item that runs no model. Each item is quoted from the catalog and held at 1.5 times its quote before the work. When an item finishes it is billed from the provider’s receipt, up to the hold, and the rest is refunded at once; a failed item refunds everything. `draft: true` runs each model at its cheapest tier. One `tier` applies to every model that offers it; the others use their default. Poll GET /lab/runs/{id}.

  • 402 `insufficient_credits` when the balance does not cover every item; nothing is charged.
  • Items past the team’s parallel-job limit wait as `queued` and start in the order they were created as running items finish. A team runs 3 at once, 10 with $20 of top-ups in the last 28 days, 25 with $100 and 50 with $500.
  • 429 with `Retry-After` only when the team already has 100 items queued or running.
  • Webhook `lab.item.finished` fires once per item that succeeds.
  • Speech: one to six speech models speak `prompt`, or the dialogue in `turns`. Quoted per character of the text and the instructions. Each item gives one MP3.
  • Voice change: the source is transcribed with `openai/whisper-large-v3-turbo`, then each speech model speaks each segment again, fitted to its time slot. Quoted as the transcription plus 15 characters of speech per second of source.
  • Music: one or two music models; `style`, `bpm`, `key` and `seed` steer the track. Quoted from the list price per track. Each item gives one MP3.
  • Dub: one speech model and one item per language. The source is transcribed, the chat model translates each segment to fit its time slot, and the speech model speaks it, fitted with tempo between 0.85x and 1.25x and mixed over the original track, which plays at about -18 dB. Quoted from the transcription, $0.005 per started minute of translation, and 15 characters of speech per second of source.
  • Voice change and dub of a recording give one MP3. Of a clip, they give the clip with its voice track replaced, with burned subtitles when a dub sets `subtitles`, plus the new track as an MP3.
  • Lipsync: a model tagged `lipsync` animates the portrait in `firstFrame` to the recording in `audioUrl`, or to `script` spoken first by `speechModel`. Quoted per second of speech at the tier, as an avatar, plus the script’s speech per character. Each item gives one video, as long as the speech, plus the spoken script as an MP3.
  • Resync: one frame of the clip is re-animated to new speech by a model tagged `lipsync`. The head and face move with the speech and the hands can move too; the clothes and background come from that frame, and the clip’s own motion is not kept. The frame is the one at `frameSeconds`, else the sharpest of those with the most face-coloured area near the centre, picked with ffmpeg at no charge. Quoted as a lipsync of the speech. Each item gives one video at the model’s ratio closest to the clip, plus the spoken script as an MP3; its `params` gain `frameSeconds` and `frameUrl`, the frame that was animated.
  • Dub with `resyncLips`: after each language is dubbed, a frame of the clip is re-animated to the new voice as in a resync, and the dubbed track and any subtitles go back on. The quote adds `heygen/avatar-iv` per second of the clip to each language. With two or more people talking, the one face in the frame speaks every line.
  • Voice, dub and music quotes are estimates. Each item is billed from the sum of its receipts (transcription, chat model and every speech call), up to the hold.
  • Caption: the transcriber hears the clip with each word’s time, the words are cut into short lines, and the lines are burned into the clip in the `captions` look. The item gives the captioned clip and keeps what it heard as `transcript`. Quoted per minute of the clip from the transcriber’s rate. Send the edited `transcript.lines` back as `lines` to burn them again for nothing.
  • Remix: a video model gets the clip and the picture as references and makes a clip as long as the source, at the ratio closest to it; the source’s sound goes back on. An edit model (swap without a picture) works on the clip itself and keeps its sound. Quoted from the tier’s rate for the seconds made plus the seconds read; an edit model for the seconds read.
  • Face swap: a model tagged `faceswap` puts the face in `references` on the person in the clip. Quoted and returned like a remix.
  • Some models refuse a picture or clip that may show a real person (Seedance), or a known character or brand. The item fails with that reason and is refunded in full.
  • Clip tools: `trim`, `reframe`, `sound`, `speed`, `grade` and `join` run only ffmpeg on Looptake’s workers. They call no model, so the item is quoted and charged 0 credits, even on an empty balance. Each gives one clip as H.264 and AAC in an MP4, or one MP3 for a sound extract. A team may start 20 clip tool runs in 5 minutes, on top of the studio window; the 21st is a 429 with `Retry-After`. A source longer than `seconds` fails the item.
  • Trim cuts `start` to `end`. Reframe makes 1080x1920, 1080x1080, 1080x1350 or 1920x1080. Speed keeps the pitch of the sound. Grade puts one colour preset on the picture. Join fits every clip to the first one’s shape (at most 1920 by 1080) at 30 fps, plays them in order and mixes `audioUrl` under their sound at half volume, or at full volume when no clip has sound.
  • Image tools: `cutout`, `relight` and `expand` send `sourceImageUrl` to each image model with a fixed instruction and give one picture each. They are quoted as one image at the model’s tier and billed from the receipt. Cutout gives a PNG with a transparent background: a model whose `params` has `background` is asked for one; any other model puts the subject on flat green, which is keyed out. A cutout with no clear pixels fails and is refunded. Relight and cutout ask for the ratio closest to the picture’s; expand asks for `aspectRatio`.
  • A field the kind does not use is a 400, such as "`bpm` is not used by this run’s `kind`." `voiceUrl` with `voice` or `voices` is a 400.

Body fields

NameTypeRequiredDescription
kindenumRequiredWhat the run makes. Every model must be of this kind, except that `voice` and `dub` take `speech` models, `caption` takes a `transcription` model tagged `timestamps`, `lipsync`, `remix` and `faceswap` take models with that tag, `resync` takes a model tagged `lipsync`, and `cutout`, `relight` and `expand` take `image` models that take a reference. The clip tools `trim`, `reframe`, `sound`, `speed`, `grade` and `join` take no model. One of: video, image, edit, upscale, avatar, speech, voice, music, dub, lipsync, caption, remix, faceswap, trim, reframe, sound, speed, grade, join, cutout, relight, expand, resync.
promptstringOptionalThe final prompt text, with any Director fields, look and camera moves already in it. For an avatar, the script; for speech, the text to speak. Required for image, video, edit, upscale, avatar, music, speech without `turns`, and a remix swap, where it says what to put in. Voice, dub, lipsync and resync fill a short default; for lipsync and resync it directs the motion. For a motion remix or a face swap it is extra direction, up to 7,500 characters, added to the instruction the model is sent. For relight, the light in your words, with or without `preset`; for expand, what fills the new area. Not used by caption, cutout or the clip tools.
modelsstring[]OptionalOne to six model ids from GET /models. Required except for caption, cutout, relight, expand and resync, which run on a default model when it is left out. Music takes one or two; a dub takes exactly one. Caption takes one transcriber tagged `timestamps`, such as `openai/whisper-large-v3-turbo`. Cutout defaults to the cheapest image model that makes a transparent background; relight and expand to `google/gemini-nano-banana-2.1`; resync takes one model tagged `lipsync` and defaults to `heygen/avatar-iv`. Not used by the clip tools.
draftbooleanOptionalRun each model at its cheapest tier. Default false.
tierstringOptionalA resolution or quality, used by every model that offers it. Remix, faceswap, lipsync and resync take one too, such as `480p` or `720p`, and so do the image tools.
secondsintegerOptionalSeconds of video. Required for edit and upscale: the length of the source clip. Required for voice and dub: the source length, 1 to 300. Required for lipsync with `audioUrl`: the recording’s length, 1 to 120; with `script` it may be left out. Required for resync: the clip’s length, 1 to 120. Required for caption: the clip’s length, 1 to 300. Required for remix and faceswap: the clip’s length, 1 to 30, and no longer than every model makes. Required for the clip tools: the clip’s length, 1 to 300; for join, the clips’ length together. For music, the track length, which must be one the model lists when it lists any. Not used by speech, which is quoted per character.
aspectRatiostringOptionalSuch as `9:16`. Every model must offer it. Required for reframe: `9:16`, `1:1`, `4:5` or `16:9`. Required for expand: the new frame.
audiobooleanOptionalSet false to turn sound off on models that make it.
countinteger 1-10OptionalImages per model, for image runs.
seedinteger 0-2147483647OptionalThe seed, 0 to 2147483647. Default: a random one in that range, kept on the run and on each item whose model takes a seed, so a finish can repeat it. A model that takes no seed refuses one you set and runs without the random one.
referencesstring[]OptionalReference image URLs, labelled in the prompt as A, B, C. An avatar takes the portrait and the voice recording here. A motion remix takes one picture, the character; a swap takes at most one, the thing to put in; a face swap takes one, the face.
firstFramestringOptionalAn image the clip starts on. Required for lipsync: the portrait, one face looking at the camera. Format: uri.
lastFramestringOptionalAn image the clip ends on. Format: uri.
sourceVideoUrlstringOptionalThe clip an edit, an upscale, a voice change, a dub, a caption run, a remix, a face swap, a resync or a clip tool other than join works on. A remix or face swap model fetches it, so it must be a public URL. Format: uri.
sourceImageUrlstringOptionalRequired for cutout, relight and expand: the picture to work on. The model fetches it, so it must be a public URL. Format: uri.
sourceAudioUrlstringOptionalThe recording a voice change or a dub works on. Voice and dub take exactly one of `sourceAudioUrl` and `sourceVideoUrl`. Format: uri.
sourceLanguageenumOptionalThe language spoken in the source, for voice, dub and caption. Default: detected. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
voicestringOptionalA stock voice id, for speech, voice and dub. Each model that lists it speaks in it; the others use their default, the first they list. 400 when no model in `models` lists it. For lipsync and resync with `script`: a voice `speechModel` lists, default its first.
voicesobjectOptionalA voice per model, for speech and voice, such as `{"elevenlabs/eleven-v4": "sarah"}`. Each key must be in `models`, and each value a voice that model lists.
instructionsstringOptionalDelivery, for speech and voice: tone, pace, emotion. Sent to the models whose `params` has `instructions`; the others ignore it.
voiceUrlstringOptionalA recording of one speaker, 10 to 30 seconds, to clone, for speech and voice. Every model must have `voiceCloning`. Not with `voice` or `voices`. Format: uri.
turnsobject[]OptionalA dialogue, for speech: 2 to 40 turns `{speaker, text, voice?, instructions?}`, with `speaker` up to 40 characters and `text` up to 2,000. Every model must have `multiSpeaker`. Each speaker gets its turn’s `voice` when the model lists it, else the model’s voices in order. A model that lists no voices needs a `voice` on every turn, as its provider names them. Without `prompt`, the prompt is the turns as `Speaker: text` lines.
languagesenumOptionalTarget languages, for dub: 1 to 6 different tags. One item per language, in this order. One of: ar, bg, bn, cs, da, de, el, en, en-GB, es-419, es-ES, et, fi, fil, fr-CA, fr-FR, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, ta, th, tr, uk, ur, vi, zh-Hans.
cloneVoicebooleanOptionalFor dub: speak in the original speaker’s voice, cloned from a clean slice of the source. Default: true when the model has `voiceCloning` and no `voice` is set. 400 when true and the model cannot clone.
subtitlesbooleanOptionalFor dub: burn subtitles in the target language into the clip. Needs `sourceVideoUrl`. Default false.
stylestringOptionalFor music: genre and instruments, such as `lo-fi hip hop, warm Rhodes, vinyl crackle`.
bpminteger 40-240OptionalFor music: the tempo in beats per minute.
keystringOptionalFor music: the musical key, such as `A minor`.
audioUrlstringOptionalFor lipsync and resync: the recording the face speaks, 1 to 120 seconds. Send it or `script`, not both. The model fetches it, so it must be a public URL. For join: a music or voice track mixed under the clips, cut at their end. Format: uri.
audioSecondsinteger 1-120OptionalRequired for resync with `audioUrl`: the recording’s length, which the item is priced on.
scriptstringOptionalFor lipsync and resync, in place of `audioUrl`: words `speechModel` speaks first, about two minutes at most. The item is priced on the time it takes to say, one second per 15 characters, plus the speech.
speechModelstringOptionalFor lipsync and resync with `script`: the speech model that says it. GET /models?kind=speech lists them. Default elevenlabs/eleven-v4.
frameSecondsnumberOptionalFor resync: the time of the frame to animate, in seconds from the start, below `seconds`. Default: the frame Looptake picks.
resyncLipsbooleanOptionalFor dub: re-animate the speaker to each language with `heygen/avatar-iv`, from one frame of the clip. Needs `sourceVideoUrl`, one person talking, and `seconds` up to 120. Default false.
captionsobjectOptionalFor caption: how the captions look, `{style, position, size, color, accent}`, each optional. `style` is `highlight` (default), `pop`, `bounce`, `typewriter`, `outline`, `box`, `glass`, `gradient`, `neon` or `minimal`; `position` is `bottom` (default), `middle` or `top`; `size` is `s`, `m` (default) or `l`; `color` (the text) and `accent` (the spoken word, the box, the glow or the gradient’s end) are `#rrggbb` and default to the style’s own colours.
linesobject[]OptionalFor caption: edited lines to burn, `{start, end, text, words?}` with times in seconds and `words` as `{text, start, end}`. Lines are in order and do not overlap; `text` is at most 200 characters. With `lines` the clip is not transcribed and the item is quoted and charged 0. Start from an item’s `transcript.lines`.
modeenumOptionalRequired for remix and sound. Remix: `motion`, the character in `references` performs the clip’s moves, on video models only; `swap`, the thing `prompt` names is replaced, after the picture in `references` when there is one (video models only), else on any remix model. Sound: `extract` gives the sound as an MP3; `remove` gives the clip with no sound. One of: motion, swap, extract, remove.
consentbooleanOptionalRequired for faceswap, and must be true: "I have the right to use this face. I will not use it to impersonate or mislead anyone." Stored on the run as `params.consent`, `{text, acceptedAt}`.
startnumberOptionalRequired for trim: where the cut starts, in seconds from the start of the clip.
endnumberOptionalRequired for trim: where the cut ends, in seconds, after `start` and within `seconds`. A cut is at least 0.5 seconds.
fitenumOptionalFor reframe. `crop` cuts the new frame out of the clip; `pad` shows the whole clip over a blurred copy of itself. Default crop. One of: crop, pad.
positionnumberOptionalFor reframe with `fit: crop`: where across the clip the frame sits, from 0 (the left edge) to 1 (the right). Default 0.5.
speednumberOptionalRequired for speed: how many times as fast the clip plays, 0.5 to 2, to two decimals. The sound keeps its pitch.
presetenumOptionalRequired for grade: a colour preset, `warm`, `cool`, `mono`, `noir`, `faded`, `contrast`, `vivid` or `vhs`. For relight: a light, `golden-hour`, `softbox`, `neon`, `overcast` or `candle`; a relight needs `preset`, `prompt` or both. One of: warm, cool, mono, noir, faded, contrast, vivid, vhs, golden-hour, softbox, neon, overcast, candle.
clipsstring[]OptionalRequired for join: 2 to 10 clip URLs, in the order they play. `seconds` is their length together, at most 300.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/lab/runs" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "kind": "video",
  "prompt": "Phone footage at night: a raccoon behind a café counter wipes the steam wand and sighs at the camera.",
  "models": [
    "bytedance/seedance-2.5",
    "bytedance/seedance-2.0-fast"
  ],
  "draft": true,
  "seconds": 4,
  "aspectRatio": "9:16"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "5d8f2c1a-7b3e-4c9d-8e1f-2a3b4c5d6e7f",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "kind": "video",
    "prompt": "Phone footage at night: a raccoon behind a café counter wipes the steam wand and sighs at the camera.",
    "draft": true,
    "purpose": "run",
    "sourceItemId": null,
    "status": "queued",
    "aspectRatio": "9:16",
    "seconds": 4,
    "params": {
      "tier": null,
      "seconds": 4,
      "aspectRatio": "9:16",
      "audio": null,
      "count": null,
      "seed": 2817,
      "references": [],
      "firstFrame": null,
      "lastFrame": null,
      "sourceVideoUrl": null
    },
    "creditsReserved": 1032,
    "items": [
      {
        "id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
        "model": "bytedance/seedance-2.5",
        "tier": "480p",
        "status": "queued",
        "quoteCredits": 494,
        "reservedCredits": 741,
        "chargedCredits": null,
        "providerUsd": null,
        "seed": 2817,
        "params": {},
        "outputs": [],
        "transcript": null,
        "liked": false,
        "downloadedAt": null,
        "error": null,
        "createdAt": "2026-10-29T09:00:00Z",
        "startedAt": null,
        "finishedAt": null
      },
      {
        "id": "1b2c3d4e-5f6a-4b7c-9d8e-0f1a2b3c4d5e",
        "model": "bytedance/seedance-2.0-fast",
        "tier": "480p",
        "status": "queued",
        "quoteCredits": 194,
        "reservedCredits": 291,
        "chargedCredits": null,
        "providerUsd": null,
        "seed": 2817,
        "params": {},
        "outputs": [],
        "transcript": null,
        "liked": false,
        "downloadedAt": null,
        "error": null,
        "createdAt": "2026-10-29T09:00:00Z",
        "startedAt": null,
        "finishedAt": null
      }
    ],
    "createdAt": "2026-10-29T09:00:00Z"
  }
}

GET/lab/runs

List a workspace’s runs, newest first, filtered.

  • No credits
  • generations:read
  • 600 per 300s
  • Paginated

Each run with its items, their status, quote, bill, `params`, outputs and marks (`liked`, `downloadedAt`). An output is an `image`, a `video` or an `audio` file. Outputs are in Looptake’s own storage. The filters combine. `pagination.total` counts the runs that pass them, and `pagination.nextCursor` starts the next page (`null` on the last). Send it back as `cursor` to page without repeats while new runs start.

Query parameters

NameTypeRequiredDescription
cursorstringOptionalThe `nextCursor` of the page before. With it, `page` is ignored.
pageintegerOptionalPage number, from 1, when there is no cursor. Default 1.
limitinteger 1-100OptionalRuns per page. Default 25.
kindstringOptionalRun kinds, separated by commas: `lipsync,avatar`.
modelstringOptionalA catalog id. Runs with an item on that model.
fromstringOptionalStarted at or after this instant. Format: date-time.
tostringOptionalStarted before this instant. Must be after `from`. Format: date-time.
failedbooleanOptional`false` hides runs whose every item failed; `true` lists only those.
likedbooleanOptionalRuns with a liked item, or with none.
downloadedbooleanOptionalRuns with a downloaded item, or with none.
searchstringOptionalWords in the prompt, any case, taken literally. At most 100 characters.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/lab/runs?limit=1&liked=true" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "5d8f2c1a-7b3e-4c9d-8e1f-2a3b4c5d6e7f",
      "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "kind": "image",
      "prompt": "A raccoon in a tiny green apron behind a café counter, 35mm, sodium light.",
      "draft": false,
      "purpose": "run",
      "sourceItemId": null,
      "status": "succeeded",
      "aspectRatio": "1:1",
      "seconds": null,
      "params": {
        "tier": "medium",
        "seconds": null,
        "aspectRatio": "1:1",
        "audio": null,
        "count": 1,
        "seed": 2817,
        "references": [],
        "firstFrame": null,
        "lastFrame": null,
        "sourceVideoUrl": null
      },
      "creditsReserved": 58,
      "items": [
        {
          "id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
          "model": "openai/gpt-image-2",
          "tier": "medium",
          "status": "succeeded",
          "quoteCredits": 39,
          "reservedCredits": 58,
          "chargedCredits": 16,
          "providerUsd": 0.0126,
          "seed": null,
          "params": {},
          "outputs": [
            {
              "url": "https://cdn.looptake.com/media/0a1b2c3d.png",
              "kind": "image",
              "width": 1024,
              "height": 1024
            }
          ],
          "transcript": null,
          "liked": true,
          "downloadedAt": "2026-10-29T09:02:10Z",
          "error": null,
          "createdAt": "2026-10-29T09:00:00Z",
          "startedAt": "2026-10-29T09:00:02Z",
          "finishedAt": "2026-10-29T09:00:21Z"
        }
      ],
      "createdAt": "2026-10-29T09:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 1,
    "total": 12,
    "pages": 12,
    "nextCursor": "1761728400000000.5d8f2c1a7b3e4c9d8e1f2a3b4c5d6e7f"
  }
}

GET/lab/runs/{id}

Read one run and its items.

  • No credits
  • generations:read
  • 600 per 300s

Items move `queued`, `running`, then `succeeded` or `failed`. A succeeded item carries `outputs`, `chargedCredits` (the credits billed) and the provider’s receipt in `providerUsd`; a failed one carries `error` and is refunded in full. The run’s `params` also carries the speech, dub, music, lip-sync, caption, remix and face swap fields that were sent.

  • Each item’s `params` holds what is particular to it: `{"voice": "george"}` or `{"clone": true}` for speech and voice, `{"language": "es-ES"}` with `voice` or `clone` for a dub, and `{}` for the other kinds.
  • An audio output is `{url, kind: "audio", seconds}`, an MP3. A voice change or dub of a clip has two outputs: the video, then its new track as audio.
  • A succeeded caption item carries `transcript`: `{language?, lines: [{start, end, text, words?}]}`, times in seconds. It is `null` on every other item.

Path parameters

NameTypeDescription
idstringThe run id from POST /lab/runs.

Request

curl "https://looptake.com/api/v1/lab/runs/5d8f2c1a-7b3e-4c9d-8e1f-2a3b4c5d6e7f" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "5d8f2c1a-7b3e-4c9d-8e1f-2a3b4c5d6e7f",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "kind": "video",
    "prompt": "Phone footage at night: a raccoon behind a café counter wipes the steam wand and sighs at the camera.",
    "draft": true,
    "purpose": "run",
    "sourceItemId": null,
    "status": "succeeded",
    "aspectRatio": "9:16",
    "seconds": 4,
    "params": {
      "tier": null,
      "seconds": 4,
      "aspectRatio": "9:16",
      "audio": null,
      "count": null,
      "seed": 2817,
      "references": [],
      "firstFrame": null,
      "lastFrame": null,
      "sourceVideoUrl": null
    },
    "creditsReserved": 741,
    "items": [
      {
        "id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
        "model": "bytedance/seedance-2.5",
        "tier": "480p",
        "status": "succeeded",
        "quoteCredits": 494,
        "reservedCredits": 741,
        "chargedCredits": 494,
        "providerUsd": 0.4112,
        "seed": 2817,
        "params": {},
        "outputs": [
          {
            "url": "https://cdn.looptake.com/media/0a1b2c3d.mp4",
            "kind": "video",
            "width": 480,
            "height": 864,
            "seconds": 4
          }
        ],
        "transcript": null,
        "liked": false,
        "downloadedAt": null,
        "error": null,
        "createdAt": "2026-10-29T09:00:00Z",
        "startedAt": "2026-10-29T09:00:02Z",
        "finishedAt": "2026-10-29T09:01:40Z"
      }
    ],
    "createdAt": "2026-10-29T09:00:00Z"
  }
}

POST/lab/items/{id}/finish

Finish a draft at the final tier, or upscale it.

  • 202, poll to finish
  • 1 credits per $0.001 of the price
  • generations:write
  • 30 per 300s
  • Idempotency-Key

Starts a new run with one item: the same model, prompt, seed and references at the model’s highest tier (or `tier`), or, with `upscale: true`, the item’s clip sent to the upscale model. The finish is held and billed like any run; the draft is not charged again.

  • 409 when the item has not succeeded, or already ran at the tier asked for.
  • 409 for speech, voice, music, dub, lipsync and resync items: only image and video takes can be finished.

Path parameters

NameTypeDescription
idstringA succeeded item id from a run.

Body fields

NameTypeRequiredDescription
tierstringOptionalThe tier to finish at. Default: the model’s highest.
upscalebooleanOptionalSend the clip to the upscale model instead. Default false.

Request

curl -X POST "https://looptake.com/api/v1/lab/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/finish" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "6e9a3d2b-8c4f-4d0e-9f2a-3b4c5d6e7f80",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "kind": "video",
    "prompt": "Phone footage at night: a raccoon behind a café counter wipes the steam wand and sighs at the camera.",
    "draft": false,
    "purpose": "finish",
    "sourceItemId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "status": "queued",
    "aspectRatio": "9:16",
    "seconds": 4,
    "params": {
      "tier": "720p",
      "seconds": 4,
      "aspectRatio": "9:16",
      "audio": null,
      "count": null,
      "seed": 2817,
      "references": [],
      "firstFrame": null,
      "lastFrame": null,
      "sourceVideoUrl": null
    },
    "creditsReserved": 1665,
    "items": [
      {
        "id": "2c3d4e5f-6a7b-4c8d-8e9f-1a2b3c4d5e6f",
        "model": "bytedance/seedance-2.5",
        "tier": "720p",
        "status": "queued",
        "quoteCredits": 1110,
        "reservedCredits": 1665,
        "chargedCredits": null,
        "providerUsd": null,
        "seed": 2817,
        "params": {},
        "outputs": [],
        "transcript": null,
        "liked": false,
        "downloadedAt": null,
        "error": null,
        "createdAt": "2026-10-29T09:05:00Z",
        "startedAt": null,
        "finishedAt": null
      }
    ],
    "createdAt": "2026-10-29T09:05:00Z"
  }
}

PATCH/lab/items/{id}

Like a take, take the like back, or record a download.

  • No credits
  • generations:write
  • 600 per 300s

Marks one succeeded item. `liked` sets or clears the mark, and the item’s copies in the asset library take the same mark. `downloaded: true` stamps `downloadedAt` with the time of the request. `GET /lab/runs` filters on both. The answer is the item, with its `runId`.

  • Send `liked`, `downloaded` or both. An empty body, or `downloaded: false`, is `400 invalid_input`.
  • 409 when the item has not succeeded: a queued, running or failed take has no file to like or download.

Path parameters

NameTypeDescription
idstringA succeeded item id from a run.

Body fields

NameTypeRequiredDescription
likedbooleanOptionalLike the take, or take the like back.
downloadedbooleanOptionalOnly `true`: records a download now.

Request

curl -X PATCH "https://looptake.com/api/v1/lab/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "liked": true
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "runId": "5d8f2c1a-7b3e-4c9d-8e1f-2a3b4c5d6e7f",
    "model": "bytedance/seedance-2.5",
    "tier": "480p",
    "status": "succeeded",
    "quoteCredits": 494,
    "reservedCredits": 741,
    "chargedCredits": 494,
    "providerUsd": 0.4112,
    "seed": 2817,
    "params": {},
    "outputs": [
      {
        "url": "https://cdn.looptake.com/media/0a1b2c3d.mp4",
        "kind": "video",
        "width": 480,
        "height": 864,
        "seconds": 4
      }
    ],
    "transcript": null,
    "liked": true,
    "downloadedAt": null,
    "error": null,
    "createdAt": "2026-10-29T09:00:00Z",
    "startedAt": "2026-10-29T09:00:02Z",
    "finishedAt": "2026-10-29T09:01:40Z"
  }
}

GET/lab/items/{id}/share

Read a take’s public link.

  • No credits
  • generations:read
  • 600 per 300s

The take’s share link, or `null` when it is not shared. `url` opens a page with the media, the title, the model and, when `showPrompt` is true, the prompt. `embedUrl` is a player for an iframe. Both carry Open Graph and oEmbed tags, so a post that holds the link shows a player.

Path parameters

NameTypeDescription
idstringAn item id from a run.

Request

curl "https://looptake.com/api/v1/lab/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/share" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "6f1d2e3c-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
    "url": "https://looptake.com/s/Xq3t9LkA0bPz7wRm2YcV1g",
    "embedUrl": "https://looptake.com/embed/Xq3t9LkA0bPz7wRm2YcV1g",
    "title": "Fox in the snow",
    "showPrompt": true,
    "createdAt": "2026-10-30T09:12:00Z"
  }
}

POST/lab/items/{id}/share

Share a take by link, or change its link.

  • No credits
  • generations:write
  • 600 per 300s

Makes a public link to one succeeded take, or changes the title and prompt setting of the link it has. The link stays the same. A new link is titled with the model’s name and hides the prompt. Anyone with the address sees the take’s outputs, its title and its model, and nothing else of the account.

  • 409 when the item has not succeeded.
  • Revoke and share again for a new address.

Path parameters

NameTypeDescription
idstringA succeeded item id from a run.

Body fields

NameTypeRequiredDescription
titlestringOptionalThe title the page shows, 1 to 120 characters. Default: the model’s name, or the title the link has.
showPromptbooleanOptionalWhether the page shows the prompt. Default: false, or the setting the link has.

Request

curl -X POST "https://looptake.com/api/v1/lab/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/share" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Fox in the snow",
  "showPrompt": true
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "6f1d2e3c-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
    "url": "https://looptake.com/s/Xq3t9LkA0bPz7wRm2YcV1g",
    "embedUrl": "https://looptake.com/embed/Xq3t9LkA0bPz7wRm2YcV1g",
    "title": "Fox in the snow",
    "showPrompt": true,
    "createdAt": "2026-10-30T09:12:00Z"
  }
}

DELETE/lab/items/{id}/share

Revoke a take’s public link.

  • No credits
  • generations:write
  • 600 per 300s

Deletes the link. The page and the player answer 404 at once, and the address never works again. `revoked` is false when the take had no link.

Path parameters

NameTypeDescription
idstringAn item id from a run.

Request

curl -X DELETE "https://looptake.com/api/v1/lab/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/share" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "revoked": true
  }
}

POST/lab/advise

Rank the models that can make a shot.

  • No credits
  • generations:write
  • 10 per 300s

The Model Advisor. Models that cannot meet the length, tier, reference count or sound are excluded first, each with the reason. The rest are ranked with a fit score from 0 to 100, a reason and the price; `budgetPick` is the cheapest that fits `budgetUsd`. When the ranking model does not answer, the ranking falls back to tags and price (`rankedBy: "tags"`) and bills nothing. Prices are quotes, as POST /models/quote gives them. Billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty.

Body fields

NameTypeRequiredDescription
promptstringRequiredThe shot, in your words.
kindenumOptionalWhat the shot needs. Default video. One of: video, image, edit, upscale, avatar.
secondsintegerOptionalLength in seconds. Models that cannot make it are excluded.
tierstringOptionalA resolution or quality the shot needs.
referencesintegerOptionalHow many references the shot attaches.
audiobooleanOptionalSet true when the shot needs sound.
budgetUsdnumberOptionalThe most one job should cost, in USD.

Request

curl -X POST "https://looptake.com/api/v1/lab/advise" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "Phone footage of a raccoon at a café counter, talking to camera.",
  "kind": "video",
  "seconds": 8,
  "references": 1,
  "audio": true,
  "budgetUsd": 1
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "picks": [
      {
        "model": "bytedance/seedance-2.5",
        "fit": 92,
        "reason": "The most natural faces and lip sync for a talking shot.",
        "usd": 2.218752,
        "credits": 2219
      },
      {
        "model": "google/veo-3.1-fast",
        "fit": 85,
        "reason": "Native dialogue and sound at a lower price.",
        "usd": 0.96,
        "credits": 960
      }
    ],
    "budgetPick": {
      "model": "google/veo-3.1-lite",
      "fit": 70,
      "reason": "The lowest price for this job: $0.48.",
      "usd": 0.48,
      "credits": 480
    },
    "excluded": [
      {
        "model": "alibaba/wan-2.6",
        "reason": "Makes 5 or 10 s, not 8 s."
      }
    ],
    "rankedBy": "model"
  }
}

POST/lab/compose

Write the Director fields for an idea.

  • No credits
  • generations:write
  • 10 per 300s

"Write it for me". Expands a one-line idea into the Director fields (video: goal, cast, set, timecoded beats, look, camera, sound, continuity; image: shot, subject, place, light, surface, mood), renders them into the prompt with the look and camera moves after, and scores the idea on the Twist meter: 0 Expected, 1 Out of place, 2 Out of place, with attitude, 3 Out of place, with feeling. Billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty.

  • 503 when the writing model does not answer. Nothing is charged.

Body fields

NameTypeRequiredDescription
ideastringRequiredThe idea, in one line.
kindenumOptionalWhich Director form to write. Default video. One of: video, image.
lookstringOptionalThe chosen look’s prompt text. Added after the fields.
movesstring[]OptionalThe chosen camera moves’ prompt texts. Added after the camera field.
castobject[]OptionalAttached references, `{label, description}`, kept by label.
secondsintegerOptionalThe clip length the beats fit.

Request

curl -X POST "https://looptake.com/api/v1/lab/compose" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "idea": "A raccoon runs the late shift at a café",
  "kind": "video",
  "seconds": 8
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "fields": {
      "goal": "Make the viewer laugh, then feel for him.",
      "cast": [
        {
          "label": "",
          "role": "barista",
          "description": "A raccoon in a tiny green apron.",
          "voice": "Dry, tired."
        }
      ],
      "set": "A closing café at 1am, chairs on tables.",
      "beats": [
        {
          "at": "0-2s",
          "action": "He wipes the counter."
        },
        {
          "at": "2-8s",
          "action": "He looks at the camera and sighs."
        }
      ],
      "look": "",
      "camera": "Eye level, 28mm.",
      "sound": {
        "dialogue": "\"Last one, I promise.\" (quiet)",
        "sfx": "Cloth on steel.",
        "music": ""
      },
      "continuity": "He stays left of the till."
    },
    "prompt": "Goal: Make the viewer laugh, then feel for him.\nCast:\n- A, barista: A raccoon in a tiny green apron. Voice: Dry, tired.\nSet: A closing café at 1am, chairs on tables.\nBeats:\n- 0-2s: He wipes the counter.\n- 2-8s: He looks at the camera and sighs.\nCamera: Eye level, 28mm.\nSound:\n- Dialogue: \"Last one, I promise.\" (quiet).\n- SFX: Cloth on steel.\nContinuity: He stays left of the till.",
    "twist": {
      "level": 3,
      "label": "Out of place, with feeling",
      "why": "A raccoon at work, and a feeling the viewer did not expect.",
      "raise": "Make it his last shift before the café closes."
    }
  }
}

POST/lab/brief

Plan a plain brief into Lab runs.

  • No credits
  • generations:write
  • 10 per 300s

The Brief. Send the conversation; a planner reads the catalog, prices, recipes, Looks, the team’s references, its balance, recent runs, trends, the workspace’s posts with the most views, its connected accounts and its plans’ results, and answers with a short `reply` and proposed `actions`. It starts and posts nothing: run a `run` card with POST /lab/runs, load a `recipe` card in the Lab, send a `finish` card to POST /lab/items/{id}/finish, or run a `plan` card with POST /lab/chains. A `plan` card chains up to 8 steps, each priced, and may end with a post step; its `sources` cite the trends and posts it builds on. Each card carries `estimateUsd`, the price of running it. A card model that is not in the catalog, or cannot take the card’s settings, is dropped and the reply says so. `budgetUsd` is the budget the planner read in the conversation, and `totalUsd` the sum of the cards. The planner is billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty.

  • 400 when `messages` is empty, a turn is not `user` or `assistant`, a turn is blank or longer than 4,000 characters, or the last turn is not the customer’s.
  • The planner calls at most 8 read-only tools per answer, and the JSON answer comes within about 50 seconds: when time runs short, the planner answers with what it has.
  • Ask how a post or plan did and the planner reads the post’s views, likes, comments, shares and saves, compares them with the workspace’s median, and proposes the next variant as a new `plan` card.
  • With `Accept: application/x-ndjson` the answer streams: 200 at once, then one JSON object per line: `{"type":"step","label":"Checking the price on Seedance 2.5"}` as each tool call starts, `{"type":"ping"}` at least every 8 seconds, and last `{"type":"done", ...the answer...}` or `{"type":"error","message":"..."}`. A streamed plan may take up to 3 minutes.
  • 503 when the planning model does not answer. Nothing is charged.

Body fields

NameTypeRequiredDescription
messagesobject[]RequiredThe conversation, oldest first: `{role, content}` with `role` `user` or `assistant`, each up to 4,000 characters. The last is the customer’s. Only the last 30 are read.
workspaceIdstringOptionalWhich workspace’s looks, references and runs to read. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/lab/brief" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "messages": [
    {
      "role": "user",
      "content": "3 TikTok ads for my orange water bottle, realistic, under $5 total"
    }
  ]
}'

Response 200 (application/json)

{
  "success": true,
  "data": {
    "reply": "One concept on two models and a creator testimonial on three, $2.47 of your $5, all drafts. Run the ones you like, then finish the best at full quality.",
    "actions": [
      {
        "type": "run",
        "title": "The bottle at a desert bus stop",
        "kind": "video",
        "prompt": "Goal: Make the viewer want a cold drink.\nSet: A desert bus stop at noon, heat haze over the road.\nBeats:\n- 0-2s: An orange bottle sweats on a hot bench.\n- 2-5s: A hand lifts it and condensation drips on the dust.\nLook: Phone footage, harsh sun, real skin.",
        "models": [
          "bytedance/seedance-2.0-fast",
          "kwaivgi/kling-v3.0-std"
        ],
        "draft": true,
        "seconds": 5,
        "aspectRatio": "9:16",
        "audio": true,
        "tier": null,
        "twist": 2,
        "estimateUsd": 0.984
      },
      {
        "type": "recipe",
        "title": "Creator testimonial",
        "id": "creator-testimonial",
        "name": "Creator testimonial",
        "kind": "video",
        "slots": {
          "product": "an orange insulated water bottle"
        },
        "models": [
          "google/veo-3.1-fast",
          "bytedance/seedance-2.5",
          "kwaivgi/kling-v3.0-pro"
        ],
        "draft": true,
        "estimateUsd": 1.488
      }
    ],
    "budgetUsd": 5,
    "totalUsd": 2.472,
    "toolCalls": [
      "list_recipes",
      "advise",
      "compose",
      "quote"
    ]
  }
}

POST/lab/chains

Run a plan: up to 8 steps, each on the last one’s output.

  • 202, poll to finish
  • 1 credits per $0.001 of each step’s price
  • generations:write
  • 30 per 300s
  • Idempotency-Key

Runs a `plan` card from POST /lab/brief, or steps you write. Each step is a `tool` (a Lab kind such as `video`, `caption` or `reframe`, or `post`), the earlier steps it takes its inputs from by number in `from`, and `settings`: the POST /lab/runs fields for that kind, with one model, and without the inputs `from` fills. Every step is checked and priced again before anything starts. The steps that take no input start now; each other step starts on our servers when its inputs succeed, holds 1.5 times its quote then, and is billed from the receipt. A failed step stops the plan: its hold comes back and the steps after it never start. A `post` step makes a scheduled post of its input video, or one that waits for approval when the workspace asks for approval. Poll GET /lab/chains/{id}.

  • 400 names the step that is wrong: `Step 2: A join takes 2 to 10 earlier videos and at most one earlier track.` Edit, remix, face swap, voice change and avatar runs cannot be steps.
  • 402 when the balance cannot hold every step at once. 403 when a plan with a post step runs on a key without `posts:write`.
  • A plan has at most one post step, and nothing can take a post as its input. A video that is ready after the post’s time posts when it is ready.
  • Clip tools (trim, reframe, sound, speed, grade, join) cost nothing and count against the clip tools window.

Body fields

NameTypeRequiredDescription
titlestringRequiredWhat the plan makes, in a few words.
stepsobject[]RequiredIn order: `{tool, from, settings}`. `from` names earlier steps by number; the first step is 1. A post step’s settings are `accounts` (connected account ids), `at` (an ISO 8601 instant in the future), `timezone`, `caption`, `hashtags`, and `madeForKids` for a YouTube account.
sourcesobject[]OptionalWhat the plan builds on, as the Brief cited it: `{kind, id, label}` with `kind` `trend` or `post`.
workspaceIdstringOptionalDefaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/lab/chains" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "title": "Bottle ad, captioned and posted",
  "steps": [
    {
      "tool": "video",
      "from": [],
      "settings": {
        "prompt": "An orange bottle sweats on a hot bench at a desert bus stop.",
        "models": [
          "bytedance/seedance-2.5"
        ],
        "seconds": 5,
        "aspectRatio": "16:9",
        "draft": true
      }
    },
    {
      "tool": "caption",
      "from": [
        1
      ],
      "settings": {}
    },
    {
      "tool": "reframe",
      "from": [
        2
      ],
      "settings": {
        "aspectRatio": "9:16",
        "fit": "crop"
      }
    },
    {
      "tool": "post",
      "from": [
        3
      ],
      "settings": {
        "accounts": [
          "5b0e4f0a-2c1d-4e3f-9a8b-7c6d5e4f3a2b"
        ],
        "at": "2026-11-01T18:00:00Z",
        "caption": "Cold water at a hot bus stop.",
        "hashtags": [
          "#water",
          "#summer"
        ]
      }
    }
  ]
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "3c9d2e1f-8a7b-4c6d-9e0f-1a2b3c4d5e6f",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "title": "Bottle ad, captioned and posted",
    "status": "running",
    "failedStep": null,
    "error": null,
    "estimateUsd": 0.4979,
    "sources": [],
    "steps": [
      {
        "number": 1,
        "tool": "video",
        "title": "Video on Seedance 2.5, 5 s, 16:9",
        "from": [],
        "output": "video",
        "model": "bytedance/seedance-2.5",
        "seconds": 5,
        "estimateUsd": 0.4934,
        "post": null,
        "status": "waiting",
        "runId": null,
        "itemId": null,
        "postId": null,
        "result": null,
        "error": null
      },
      {
        "number": 2,
        "tool": "caption",
        "title": "Captions",
        "from": [
          1
        ],
        "output": "video",
        "model": "openai/whisper-large-v3-turbo",
        "seconds": 5,
        "estimateUsd": 0.0045,
        "post": null,
        "status": "waiting",
        "runId": null,
        "itemId": null,
        "postId": null,
        "result": null,
        "error": null
      },
      {
        "number": 3,
        "tool": "reframe",
        "title": "Reframe to 9:16, cropped",
        "from": [
          2
        ],
        "output": "video",
        "model": null,
        "seconds": 5,
        "estimateUsd": 0,
        "post": null,
        "status": "waiting",
        "runId": null,
        "itemId": null,
        "postId": null,
        "result": null,
        "error": null
      },
      {
        "number": 4,
        "tool": "post",
        "title": "Post to @bottles on TikTok",
        "from": [
          3
        ],
        "output": "post",
        "model": null,
        "seconds": null,
        "estimateUsd": 0,
        "post": {
          "accounts": [
            {
              "id": "5b0e4f0a-2c1d-4e3f-9a8b-7c6d5e4f3a2b",
              "platform": "tiktok",
              "handle": "@bottles"
            }
          ],
          "at": "2026-11-01T18:00:00Z",
          "timezone": "UTC",
          "caption": "Cold water at a hot bus stop.",
          "hashtags": [
            "#water",
            "#summer"
          ],
          "approval": false
        },
        "status": "waiting",
        "runId": null,
        "itemId": null,
        "postId": null,
        "result": null,
        "error": null
      }
    ],
    "postId": null,
    "maxSteps": 8,
    "createdAt": "2026-10-30T09:00:00Z",
    "updatedAt": "2026-10-30T09:00:00Z",
    "finishedAt": null
  }
}

GET/lab/chains/{id}

Read one plan and where each step is.

  • No credits
  • generations:read
  • 600 per 300s

Steps move `waiting`, `running`, then `succeeded`, `failed` or `skipped`. A running step names its `runId` and `itemId`, so GET /lab/runs/{id} shows its take; a succeeded one carries `result`, the output the next step took. A failed plan names `failedStep` and why in `error`; the steps after it are `skipped`. A succeeded post step names its `postId`, also on the plan.

  • A plan still running after a day stops: the step still going fails it.

Path parameters

NameTypeDescription
idstringThe plan id from POST /lab/chains.

Request

curl "https://looptake.com/api/v1/lab/chains/3c9d2e1f-8a7b-4c6d-9e0f-1a2b3c4d5e6f" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "3c9d2e1f-8a7b-4c6d-9e0f-1a2b3c4d5e6f",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "title": "Bottle ad, captioned",
    "status": "failed",
    "failedStep": 2,
    "error": "Step 2 failed: the transcriber did not answer.",
    "estimateUsd": 0.4979,
    "sources": [
      {
        "kind": "trend",
        "id": "7e1f0a2b-3c4d-4e5f-8a9b-0c1d2e3f4a5b",
        "label": "Trend on TikTok: Slowed piano loop, 92 bpm"
      }
    ],
    "steps": [
      {
        "number": 1,
        "tool": "video",
        "title": "Video on Seedance 2.5, 5 s, 16:9",
        "from": [],
        "output": "video",
        "model": "bytedance/seedance-2.5",
        "seconds": 5,
        "estimateUsd": 0.4934,
        "post": null,
        "status": "succeeded",
        "runId": "5d8f2c1a-7b3e-4c9d-8e1f-2a3b4c5d6e7f",
        "itemId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
        "postId": null,
        "result": {
          "url": "https://cdn.looptake.com/media/0a1b2c3d.mp4",
          "kind": "video",
          "seconds": 5
        },
        "error": null
      },
      {
        "number": 2,
        "tool": "caption",
        "title": "Captions",
        "from": [
          1
        ],
        "output": "video",
        "model": "openai/whisper-large-v3-turbo",
        "seconds": 5,
        "estimateUsd": 0.0045,
        "post": null,
        "status": "failed",
        "runId": "6e9a3d2b-8c4f-4d0e-9f2a-3b4c5d6e7f8a",
        "itemId": "1b2c3d4e-5f6a-4b7c-9d8e-0f1a2b3c4d5e",
        "postId": null,
        "result": null,
        "error": "the transcriber did not answer."
      },
      {
        "number": 3,
        "tool": "reframe",
        "title": "Reframe to 9:16, cropped",
        "from": [
          2
        ],
        "output": "video",
        "model": null,
        "seconds": 5,
        "estimateUsd": 0,
        "post": null,
        "status": "skipped",
        "runId": null,
        "itemId": null,
        "postId": null,
        "result": null,
        "error": null
      }
    ],
    "postId": null,
    "maxSteps": 8,
    "createdAt": "2026-10-30T09:00:00Z",
    "updatedAt": "2026-10-30T09:02:10Z",
    "finishedAt": "2026-10-30T09:02:10Z"
  }
}

Looks and references

Saved styles added to every prompt, and the cast, sets, props and voices a run attaches.

GET/looks

List the workspace’s saved looks.

  • No credits
  • assets:read
  • 600 per 300s

Looks saved in this workspace, newest first, in the shape of the built-in ones: name, summary, prompt and palette.

Query parameters

NameTypeRequiredDescription
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/looks" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "7f0b4e3c-9d5a-4e1f-8a3b-4c5d6e7f8091",
      "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "name": "Sodium night",
      "summary": "Orange street light on wet asphalt.",
      "prompt": "Shot on an old phone at night. Heavy noise in the shadows. Orange cast from sodium lamps.",
      "palette": [
        "#ff8a00",
        "#1a1a2e",
        "#333333"
      ],
      "createdAt": "2026-10-29T09:00:00Z"
    }
  ]
}

POST/looks

Save a look.

  • No credits
  • assets:write
  • 600 per 300s

A look is prompt text the Lab adds to every prompt it is used with, plus a palette to show it by.

Body fields

NameTypeRequiredDescription
namestringRequiredWhat the look is called.
summarystringOptionalOne line to recognise it by.
promptstringRequiredThe text added to each prompt.
palettestring[]OptionalHex colours such as `#1a1a2e`.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/looks" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Sodium night",
  "summary": "Orange street light on wet asphalt.",
  "prompt": "Shot on an old phone at night. Heavy noise in the shadows. Orange cast from sodium lamps.",
  "palette": [
    "#ff8a00",
    "#1a1a2e",
    "#333333"
  ]
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "7f0b4e3c-9d5a-4e1f-8a3b-4c5d6e7f8091",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "name": "Sodium night",
    "summary": "Orange street light on wet asphalt.",
    "prompt": "Shot on an old phone at night. Heavy noise in the shadows. Orange cast from sodium lamps.",
    "palette": [
      "#ff8a00",
      "#1a1a2e",
      "#333333"
    ],
    "createdAt": "2026-10-29T09:00:00Z"
  }
}

DELETE/looks/{id}

Delete a saved look.

  • No credits
  • assets:write
  • 600 per 300s

Runs already made with the look keep their prompt text.

Path parameters

NameTypeDescription
idstringThe look id.

Request

curl -X DELETE "https://looptake.com/api/v1/looks/7f0b4e3c-9d5a-4e1f-8a3b-4c5d6e7f8091" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "7f0b4e3c-9d5a-4e1f-8a3b-4c5d6e7f8091",
    "deleted": true
  }
}

POST/looks/from-image

Make a look from a reference image.

  • No credits
  • assets:write
  • 10 per 300s

A vision model reads the image and writes its style: camera, lens, film stock, grade, light and a hex palette. The look is saved and returned. Billed from the model’s receipt, at least 1 credit; `402 insufficient_credits` when the balance is empty.

  • 503 when the reading model does not answer. Nothing is saved.

Body fields

NameTypeRequiredDescription
imageUrlstringRequiredA public image URL. Format: uri.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/looks/from-image" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "imageUrl": "https://cdn.example.com/night.jpg"
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "8a1c5f4d-0e6b-4f2a-9b4c-5d6e7f809102",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "name": "Sodium night",
    "summary": "Orange street light on wet asphalt.",
    "prompt": "Shot on an old phone. Wide. Noisy shadows. Orange cast. Sodium lamps.",
    "palette": [
      "#ff8a00",
      "#1a1a2e",
      "#333333"
    ],
    "createdAt": "2026-10-29T09:00:00Z"
  }
}

GET/references

List the workspace’s cast, sets, props and voices.

  • No credits
  • assets:read
  • 600 per 300s

Saved references, newest first. Attach any of them to a run by URL in `references`.

Query parameters

NameTypeRequiredDescription
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl "https://looptake.com/api/v1/references" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": [
    {
      "id": "9b2d6a5e-1f7c-4a3b-8c5d-6e7f80910213",
      "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
      "kind": "character",
      "label": "A",
      "description": "A tall woman in a yellow raincoat.",
      "imageUrl": "https://cdn.looptake.com/media/sheet-a.png",
      "audioUrl": null,
      "createdAt": "2026-10-29T09:00:00Z"
    }
  ]
}

POST/references

Save a character, set, prop or voice.

  • No credits
  • assets:write
  • 600 per 300s

A character, set or prop takes `imageUrl`; a voice takes `audioUrl`, a short recording.

Body fields

NameTypeRequiredDescription
kindenumRequiredWhat the reference is. One of: character, set, prop, voice.
labelstringRequiredHow prompts name it, such as `A`.
descriptionstringOptionalWhat it is, in words.
imageUrlstringOptionalThe sheet or photo, for a character, set or prop. Format: uri.
audioUrlstringOptionalThe recording, for a voice. Format: uri.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/references" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "voice",
  "label": "A",
  "description": "Low, dry, unhurried.",
  "audioUrl": "https://cdn.example.com/voice-a.mp3"
}'

Response 201 (application/json)

{
  "success": true,
  "data": {
    "id": "ac3e7b6f-2a8d-4b4c-9d6e-7f8091021324",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "kind": "voice",
    "label": "A",
    "description": "Low, dry, unhurried.",
    "imageUrl": null,
    "audioUrl": "https://cdn.example.com/voice-a.mp3",
    "createdAt": "2026-10-29T09:00:00Z"
  }
}

DELETE/references/{id}

Delete a saved reference.

  • No credits
  • assets:write
  • 600 per 300s

Runs already made with it keep their outputs.

Path parameters

NameTypeDescription
idstringThe reference id.

Request

curl -X DELETE "https://looptake.com/api/v1/references/ac3e7b6f-2a8d-4b4c-9d6e-7f8091021324" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY"

Response 200 (application/json)

{
  "success": true,
  "data": {
    "id": "ac3e7b6f-2a8d-4b4c-9d6e-7f8091021324",
    "deleted": true
  }
}

POST/references/sheet

Render a character, set or prop sheet.

  • 202, poll to finish
  • 1 credits per $0.001 of the price
  • generations:write
  • 30 per 300s
  • Idempotency-Key

Starts a run on an image model with the built-in sheet template. Character: three panels (front full body, back full body, face close-up) on mid-grey. Set: the empty location, wide three-quarter view. Prop: front three-quarter and top-down on mid-grey. A `photoUrl` is attached as a reference. Reserved and billed like any run.

Body fields

NameTypeRequiredDescription
kindenumRequiredWhich sheet. One of: character, set, prop.
descriptionstringRequiredWho or what, in words.
modelstringOptionalAn image model id. Default: google/gemini-3.1-flash-image.
photoUrlstringOptionalA photo to match. Format: uri.
workspaceIdstringOptionalWhich workspace. Defaults to the key’s default workspace. Format: id.

Request

curl -X POST "https://looptake.com/api/v1/references/sheet" \
  -H "Authorization: Bearer $LOOPTAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "kind": "character",
  "description": "A tall woman in a yellow raincoat"
}'

Response 202 (application/json)

{
  "success": true,
  "data": {
    "id": "bd4f8c7a-3b9e-4c5d-8e7f-809102132435",
    "workspaceId": "91e14cbf-2c80-4b3b-a6bf-776bbde6b54c",
    "kind": "image",
    "prompt": "A character reference sheet: one horizontal image in three equal vertical panels with thin clean gaps. Left: full body from the front. Middle: full body from the back. Right: face close-up. The same person in every panel, same outfit and hair. Neutral mid-grey background, soft even studio light, no text. Character: A tall woman in a yellow raincoat.",
    "draft": false,
    "purpose": "sheet",
    "sourceItemId": null,
    "status": "queued",
    "aspectRatio": "16:9",
    "seconds": null,
    "params": {
      "tier": "1K",
      "seconds": null,
      "aspectRatio": "16:9",
      "audio": null,
      "count": null,
      "seed": 2817,
      "references": [],
      "firstFrame": null,
      "lastFrame": null,
      "sourceVideoUrl": null
    },
    "creditsReserved": 134,
    "items": [
      {
        "id": "ce5a9d8b-4c0f-4d6e-9f80-910213243546",
        "model": "google/gemini-3.1-flash-image",
        "tier": "1K",
        "status": "queued",
        "quoteCredits": 89,
        "reservedCredits": 134,
        "chargedCredits": null,
        "providerUsd": null,
        "seed": null,
        "params": {},
        "outputs": [],
        "transcript": null,
        "liked": false,
        "downloadedAt": null,
        "error": null,
        "createdAt": "2026-10-29T09:00:00Z",
        "startedAt": null,
        "finishedAt": null
      }
    ],
    "createdAt": "2026-10-29T09:00:00Z"
  }
}

Guides

  • Getting startedFrom API key to a scheduled short-form video in five requests.
  • Authentication and scopesKeys belong to a team and carry a fixed set of scopes.
  • GenerationsA generation is a video idea: hook, caption, hashtags, hook score and, for template formats, the deck that renders it.
  • Posts and schedulingOne endpoint creates a post for any mix of connected accounts and reports one result per account.
  • AutomationsAn automation is a cadence plus target accounts. It generates a whole run and publishes nothing until you launch it.
  • AI avatars and influencersCreate a presenter once and render talking-head videos from it. Renders are asynchronous and priced per second.
  • The Lab: every model, one balanceEvery image, video and audio model in one API. A job holds its quote, is billed from the provider’s receipt, and the rest comes back.
  • Credits and team limitsA prepaid balance pays for every model call. Credits never expire. Editing, scheduling and posting are free.
  • Errors and rate limitsEvery failure is one of 9 types. Branch on the type, never on the message.
  • WebhooksSigned events sent to a URL you own. Delivery is at least once.
  • The Looptake CLIOne npm package, one binary, a command for every endpoint.
  • MCP serverThe Looptake API as MCP tools. Hosted over HTTP or local over stdio, with the same scopes as your key.
  • TypeScript SDKOne client with a typed method for every endpoint. No dependencies. Node 20 and later, and browsers.
  • Reference conventionsRules that hold for every endpoint. Learn them once, then read the reference as tables.

Developer overviewFor AI agentsPricing

Describe it. Looptake writes, renders, scores and posts it to TikTok, Reels and Shorts.

Credits never expire. Top up from $5.