SocialFaktory: Social Media MCP Server is an MCP server published by com.socialfaktory, hosted at www.socialfaktory.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 21 tools, including list_brands, list_channels, get_channel_requirements, list_formats, get_generation.
Social media MCP server: write in a brand's voice, generate short video, schedule and publish posts.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the brands this token may act for. A pinned token sees only the brand it is pinned to.
No parameters.
{
"name": "list_brands",
"title": "List brands",
"description": "List the brands this token may act for. A pinned token sees only the brand it is pinned to.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"brands"
],
"properties": {
"brands": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"status",
"language"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"language": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List a brand connected social channels with the caption and media limits each one enforces.
| Parameter | Type | Description |
|---|---|---|
| brand_id | string | The brand this call belongs to. Required unless the token is pinned to a brand. |
{
"name": "list_channels",
"title": "List channels",
"description": "List a brand connected social channels with the caption and media limits each one enforces.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {
"brand_id": {
"type": "string",
"description": "The brand this call belongs to. Required unless the token is pinned to a brand."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"channels"
],
"properties": {
"channels": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"provider",
"status"
],
"properties": {
"id": {
"type": "string"
},
"handle": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"provider": {
"type": "string"
},
"max_media": {
"type": [
"integer",
"null"
]
},
"caption_limit": {
"type": [
"integer",
"null"
]
},
"media_required": {
"type": "boolean"
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Ask the connected social account what it accepts right now: its limits, the TikTok privacy levels the creator allows, and the Pinterest boards a pin can go to.
| Parameter | Type | Description |
|---|---|---|
| brand_id | string | The brand this call belongs to. Required unless the token is pinned to a brand. |
| channel_id * | string |
{
"name": "get_channel_requirements",
"title": "Get channel requirements",
"description": "Ask the connected social account what it accepts right now: its limits, the TikTok privacy levels the creator allows, and the Pinterest boards a pin can go to.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"channel_id"
],
"properties": {
"brand_id": {
"type": "string",
"description": "The brand this call belongs to. Required unless the token is pinned to a brand."
},
"channel_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"channel_id",
"provider",
"media_required"
],
"properties": {
"boards": {
"type": [
"array",
"object",
"null"
]
},
"provider": {
"type": "string"
},
"max_media": {
"type": [
"integer",
"null"
]
},
"channel_id": {
"type": "string"
},
"creator_info": {
"type": [
"object",
"null"
]
},
"caption_limit": {
"type": [
"integer",
"null"
]
},
"media_required": {
"type": "boolean"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List the video formats a generation can be built from, and the render styles they can be drawn in.
| Parameter | Type | Description |
|---|---|---|
| page | integer |
{
"name": "list_formats",
"title": "List formats",
"description": "List the video formats a generation can be built from, and the render styles they can be drawn in.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {
"page": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"formats",
"render_styles",
"page",
"pages"
],
"properties": {
"page": {
"type": "integer"
},
"pages": {
"type": "integer"
},
"formats": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"key",
"name",
"credit_multiplier"
],
"properties": {
"id": {
"type": "string"
},
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"actor_required": {
"type": "boolean"
},
"product_required": {
"type": "boolean"
},
"render_style_key": {
"type": [
"string",
"null"
]
},
"credit_multiplier": {
"type": "number"
},
"product_forbidden": {
"type": "boolean"
}
}
}
},
"render_styles": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"key",
"name"
],
"properties": {
"id": {
"type": "string"
},
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"default": {
"type": "boolean"
},
"category": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one generation: where it is, the finished video, and the editor asset it produced. While it runs, stage is its current step, waiting_on names what holds it up and deadline_at is when it would be failed for that. A run waiting on the user will not move until the person acts, so ask them rather than poll.
| Parameter | Type | Description |
|---|---|---|
| generation_id * | string |
{
"name": "get_generation",
"title": "Get generation",
"description": "Read one generation: where it is, the finished video, and the editor asset it produced. While it runs, stage is its current step, waiting_on names what holds it up and deadline_at is when it would be failed for that. A run waiting on the user will not move until the person acts, so ask them rather than poll.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"generation_id"
],
"properties": {
"generation_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"workflow_type",
"status",
"lifecycle",
"created_at"
],
"properties": {
"id": {
"type": "string"
},
"stage": {
"type": [
"string",
"null"
]
},
"width": {
"type": [
"integer",
"null"
]
},
"height": {
"type": [
"integer",
"null"
]
},
"script": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"lifecycle": {
"type": "string"
},
"video_url": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
},
"error_code": {
"type": [
"string",
"null"
]
},
"waiting_on": {
"type": [
"object",
"null"
],
"required": [
"reason",
"key"
],
"properties": {
"key": {
"type": [
"string",
"null"
]
},
"reason": {
"enum": [
"provider",
"media",
"user",
"blocked",
"unknown"
],
"type": "string"
}
}
},
"credit_cost": {
"type": "integer"
},
"deadline_at": {
"type": [
"string",
"null"
]
},
"editor_asset": {
"type": [
"object",
"null"
]
},
"error_message": {
"type": [
"string",
"null"
]
},
"workflow_type": {
"type": "string"
},
"cover_image_url": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the generations this token may see, newest first.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| brand_id | string |
{
"name": "list_generations",
"title": "List generations",
"description": "List the generations this token may see, newest first.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {
"page": {
"type": "integer",
"minimum": 1
},
"brand_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"generations",
"page",
"pages"
],
"properties": {
"page": {
"type": "integer"
},
"pages": {
"type": "integer"
},
"generations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"workflow_type",
"status",
"lifecycle",
"created_at"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"lifecycle": {
"type": "string"
},
"video_url": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
},
"workflow_type": {
"type": "string"
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one text generation and the variants it wrote.
| Parameter | Type | Description |
|---|---|---|
| brand_id * | string | |
| text_generation_id * | string |
{
"name": "get_text_generation",
"title": "Get text generation",
"description": "Read one text generation and the variants it wrote.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"brand_id",
"text_generation_id"
],
"properties": {
"brand_id": {
"type": "string"
},
"text_generation_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"platform",
"mode",
"variants"
],
"properties": {
"id": {
"type": "string"
},
"mode": {
"type": "string"
},
"status": {
"type": "string"
},
"platform": {
"type": "string"
},
"variants": {
"type": "array"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Show how many credits a generation would use before it starts, so the user can agree to it. `total` is what starts it, and the only figure taken then: for an animated story that waits for approval, that is the storyboard alone. `expected` is what the finished video is likely to cost in all, the rest of it taken when the user approves the storyboard, and is null when `total` already covers the whole job. Inputs it would refuse to run come back as a refusal instead.
| Parameter | Type | Description |
|---|---|---|
| workflow * | object |
{
"name": "quote_generation",
"title": "Quote generation",
"description": "Show how many credits a generation would use before it starts, so the user can agree to it. `total` is what starts it, and the only figure taken then: for an animated story that waits for approval, that is the storyboard alone. `expected` is what the finished video is likely to cost in all, the rest of it taken when the user approves the storyboard, and is null when `total` already covers the whole job. Inputs it would refuse to run come back as a refusal instead.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workflow"
],
"properties": {
"workflow": {
"type": "object",
"properties": {
"arc": {
"enum": [
"classic",
"peaks"
],
"type": "string"
},
"sfx": {
"type": "boolean",
"description": "Story only: add sound effects under each scene. Every other lane refuses it."
},
"mode": {
"enum": [
"template",
"custom"
],
"type": "string"
},
"tone": {
"type": "string"
},
"brief": {
"type": "string"
},
"music": {
"type": "object",
"required": [
"kind"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"library",
"upload",
"none",
"auto",
"compose"
],
"type": "string"
},
"asset_id": {
"type": "string"
}
},
"description": "The soundtrack. A story takes auto to let us pick a track, compose for one written for it, upload for one of your own, or none. Every other lane takes library, upload or none.",
"additionalProperties": false
},
"sound": {
"type": "boolean"
},
"start": {
"type": "number",
"minimum": 0
},
"style": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"drawn",
"illustrated"
],
"type": "string"
},
"skin": {
"enum": [
"glossy",
"line_stick",
"chalk",
"neon",
"clay",
"paper_cutout",
"marker",
"blueprint",
"ink",
"flat_people",
"pixel",
"brand"
],
"type": "string"
},
"preset": {
"enum": [
"painted_cartoon",
"soft_comic",
"flat_vector",
"storybook",
"low_poly_3d",
"toy_3d",
"documentary_collage"
],
"type": "string"
}
},
"description": "Story only: the look, drawn on a skin or illustrated in a preset.",
"additionalProperties": false
},
"format": {
"enum": [
"explainer"
],
"type": "string",
"description": "Story only, on an illustrated look: how the story is told. explainer tells it one short line a scene, cutting straight from one to the next, one big word at a time, with every scene moving, from 15 to 60 seconds. Leave it out for the usual telling. The price is quoted before anything is made."
},
"motion": {
"enum": [
"none",
"key",
"all"
],
"type": "string",
"description": "Story only, on an illustrated look: which scenes get a moving picture made from their own painting. none leaves every scene still, key moves the opening, the peaks and the ending (about a third of the scenes), all moves every painted scene. Left out, the look decides: all for documentary collage, key for the rest. A clip costs about 2 credits a second, 7 at the four-second floor, and is quoted with the storyboard before anything is made. With auto_approve there is no storyboard to quote, so create holds the most clips the scene budget allows at 15 seconds each (24 credits a clip); the unused part comes back as soon as the storyboard is set."
},
"prompt": {
"type": "string",
"maxLength": 2000
},
"script": {
"type": "string"
},
"hook_id": {
"type": "string"
},
"seconds": {
"type": "number",
"maximum": 90,
"minimum": 4,
"description": "How much of the video to keep, from start. A remake (video_swap or trend_remake) keeps 4 to 30 seconds, the first 15 unless start and seconds name another part, and refuses a longer one. An animated video takes seconds as its length."
},
"actor_id": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"captions": {
"type": "boolean",
"description": "Story only: burn the spoken words into the video as it is made. Every other lane refuses it; caption a finished video instead with a video_edit generation, edit_kind captions and source_workflow_id set to it."
},
"swap_who": {
"type": "string",
"maxLength": 300,
"description": "Remake only: who in the video the actor replaces, in your own words, such as \"the woman in the red coat\". Leave it out to replace the main person."
},
"voice_id": {
"type": "string"
},
"actor_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "The cast, lead first. A remake (video_swap or trend_remake) takes exactly one actor, who replaces the main person in the clip. A story casts up to 3 cartoons saved to its brand."
},
"asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Motion graphics (workflow_type animated) only: the library files the composition shows. Every other lane refuses them; a prompt_video takes files as references instead."
},
"edit_kind": {
"type": "string"
},
"source_id": {
"type": "string",
"description": "Story only: a finished story of this brand to open again at its storyboard, at no charge, and render again once edited and approved."
},
"characters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"text": {
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false
},
"maxItems": 3,
"description": "The characters a format invents its cast from, such as the foods in a Talking Food video. Each entry is either {\"key\": \"<one of the video type cast_choices keys>\"} or {\"text\": \"<your own, in a few words>\"}. Only a format that declares cast_choices takes them."
},
"references": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"source",
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"image",
"video",
"audio"
],
"type": "string"
},
"name": {
"type": "string"
},
"trim": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 2,
"minItems": 2
},
"source": {
"enum": [
"upload",
"media",
"link",
"actor",
"product",
"result"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "The files a prompt_video works from, each called in the prompt as @ and its name: images, video clips (30 seconds in all, cut with trim [start, end] in seconds) and audio. Source upload takes the editor_asset id get_upload returns once the upload is ready, actor an actor id, product a product id, link the source_url of a video_reference upload, result a finished prompt_video generation id."
},
"resolution": {
"enum": [
"480p",
"720p"
],
"type": "string",
"description": "The resolution the video renders at, 720p unless named. A prompt video takes 480p or 720p; a remake (video_swap or trend_remake) renders at 720p only and refuses any other."
},
"source_url": {
"type": "string",
"description": "The link the generation starts from: the web page a launch animation reads, or the video a trend remake, composed video or video swap copies. Either way, one the user made or has the rights to use."
},
"instruction": {
"type": "string"
},
"previous_id": {
"type": "string",
"description": "Story only: a finished story of this brand that this one continues as its next part, with its cast, look and meters."
},
"scene_brief": {
"type": "string"
},
"vote_winner": {
"type": "string",
"description": "Story only, with previous_id: the option that won the vote the previous part ended on."
},
"aspect_ratio": {
"type": "string"
},
"auto_approve": {
"type": "boolean",
"description": "Story only: render the storyboard as soon as it is ready, on one quote charged at create: the storyboard plus a render estimated from target_duration. Once the storyboard exists, a lower render quote is refunded and a higher one is charged."
},
"product_kind": {
"type": "string"
},
"render_style": {
"type": "string"
},
"reference_url": {
"type": "string"
},
"spoken_script": {
"type": "string",
"description": "Story with a format that offers it: the exact words to say, kept to the letter and cut into one line a scene. Under two minutes, about 280 words. Leave it out to have the script written from the brief. Every other lane reads it as the words an actor speaks; with two or more actors, open each speaker's turn with their actor token and a colon, numbered in actor_ids order: @actor_1: Ready? @actor_2: Always."
},
"video_type_id": {
"type": "string"
},
"workflow_type": {
"type": "string"
},
"caption_preset": {
"enum": [
"hormozi",
"tiktok",
"beast",
"karaoke",
"clean",
"none"
],
"type": "string",
"description": "Captions edit only (video_edit, edit_kind captions): the look of the burned-in captions. Every other lane ignores it."
},
"negative_prompt": {
"type": "string"
},
"render_style_id": {
"type": "string"
},
"target_duration": {
"type": "integer"
},
"target_language": {
"enum": [
"af",
"ak",
"am",
"ar",
"ar-EG",
"as",
"az",
"be",
"bg",
"bo",
"bs",
"ca",
"ceb",
"cmn",
"cs",
"cy",
"da",
"de",
"dgo",
"el",
"en",
"en-AU",
"en-CA",
"en-GB",
"en-US",
"es",
"es-AR",
"es-CL",
"es-ES",
"es-MX",
"et",
"eu",
"fa",
"fi",
"fil",
"fr",
"fr-CA",
"fr-FR",
"gl",
"gu",
"ha",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"jv",
"ka",
"ki",
"kk",
"kn",
"ko",
"ky",
"lg",
"lt",
"lv",
"mk",
"ml",
"mn",
"mr",
"ms",
"my",
"ne",
"nl",
"no",
"nso",
"pa",
"pl",
"pt",
"pt-BR",
"pt-PT",
"rn",
"ro",
"ru",
"rw",
"sd",
"sk",
"sl",
"sq",
"ss",
"st",
"su",
"sv",
"sw",
"ta",
"te",
"tg",
"th",
"tn",
"tr",
"ts",
"ug",
"uk",
"ur",
"uz",
"ve",
"vi",
"war",
"wo",
"yo",
"yue",
"zh",
"zh-TW",
"zu"
],
"type": "string"
},
"user_product_id": {
"type": "string"
},
"type_description": {
"type": "string"
},
"keep_source_audio": {
"type": "boolean"
},
"narrator_voice_id": {
"type": "string"
},
"source_workflow_id": {
"type": "string"
},
"reframe_aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"quote"
],
"properties": {
"quote": {
"type": "object",
"required": [
"total",
"lines"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer"
},
"expected": {
"type": [
"integer",
"null"
]
},
"approximate": {
"type": "boolean"
},
"duration_seconds": {
"type": [
"number",
"null"
]
}
}
},
"credit_cap_remaining": {
"type": [
"integer",
"null"
]
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Run a video generation, spending credits already in the account. Quote it first with quote_generation and run only once the user agrees to the quote: the token monthly credit cap is the only other guard on the spend.
| Parameter | Type | Description |
|---|---|---|
| workflow * | object | |
| idempotency_key * | string |
{
"name": "create_generation",
"title": "Create generation",
"description": "Run a video generation, spending credits already in the account. Quote it first with quote_generation and run only once the user agrees to the quote: the token monthly credit cap is the only other guard on the spend.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key",
"workflow"
],
"properties": {
"workflow": {
"type": "object",
"properties": {
"arc": {
"enum": [
"classic",
"peaks"
],
"type": "string"
},
"sfx": {
"type": "boolean",
"description": "Story only: add sound effects under each scene. Every other lane refuses it."
},
"mode": {
"enum": [
"template",
"custom"
],
"type": "string"
},
"tone": {
"type": "string"
},
"brief": {
"type": "string"
},
"music": {
"type": "object",
"required": [
"kind"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"library",
"upload",
"none",
"auto",
"compose"
],
"type": "string"
},
"asset_id": {
"type": "string"
}
},
"description": "The soundtrack. A story takes auto to let us pick a track, compose for one written for it, upload for one of your own, or none. Every other lane takes library, upload or none.",
"additionalProperties": false
},
"sound": {
"type": "boolean"
},
"start": {
"type": "number",
"minimum": 0
},
"style": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"drawn",
"illustrated"
],
"type": "string"
},
"skin": {
"enum": [
"glossy",
"line_stick",
"chalk",
"neon",
"clay",
"paper_cutout",
"marker",
"blueprint",
"ink",
"flat_people",
"pixel",
"brand"
],
"type": "string"
},
"preset": {
"enum": [
"painted_cartoon",
"soft_comic",
"flat_vector",
"storybook",
"low_poly_3d",
"toy_3d",
"documentary_collage"
],
"type": "string"
}
},
"description": "Story only: the look, drawn on a skin or illustrated in a preset.",
"additionalProperties": false
},
"format": {
"enum": [
"explainer"
],
"type": "string",
"description": "Story only, on an illustrated look: how the story is told. explainer tells it one short line a scene, cutting straight from one to the next, one big word at a time, with every scene moving, from 15 to 60 seconds. Leave it out for the usual telling. The price is quoted before anything is made."
},
"motion": {
"enum": [
"none",
"key",
"all"
],
"type": "string",
"description": "Story only, on an illustrated look: which scenes get a moving picture made from their own painting. none leaves every scene still, key moves the opening, the peaks and the ending (about a third of the scenes), all moves every painted scene. Left out, the look decides: all for documentary collage, key for the rest. A clip costs about 2 credits a second, 7 at the four-second floor, and is quoted with the storyboard before anything is made. With auto_approve there is no storyboard to quote, so create holds the most clips the scene budget allows at 15 seconds each (24 credits a clip); the unused part comes back as soon as the storyboard is set."
},
"prompt": {
"type": "string",
"maxLength": 2000
},
"script": {
"type": "string"
},
"hook_id": {
"type": "string"
},
"seconds": {
"type": "number",
"maximum": 90,
"minimum": 4,
"description": "How much of the video to keep, from start. A remake (video_swap or trend_remake) keeps 4 to 30 seconds, the first 15 unless start and seconds name another part, and refuses a longer one. An animated video takes seconds as its length."
},
"actor_id": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"captions": {
"type": "boolean",
"description": "Story only: burn the spoken words into the video as it is made. Every other lane refuses it; caption a finished video instead with a video_edit generation, edit_kind captions and source_workflow_id set to it."
},
"swap_who": {
"type": "string",
"maxLength": 300,
"description": "Remake only: who in the video the actor replaces, in your own words, such as \"the woman in the red coat\". Leave it out to replace the main person."
},
"voice_id": {
"type": "string"
},
"actor_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "The cast, lead first. A remake (video_swap or trend_remake) takes exactly one actor, who replaces the main person in the clip. A story casts up to 3 cartoons saved to its brand."
},
"asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Motion graphics (workflow_type animated) only: the library files the composition shows. Every other lane refuses them; a prompt_video takes files as references instead."
},
"edit_kind": {
"type": "string"
},
"source_id": {
"type": "string",
"description": "Story only: a finished story of this brand to open again at its storyboard, at no charge, and render again once edited and approved."
},
"characters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"text": {
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false
},
"maxItems": 3,
"description": "The characters a format invents its cast from, such as the foods in a Talking Food video. Each entry is either {\"key\": \"<one of the video type cast_choices keys>\"} or {\"text\": \"<your own, in a few words>\"}. Only a format that declares cast_choices takes them."
},
"references": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"source",
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"image",
"video",
"audio"
],
"type": "string"
},
"name": {
"type": "string"
},
"trim": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 2,
"minItems": 2
},
"source": {
"enum": [
"upload",
"media",
"link",
"actor",
"product",
"result"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "The files a prompt_video works from, each called in the prompt as @ and its name: images, video clips (30 seconds in all, cut with trim [start, end] in seconds) and audio. Source upload takes the editor_asset id get_upload returns once the upload is ready, actor an actor id, product a product id, link the source_url of a video_reference upload, result a finished prompt_video generation id."
},
"resolution": {
"enum": [
"480p",
"720p"
],
"type": "string",
"description": "The resolution the video renders at, 720p unless named. A prompt video takes 480p or 720p; a remake (video_swap or trend_remake) renders at 720p only and refuses any other."
},
"source_url": {
"type": "string",
"description": "The link the generation starts from: the web page a launch animation reads, or the video a trend remake, composed video or video swap copies. Either way, one the user made or has the rights to use."
},
"instruction": {
"type": "string"
},
"previous_id": {
"type": "string",
"description": "Story only: a finished story of this brand that this one continues as its next part, with its cast, look and meters."
},
"scene_brief": {
"type": "string"
},
"vote_winner": {
"type": "string",
"description": "Story only, with previous_id: the option that won the vote the previous part ended on."
},
"aspect_ratio": {
"type": "string"
},
"auto_approve": {
"type": "boolean",
"description": "Story only: render the storyboard as soon as it is ready, on one quote charged at create: the storyboard plus a render estimated from target_duration. Once the storyboard exists, a lower render quote is refunded and a higher one is charged."
},
"product_kind": {
"type": "string"
},
"render_style": {
"type": "string"
},
"reference_url": {
"type": "string"
},
"spoken_script": {
"type": "string",
"description": "Story with a format that offers it: the exact words to say, kept to the letter and cut into one line a scene. Under two minutes, about 280 words. Leave it out to have the script written from the brief. Every other lane reads it as the words an actor speaks; with two or more actors, open each speaker's turn with their actor token and a colon, numbered in actor_ids order: @actor_1: Ready? @actor_2: Always."
},
"video_type_id": {
"type": "string"
},
"workflow_type": {
"type": "string"
},
"caption_preset": {
"enum": [
"hormozi",
"tiktok",
"beast",
"karaoke",
"clean",
"none"
],
"type": "string",
"description": "Captions edit only (video_edit, edit_kind captions): the look of the burned-in captions. Every other lane ignores it."
},
"negative_prompt": {
"type": "string"
},
"render_style_id": {
"type": "string"
},
"target_duration": {
"type": "integer"
},
"target_language": {
"enum": [
"af",
"ak",
"am",
"ar",
"ar-EG",
"as",
"az",
"be",
"bg",
"bo",
"bs",
"ca",
"ceb",
"cmn",
"cs",
"cy",
"da",
"de",
"dgo",
"el",
"en",
"en-AU",
"en-CA",
"en-GB",
"en-US",
"es",
"es-AR",
"es-CL",
"es-ES",
"es-MX",
"et",
"eu",
"fa",
"fi",
"fil",
"fr",
"fr-CA",
"fr-FR",
"gl",
"gu",
"ha",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"jv",
"ka",
"ki",
"kk",
"kn",
"ko",
"ky",
"lg",
"lt",
"lv",
"mk",
"ml",
"mn",
"mr",
"ms",
"my",
"ne",
"nl",
"no",
"nso",
"pa",
"pl",
"pt",
"pt-BR",
"pt-PT",
"rn",
"ro",
"ru",
"rw",
"sd",
"sk",
"sl",
"sq",
"ss",
"st",
"su",
"sv",
"sw",
"ta",
"te",
"tg",
"th",
"tn",
"tr",
"ts",
"ug",
"uk",
"ur",
"uz",
"ve",
"vi",
"war",
"wo",
"yo",
"yue",
"zh",
"zh-TW",
"zu"
],
"type": "string"
},
"user_product_id": {
"type": "string"
},
"type_description": {
"type": "string"
},
"keep_source_audio": {
"type": "boolean"
},
"narrator_voice_id": {
"type": "string"
},
"source_workflow_id": {
"type": "string"
},
"reframe_aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"generation_id",
"status",
"credit_cost"
],
"properties": {
"status": {
"type": "string"
},
"credit_cost": {
"type": "integer"
},
"generation_id": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Write post variants for a brand from a brief, a link, a finished generation or a media item. Spends the user credits: 4 are reserved up front against the token monthly credit cap, and the write settles at what it used, which can land a little over the cap.
| Parameter | Type | Description |
|---|---|---|
| brief | string | |
| brand_id * | string | |
| media_id | string | |
| platform | string | one of ["x","linkedin"] |
| source_url | string | |
| generation_id | string | |
| idempotency_key * | string |
{
"name": "generate_text",
"title": "Generate text",
"description": "Write post variants for a brand from a brief, a link, a finished generation or a media item. Spends the user credits: 4 are reserved up front against the token monthly credit cap, and the write settles at what it used, which can land a little over the cap.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key",
"brand_id"
],
"properties": {
"brief": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"media_id": {
"type": "string"
},
"platform": {
"enum": [
"x",
"linkedin"
],
"type": "string"
},
"source_url": {
"type": "string"
},
"generation_id": {
"type": "string"
},
"idempotency_key": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text_generation_id",
"status"
],
"properties": {
"status": {
"type": "string"
},
"text_generation_id": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Open a ticket for a file from the user machine, content the service has not seen. Send the bytes in one raw HTTPS PUT to the returned url with exactly the returned headers, then call complete_upload. Limits: 2 GB, 30 minutes, 4096 px a side, 50 megapixels. An editor asset, the default purpose, needs its kind. Purpose video_reference stores a trend remake's source video: pass the ready ticket's video_reference.source_url to create_generation. Purpose actor turns a portrait photo of the user, or of someone who agreed to be cast, into an actor: it needs a name, takes jpg, png, webp or gif up to 10 MB and 4096 px a side, and the ready ticket carries actor.id for create_generation.
| Parameter | Type | Description |
|---|---|---|
| kind | string | one of ["video","image","audio","font"] |
| name | string | |
| purpose | string | one of ["editor_asset","video_reference","actor"] |
| filename * | string | |
| byte_size * | integer | |
| content_type * | string | |
| idempotency_key * | string |
Tell the service the bytes are in place and start the ingest. Safe to call again: the ticket is claimed once, so a repeat reports progress rather than ingesting twice.
| Parameter | Type | Description |
|---|---|---|
| upload_id * | string |
{
"name": "complete_upload",
"title": "Complete upload",
"description": "Tell the service the bytes are in place and start the ingest. Safe to call again: the ticket is claimed once, so a repeat reports progress rather than ingesting twice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"upload_id"
],
"properties": {
"upload_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"upload_id",
"status"
],
"properties": {
"actor": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"portrait_url": {
"type": [
"string",
"null"
]
}
}
},
"status": {
"type": "string"
},
"upload_id": {
"type": "string"
},
"error_code": {
"type": [
"string",
"null"
]
},
"editor_asset": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"width": {
"type": [
"integer",
"null"
]
},
"height": {
"type": [
"integer",
"null"
]
},
"byte_size": {
"type": [
"integer",
"null"
]
},
"mime_type": {
"type": [
"string",
"null"
]
},
"duration_ms": {
"type": [
"integer",
"null"
]
},
"thumbnail_url": {
"type": [
"string",
"null"
]
}
}
},
"error_message": {
"type": [
"string",
"null"
]
},
"video_reference": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"source_url": {
"type": "string"
}
}
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read an upload ticket. Poll it every 2 seconds, backing off to 5, for up to 16 minutes: the ingest gives up at 15, so the ticket always reaches ready or failed inside that window. A ready video ticket carries the editor asset id and its thumbnail_url, which a Pinterest pin needs. A ready actor ticket carries the actor id and its portrait_url.
| Parameter | Type | Description |
|---|---|---|
| upload_id * | string |
{
"name": "get_upload",
"title": "Get upload",
"description": "Read an upload ticket. Poll it every 2 seconds, backing off to 5, for up to 16 minutes: the ingest gives up at 15, so the ticket always reaches ready or failed inside that window. A ready video ticket carries the editor asset id and its thumbnail_url, which a Pinterest pin needs. A ready actor ticket carries the actor id and its portrait_url.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"upload_id"
],
"properties": {
"upload_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"upload_id",
"status"
],
"properties": {
"actor": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"portrait_url": {
"type": [
"string",
"null"
]
}
}
},
"status": {
"type": "string"
},
"upload_id": {
"type": "string"
},
"error_code": {
"type": [
"string",
"null"
]
},
"editor_asset": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"width": {
"type": [
"integer",
"null"
]
},
"height": {
"type": [
"integer",
"null"
]
},
"byte_size": {
"type": [
"integer",
"null"
]
},
"mime_type": {
"type": [
"string",
"null"
]
},
"duration_ms": {
"type": [
"integer",
"null"
]
},
"thumbnail_url": {
"type": [
"string",
"null"
]
}
}
},
"error_message": {
"type": [
"string",
"null"
]
},
"video_reference": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"source_url": {
"type": "string"
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Browse the finished exports in a brand media library, by folder or by name.
| Parameter | Type | Description |
|---|---|---|
| kind | string | |
| page | integer | |
| query | string | |
| brand_id | string | The brand this call belongs to. Required unless the token is pinned to a brand. |
| folder_id | string |
{
"name": "list_media",
"title": "List media",
"description": "Browse the finished exports in a brand media library, by folder or by name.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {
"kind": {
"type": "string"
},
"page": {
"type": "integer",
"minimum": 1
},
"query": {
"type": "string"
},
"brand_id": {
"type": "string",
"description": "The brand this call belongs to. Required unless the token is pinned to a brand."
},
"folder_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"media",
"folders",
"page",
"pages"
],
"properties": {
"page": {
"type": "integer"
},
"media": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"created_at"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"pages": {
"type": "array"
},
"file_url": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
},
"aspect_ratio": {
"type": [
"string",
"null"
]
}
}
}
},
"pages": {
"type": "integer"
},
"folders": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Compose one post per channel from the same media. Drafts by default, which stay inside the service and run no checks; send them one at a time with send_post so a refusal names the channel it belongs to. status "scheduled" instead checks every target first, creates nothing if one fails, then hands the posts to the publisher in the background for the social accounts the user connected: they come back queued, and list_posts shows each one turn scheduled, then published.
| Parameter | Type | Description |
|---|---|---|
| status | string | one of ["draft","scheduled"] |
| targets * | array | |
| brand_id | string | The brand this call belongs to. Required unless the token is pinned to a brand. |
| scheduled_at | string | |
| generation_id | string | |
| media_item_id | string | |
| editor_asset_id | string | |
| idempotency_key * | string |
Send one draft to the social account the user connected for its channel, at its scheduled time or straight away. The channel checks run inside this call, so a refusal comes back here with its code. The post then returns queued and the publisher takes it from there: poll list_posts to see it turn scheduled and then published.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | one of ["schedule","now"] |
| post_id * | string | |
| brand_id | string | |
| idempotency_key * | string |
{
"name": "send_post",
"title": "Send post",
"description": "Send one draft to the social account the user connected for its channel, at its scheduled time or straight away. The channel checks run inside this call, so a refusal comes back here with its code. The post then returns queued and the publisher takes it from there: poll list_posts to see it turn scheduled and then published.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key",
"post_id",
"mode"
],
"properties": {
"mode": {
"enum": [
"schedule",
"now"
],
"type": "string"
},
"post_id": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"idempotency_key": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"channel_id",
"provider"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"caption": {
"type": [
"string",
"null"
]
},
"provider": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"failure_code": {
"type": [
"string",
"null"
]
},
"scheduled_at": {
"type": [
"string",
"null"
]
},
"cover_timestamp_ms": {
"type": [
"integer",
"null"
]
},
"instagram_trial_reel": {
"type": "boolean"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}List posts with their scheduled time, the link they were released at, and their metrics. A post just sent stays queued until the publisher takes it, then turns scheduled. A release link and metrics appear once the channel reports back, which takes a few minutes.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| status | string | one of ["draft","scheduled","published","failed","queued"] |
| brand_id | string |
{
"name": "list_posts",
"title": "List posts",
"description": "List posts with their scheduled time, the link they were released at, and their metrics. A post just sent stays queued until the publisher takes it, then turns scheduled. A release link and metrics appear once the channel reports back, which takes a few minutes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {
"page": {
"type": "integer",
"minimum": 1
},
"status": {
"enum": [
"draft",
"scheduled",
"published",
"failed",
"queued"
],
"type": "string"
},
"brand_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"posts",
"page",
"pages"
],
"properties": {
"page": {
"type": "integer"
},
"pages": {
"type": "integer"
},
"posts": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"status",
"channel_id",
"provider"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"caption": {
"type": [
"string",
"null"
]
},
"provider": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"failure_code": {
"type": [
"string",
"null"
]
},
"scheduled_at": {
"type": [
"string",
"null"
]
},
"cover_timestamp_ms": {
"type": [
"integer",
"null"
]
},
"instagram_trial_reel": {
"type": "boolean"
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Delete a post from the account. A scheduled one is withdrawn from the live social channel first, inside this call. A post already published stays online on its channel: only the record here goes. Rescheduling is a delete followed by create_posts.
| Parameter | Type | Description |
|---|---|---|
| post_id * | string | |
| brand_id | string | |
| idempotency_key * | string |
{
"name": "delete_post",
"title": "Delete post",
"description": "Delete a post from the account. A scheduled one is withdrawn from the live social channel first, inside this call. A post already published stays online on its channel: only the record here goes. Rescheduling is a delete followed by create_posts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key",
"post_id"
],
"properties": {
"post_id": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"idempotency_key": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"post_id",
"deleted"
],
"properties": {
"deleted": {
"type": "boolean"
},
"post_id": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Ask whether a video link can be used as the source of a swap, and if so record it on the account and start fetching that third-party video from its host. Safe to call again while the fetch is running: it reports progress rather than fetching twice.
| Parameter | Type | Description |
|---|---|---|
| url * | string |
{
"name": "check_reference",
"title": "Check reference",
"description": "Ask whether a video link can be used as the source of a swap, and if so record it on the account and start fetching that third-party video from its host. Safe to call again while the fetch is running: it reports progress rather than fetching twice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"supported"
],
"properties": {
"status": {
"type": "string"
},
"has_audio": {
"type": [
"boolean",
"null"
]
},
"supported": {
"type": "boolean"
},
"video_url": {
"type": [
"string",
"null"
]
},
"source_url": {
"type": "string"
},
"reference_id": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the credit balance of the account the token belongs to, and its auto top-up settings (read-only: they change only in the Billing page).
No parameters.
{
"name": "get_wallet",
"title": "Get wallet",
"description": "Read the credit balance of the account the token belongs to, and its auto top-up settings (read-only: they change only in the Billing page).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"available_balance",
"reserved_balance",
"total_balance",
"auto_top_up"
],
"properties": {
"auto_top_up": {
"type": [
"object",
"null"
],
"required": [
"enabled",
"threshold",
"pack_credits"
],
"properties": {
"enabled": {
"type": "boolean"
},
"threshold": {
"type": "integer"
},
"pack_credits": {
"type": "integer"
}
}
},
"total_balance": {
"type": "integer"
},
"reserved_balance": {
"type": "integer"
},
"available_balance": {
"type": "integer"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the actors this account can cast: its own and the ready-made cast, by name, 25 a page. Pass an id as actor_id or actor_ids to quote_generation and create_generation.
| Parameter | Type | Description |
|---|---|---|
| kind | string | one of ["person","mascot","cartoon"] |
| page | integer | |
| query | string |
{
"name": "list_actors",
"title": "List actors",
"description": "List the actors this account can cast: its own and the ready-made cast, by name, 25 a page. Pass an id as actor_id or actor_ids to quote_generation and create_generation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [],
"properties": {
"kind": {
"enum": [
"person",
"mascot",
"cartoon"
],
"type": "string"
},
"page": {
"type": "integer",
"minimum": 1
},
"query": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"actors",
"page",
"pages"
],
"properties": {
"page": {
"type": "integer"
},
"pages": {
"type": "integer"
},
"actors": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"kind",
"own"
],
"properties": {
"id": {
"type": "string"
},
"own": {
"type": "boolean"
},
"kind": {
"enum": [
"person",
"mascot",
"cartoon"
],
"type": "string"
},
"name": {
"type": "string"
},
"portrait_url": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}SocialFaktory runs a brand's social content: it writes posts, makes video, schedules and publishes on TikTok, Instagram, YouTube, X, LinkedIn, Facebook, Pinterest and Threads, and reads metrics back. Reads are free: start with list_brands. Generating spends the user's credits: call quote_generation first, show them the price, and run create_generation only once they agree. generate_text reserves 4 credits and settles what it used. create_posts makes drafts: show one, then send_post queues it for publishing. Each schema says where brand_id goes: quote_generation and create_generation take it inside workflow, generate_text and get_text_generation need it at the top level, and a token pinned to one brand fills it in wherever the schema marks it optional. create_posts takes status "scheduled" to check every target and queue them in one call. list_posts shows a sent post go scheduled, then published. delete_post withdraws a scheduled post; a published one stays online. Send a fresh idempotency_key on every spending or publishing call and reuse it only to retry that same call within 24 hours. list_actors finds the actor ids a generation casts; create_upload with purpose actor turns the user's photo into a new one. Poll get_generation and get_upload every 2 to 5 seconds until they finish. A refusal comes back as an error envelope with a reason; explain it, never retry blindly.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "create_upload",
"title": "Create upload",
"description": "Open a ticket for a file from the user machine, content the service has not seen. Send the bytes in one raw HTTPS PUT to the returned url with exactly the returned headers, then call complete_upload. Limits: 2 GB, 30 minutes, 4096 px a side, 50 megapixels. An editor asset, the default purpose, needs its kind. Purpose video_reference stores a trend remake's source video: pass the ready ticket's video_reference.source_url to create_generation. Purpose actor turns a portrait photo of the user, or of someone who agreed to be cast, into an actor: it needs a name, takes jpg, png, webp or gif up to 10 MB and 4096 px a side, and the ready ticket carries actor.id for create_generation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key",
"filename",
"byte_size",
"content_type"
],
"properties": {
"kind": {
"enum": [
"video",
"image",
"audio",
"font"
],
"type": "string"
},
"name": {
"type": "string",
"maxLength": 80
},
"purpose": {
"enum": [
"editor_asset",
"video_reference",
"actor"
],
"type": "string"
},
"filename": {
"type": "string"
},
"byte_size": {
"type": "integer",
"minimum": 1
},
"content_type": {
"type": "string"
},
"idempotency_key": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"upload_id",
"status",
"url",
"headers",
"expires_in"
],
"properties": {
"url": {
"type": "string"
},
"status": {
"type": "string"
},
"headers": {
"type": "object"
},
"upload_id": {
"type": "string"
},
"expires_in": {
"type": "integer"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "create_posts",
"title": "Create posts",
"description": "Compose one post per channel from the same media. Drafts by default, which stay inside the service and run no checks; send them one at a time with send_post so a refusal names the channel it belongs to. status \"scheduled\" instead checks every target first, creates nothing if one fails, then hands the posts to the publisher in the background for the social accounts the user connected: they come back queued, and list_posts shows each one turn scheduled, then published.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key",
"targets"
],
"properties": {
"status": {
"enum": [
"draft",
"scheduled"
],
"type": "string"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel_id"
],
"properties": {
"parts": {
"type": "array",
"items": {
"type": "string"
}
},
"caption": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"youtube_short": {
"type": "boolean"
},
"youtube_title": {
"type": "string",
"maxLength": 100
},
"youtube_privacy": {
"enum": [
"public",
"unlisted",
"private"
],
"type": "string"
},
"tiktok_allow_duet": {
"type": "boolean"
},
"tiktok_your_brand": {
"type": "boolean"
},
"cover_timestamp_ms": {
"type": "integer",
"minimum": 0
},
"pinterest_board_id": {
"type": "string"
},
"tiktok_allow_stitch": {
"type": "boolean"
},
"youtube_description": {
"type": "string"
},
"instagram_trial_reel": {
"type": "boolean"
},
"tiktok_allow_comment": {
"type": "boolean"
},
"tiktok_privacy_level": {
"enum": [
"public_to_everyone",
"mutual_follow_friends",
"follower_of_creator",
"self_only"
],
"type": "string"
},
"tiktok_branded_content": {
"type": "boolean"
}
},
"additionalProperties": false
},
"minItems": 1
},
"brand_id": {
"type": "string",
"description": "The brand this call belongs to. Required unless the token is pinned to a brand."
},
"scheduled_at": {
"type": "string"
},
"generation_id": {
"type": "string"
},
"media_item_id": {
"type": "string"
},
"editor_asset_id": {
"type": "string"
},
"idempotency_key": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"posts"
],
"properties": {
"posts": {
"type": "array",
"items": {
"type": "object"
}
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}