BlitzReels Video Editor is an MCP server published by com.blitzreels, hosted at www.blitzreels.com. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 151 tools, including hooks_suggest, content_performance_list, video_storyboard_create, video_storyboard_get, video_storyboard_revise.
Create, edit, reframe, caption, organize, generate, and export short-form videos with BlitzReels.
3 connections through 4 shared values. Tap any node.
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.
Suggest text hooks, existing transcript sentences and visual ranges without editing the project. Defaults to three per layer, count 1-5. Times use project timeline seconds. Included with a daily workspace cap; never starts media analysis. Unsupported options are omitted.
| Parameter | Type | Description |
|---|---|---|
| count * | integer | |
| layers * | array | |
| projectId * | string | UUID string. |
| workspaceId * | any |
{
"name": "hooks_suggest",
"title": "Suggest Clip Hooks",
"description": "Suggest text hooks, existing transcript sentences and visual ranges without editing the project. Defaults to three per layer, count 1-5. Times use project timeline seconds. Included with a daily workspace cap; never starts media analysis. Unsupported options are omitted.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"layers",
"count",
"projectId",
"workspaceId"
],
"properties": {
"count": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
},
"layers": {
"type": "array",
"items": {
"enum": [
"text",
"spoken",
"visual"
],
"type": "string"
},
"default": [
"text",
"spoken",
"visual"
],
"maxItems": 3,
"minItems": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text",
"spoken",
"visual",
"language"
],
"properties": {
"text": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"pattern": {
"enum": [
"question",
"number_stakes",
"contrarian",
"outcome",
"call_out",
"curiosity_gap"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 5
},
"spoken": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern",
"quote",
"start_seconds",
"end_seconds",
"use"
],
"properties": {
"use": {
"enum": [
"start_here",
"cold_open"
],
"type": "string"
},
"quote": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"pattern": {
"enum": [
"contrarian",
"problem",
"secret_reveal",
"personal_story",
"list",
"comparison",
"question",
"case_study"
],
"type": "string"
},
"end_seconds": {
"type": "number",
"minimum": 0
},
"start_seconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 5
},
"visual": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern",
"start_seconds",
"end_seconds",
"reason"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 600,
"minLength": 1
},
"pattern": {
"enum": [
"result_first",
"punch_in",
"broll_interrupt",
"screen_moment",
"split_screen",
"greenscreen"
],
"type": "string"
},
"end_seconds": {
"type": "number",
"minimum": 0
},
"start_seconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 5
},
"language": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Read bounded existing provider-reported engagement in the selected workspace, sorted by views. Filters by format, account and publication window. Returns periodTotals for engagement earned during the period across all posts on the selected accounts, plus per-post lifetime counters, saved watch metrics, capture/check times, availability, and saved Project/export lineage when known. includeDetails includes bounded retention and audience tables. Does not import new data, start monitoring or infer attributable leads, sales or revenue.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| range * | string | one of ["7d","30d","90d","all"] |
| format * | string | one of ["all","video","image","carousel"] |
| offset * | integer | |
| search * | string | |
| platform * | string | one of ["all","youtube","instagram","facebook","tiktok"] |
| workspaceId * | any | |
| connectionIds * | any |
Create a vertical video storyboard for the user-approved script in an existing project. Spends planning credits; returns scene narration, factual review notes, references and the production credit estimate. Does not generate images or animate video. Existing account access applies.
| Parameter | Type | Description |
|---|---|---|
| genre | string | Genre pack id. GET /generation-options/faceless lists them in genres, with what each format needs in formats. |
| script * | string | |
| voice_id | string | |
| projectId * | string | UUID string. |
| series_id | any | |
| multi_shot | boolean | Let one video generation cover several timed shots and camera angles. Adjacent script blocks are grouped into takes. |
| storyboard | boolean | Generate one approved storyboard sheet instead of per-scene keyframes and use it as the video reference. Implies multi_shot. |
| video_model | string | |
| workspaceId * | any |
Read one authorized storyboard revision, its scene and reference previews, estimate, approvals and bounded polling guidance. Refreshes signed previews. Complete means the editable timeline is assembled; use exports_start and exports_list for a downloadable MP4.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| revisionId * | string | |
| workspaceId * | any |
{
"name": "video_storyboard_get",
"title": "Review Video Storyboard",
"description": "Read one authorized storyboard revision, its scene and reference previews, estimate, approvals and bounded polling guidance. Refreshes signed previews. Complete means the editable timeline is assembled; use exports_start and exports_list for a downloadable MP4.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"revisionId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a new immutable draft from a known revision with selected scene, character or model changes. Preserves other scene definitions; requires review and production approval again. Does not generate media or overwrite an approved revision.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| revisionId * | string | |
| video_model | string | |
| workspaceId * | any | |
| scene_updates | array | |
| idempotencyKey * | string | |
| image_model_id | string | |
| character_updates | array | |
| style_anchor_prompt | string | Self-contained prompt for the single reference frame that locks rendering medium, palette, lighting, and grain for every scene. No characters, no text, no interfaces. |
After showing the storyboard and its credit estimate, confirmApproved=true starts production of reference images and scene keyframes. Spends existing credits. This stage produces reviewable previews, not animated videos.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| revisionId * | string | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| confirmApproved * | boolean |
{
"name": "video_storyboard_approve",
"title": "Approve Storyboard Previews",
"description": "After showing the storyboard and its credit estimate, confirmApproved=true starts production of reference images and scene keyframes. Spends existing credits. This stage produces reviewable previews, not animated videos.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"revisionId",
"confirmApproved"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmApproved": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}After the user approves the generated previews and animation cost, confirmApproved=true starts scene animation, narration and editable timeline assembly. Can replace the project's generated timeline and spend existing credits. Follow the revision and then export the finished project.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| revisionId * | string | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| confirmApproved * | boolean |
{
"name": "video_assets_approve",
"title": "Approve Previews and Produce Video",
"description": "After the user approves the generated previews and animation cost, confirmApproved=true starts scene animation, narration and editable timeline assembly. Can replace the project's generated timeline and spend existing credits. Follow the revision and then export the finished project.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"revisionId",
"confirmApproved"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmApproved": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Replace the identified preview after user approval of the new credit cost. A scene_keyframe changes one keyframe; a character_anchor refreshes its dependent keyframes; a style_anchor refreshes every keyframe. Preserves unaffected previews. Does not regenerate an already finished video shot.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| asset_type * | string | storyboard regenerates the sheet on storyboard plans; style_anchor regenerates the shared style reference and everything built on it; character_anchor requires character_id and refreshes dependent keyframes or the sheet; scene_keyframe requires scene_index and also redoes that scene's edited end fra… |
| revisionId * | string | |
| scene_index | integer | |
| workspaceId * | any | |
| character_id | string | |
| idempotencyKey * | string | |
| confirmRegeneration * | boolean |
Read bounded camera and screen recording sets in the selected workspace with status, duration and alignment warnings.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| status * | any | |
| workspaceId * | any |
{
"name": "recording_sets_list",
"title": "List Synchronized Recordings",
"description": "Read bounded camera and screen recording sets in the selected workspace with status, duration and alignment warnings.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"status",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"status": {
"anyOf": [
{
"enum": [
"collecting_assets",
"analyzing",
"finalizing",
"ready",
"failed"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one camera and screen recording set, its primary speaker, content windows, alignment and warnings. Separate audio-only tracks are not supported.
| Parameter | Type | Description |
|---|---|---|
| workspaceId * | any | |
| recordingSetId * | string |
{
"name": "recording_sets_get",
"title": "Inspect Synchronized Recording",
"description": "Read one camera and screen recording set, its primary speaker, content windows, alignment and warnings. Separate audio-only tracks are not supported.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"recordingSetId"
],
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create an empty camera and screen recording set in the explicit workspace. Requires existing recording-set access; does not import files or start processing.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| workspaceId * | any | |
| idempotencyKey * | string |
{
"name": "recording_sets_create",
"title": "Create Synchronized Recording",
"description": "Create an empty camera and screen recording set in the explicit workspace. Requires existing recording-set access; does not import files or start processing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Attach one existing authorized video asset as a camera or screen track. Specify the main speaker when known; alignment happens during finalization.
| Parameter | Type | Description |
|---|---|---|
| role * | string | one of ["camera","screen"] |
| asset_id * | string | |
| is_primary * | boolean | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| recordingSetId * | string | |
| participant_name * | any | |
| participant_label * | any |
{
"name": "recording_sets_track_attach",
"title": "Attach Camera or Screen Recording",
"description": "Attach one existing authorized video asset as a camera or screen track. Specify the main speaker when known; alignment happens during finalization.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"recordingSetId",
"asset_id",
"role",
"participant_label",
"participant_name",
"is_primary"
],
"properties": {
"role": {
"enum": [
"camera",
"screen"
],
"type": "string"
},
"asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"is_primary": {
"type": "boolean",
"default": false
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"participant_name": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"default": null
},
"participant_label": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Finalize the collected camera and screen tracks and queue analysis. Can spend existing transcription credits. Inspect returned alignment and warnings before clipping.
| Parameter | Type | Description |
|---|---|---|
| workspaceId * | any | |
| idempotencyKey * | string | |
| recordingSetId * | string |
{
"name": "recording_sets_finalize",
"title": "Synchronize Recording Tracks",
"description": "Finalize the collected camera and screen tracks and queue analysis. Can spend existing transcription credits. Inspect returned alignment and warnings before clipping.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"recordingSetId"
],
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Produce a batch from a ready synchronized camera and screen recording, with optional clip count, maximum duration and caption look. Preserves readable screen context through the existing layout pipeline. Can spend existing credits; follows clips_get with the returned batch_id.
| Parameter | Type | Description |
|---|---|---|
| clipCount * | any | |
| workspaceId * | any | |
| captionThemeId * | any | |
| idempotencyKey * | string | |
| recordingSetId * | string | |
| maxDurationSeconds * | any |
{
"name": "recording_sets_clips_create",
"title": "Clip a Synchronized Recording",
"description": "Produce a batch from a ready synchronized camera and screen recording, with optional clip count, maximum duration and caption look. Preserves readable screen context through the existing layout pipeline. Can spend existing credits; follows clips_get with the returned batch_id.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"recordingSetId",
"clipCount",
"maxDurationSeconds",
"captionThemeId"
],
"properties": {
"clipCount": {
"anyOf": [
{
"type": "integer",
"maximum": 30,
"minimum": 1
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxDurationSeconds": {
"anyOf": [
{
"type": "integer",
"const": 30
},
{
"type": "integer",
"const": 60
},
{
"type": "integer",
"const": 90
},
{
"type": "integer",
"const": 180
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read whether the source video's clip share page is public and which clips are visible. Does not publish content.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | UUID string. |
| workspaceId * | any |
{
"name": "clip_share_get",
"title": "Read Clip Review Link",
"description": "Read whether the source video's clip share page is public and which clips are visible. Does not publish content.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Make the selected source video's clip page public with reviewed title, description and explicit download permission. Requires confirmPublicSharing=true from the user. Returns the verified public URL; no social network post is made.
| Parameter | Type | Description |
|---|---|---|
| title * | string | |
| assetId * | string | UUID string. |
| description * | string | |
| workspaceId * | any | |
| allowDownloads * | boolean | |
| idempotencyKey * | string | |
| confirmPublicSharing * | boolean |
{
"name": "clip_share_publish",
"title": "Publish a Clip Review Link",
"description": "Make the selected source video's clip page public with reviewed title, description and explicit download permission. Requires confirmPublicSharing=true from the user. Returns the verified public URL; no social network post is made.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"assetId",
"title",
"description",
"allowDownloads",
"confirmPublicSharing"
],
"properties": {
"title": {
"type": "string",
"maxLength": 140,
"minLength": 1
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"description": {
"type": "string",
"default": "",
"maxLength": 500
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"allowDownloads": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmPublicSharing": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Disable public access to the selected clip page. Changes an existing publication; preserves private projects and exports.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string |
{
"name": "clip_share_unpublish",
"title": "Unpublish a Clip Review Link",
"description": "Disable public access to the selected clip page. Changes an existing publication; preserves private projects and exports.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Show or hide one identified clip on an existing public review page after explicit user confirmation. Preserves the other clips and private project data.
| Parameter | Type | Description |
|---|---|---|
| clipId * | string | |
| assetId * | string | UUID string. |
| visibility * | string | one of ["visible","hidden"] |
| workspaceId * | any | |
| idempotencyKey * | string | |
| confirmPublicSharing * | boolean |
{
"name": "clip_share_visibility_set",
"title": "Set Shared Clip Visibility",
"description": "Show or hide one identified clip on an existing public review page after explicit user confirmation. Preserves the other clips and private project data.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"assetId",
"clipId",
"visibility",
"confirmPublicSharing"
],
"properties": {
"clipId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"visibility": {
"enum": [
"visible",
"hidden"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmPublicSharing": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}List the user's BlitzReels projects with status, duration, and basic metadata.
| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of projects to return (1-50) |
| offset | number | Project offset. |
| search | string | Search projects by name |
| status | string | Filter by project status |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
{
"name": "projects_list",
"title": "List Projects",
"description": "List the user's BlitzReels projects with status, duration, and basic metadata.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Maximum number of projects to return (1-50)"
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Project offset."
},
"search": {
"type": "string",
"description": "Search projects by name"
},
"status": {
"enum": [
"active",
"archived",
"all"
],
"type": "string",
"default": "active",
"description": "Filter by project status"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"projects",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"projects": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"description",
"updatedAt",
"lastExportAt",
"durationSeconds",
"clipCount",
"thumbnailUrl",
"status",
"projectUrl"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"enum": [
"ready",
"exporting",
"needs_captions",
"processing",
"failed"
],
"type": "string"
},
"clipCount": {
"type": "number"
},
"updatedAt": {
"type": "string"
},
"projectUrl": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"lastExportAt": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
},
"durationSeconds": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get details for one BlitzReels project, including timeline summary, clips, captions, and current recovery state with an app path and next read tool.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | The project ID to get details for. UUID string. |
{
"name": "projects_get",
"title": "Get Project",
"description": "Get details for one BlitzReels project, including timeline summary, clips, captions, and current recovery state with an app path and next read tool.",
"inputSchema": {
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "The project ID to get details for. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"project"
],
"properties": {
"error": {
"type": "string"
},
"project": {
"type": [
"object",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Duplicate a project with shared source media and copied timeline, captions, settings and framing. Returns clip_id for copied clip projects. Reuse idempotencyKey only with identical inputs.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| projectFolderId | any |
{
"name": "projects_duplicate",
"title": "Duplicate Project",
"description": "Duplicate a project with shared source media and copied timeline, captions, settings and framing. Returns clip_id for copied clip projects. Reuse idempotencyKey only with identical inputs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"workspaceId",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"projectFolderId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"series_id",
"id",
"name",
"description",
"aspect_ratio",
"status",
"created_at",
"updated_at",
"clip_id"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"clip_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"series_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"aspect_ratio": {
"anyOf": [
{
"enum": [
"9:16",
"16:9",
"1:1",
"4:5"
],
"type": "string"
},
{
"type": "null"
}
]
},
"thumbnail_url": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read bounded project context for editing, including timeline items, media assets, transcripts, captions, and stable IDs.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Bounded project context view to return. |
| search | string | Optional media search when mode is assets or full. |
| projectId * | string | Project UUID. UUID string. |
| assetLimit | integer | Maximum media assets to return (1-50). |
| assetOffset | integer | Media asset offset. |
| timelineLimit | integer | Maximum timeline items to return (1-1000). |
| timelineOffset | integer | Timeline item offset. |
| transcriptLimit | integer | Maximum transcript segments to return (1-500). |
| captionWordLimit | integer | Maximum caption words to return (1-2000). |
| transcriptOffset | integer | Transcript segment offset. |
List exports with render status and progress. Completed exports include a signed download URL. Pass exportId to return one export.
| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum exports to return when exportId is absent (1-50). |
| offset | number | Export offset when exportId is absent. |
| exportId | string | Return only this export, including its signed download URL when the render is complete. UUID string. |
| projectId | string | Filter exports by project ID. UUID string. |
| workspaceId | string | Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string. |
{
"name": "exports_list",
"title": "List Exports",
"description": "List exports with render status and progress. Completed exports include a signed download URL. Pass exportId to return one export.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum exports to return when exportId is absent (1-50)."
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Export offset when exportId is absent."
},
"exportId": {
"type": "string",
"format": "uuid",
"description": "Return only this export, including its signed download URL when the render is complete. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Filter exports by project ID. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"exports",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"exports": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a WebVTT caption track from the completed export's immutable canonical speech snapshot, preserving the actual export trims. Returns unavailable for older exports or unverified speech; never fabricates captions from titles or current edited timelines.
| Parameter | Type | Description |
|---|---|---|
| exportId * | string | UUID string. |
| workspaceId * | any |
{
"name": "exports_caption_track_get",
"title": "Read Export Caption Track",
"description": "Read a WebVTT caption track from the completed export's immutable canonical speech snapshot, preserving the actual export trims. Returns unavailable for older exports or unverified speech; never fabricates captions from titles or current edited timelines.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"exportId"
],
"properties": {
"exportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Replace one shot's media asset while preserving the other timeline items. Revision checked; dryRun previews by default. Requires a current editor snapshot and an asset in the same workspace.
| Parameter | Type | Description |
|---|---|---|
| dryRun * | boolean | |
| itemId * | string | |
| assetId * | string | UUID string. |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | integer |
{
"name": "editor_asset_replace",
"title": "editor asset replace",
"description": "Replace one shot's media asset while preserving the other timeline items. Revision checked; dryRun previews by default. Requires a current editor snapshot and an asset in the same workspace.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"assetId",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string"
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Adjust one item's volume and audio fades. Revision checked; dryRun previews by default. Preserves the rest of the project.
| Parameter | Type | Description |
|---|---|---|
| dryRun * | boolean | |
| itemId * | string | |
| volume * | number | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| fadeInSeconds * | number | |
| fadeOutSeconds * | number | |
| idempotencyKey * | string | |
| expectedRevision * | integer |
Create or revise one title or text overlay with explicit timing. Revision checked; dryRun previews by default. This edits project text, not spoken audio or captions.
| Parameter | Type | Description |
|---|---|---|
| spec * | any | |
| text * | string | |
| dryRun * | boolean | |
| itemId * | any | |
| textKind * | string | one of ["overlay","title_card","lower_third"] |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| startSeconds * | number | |
| idempotencyKey * | string | |
| durationSeconds * |
Edit composition elements by stable element ID from the editor snapshot: text content, style and animation. Content/style edits preserve placement timing. Optional edit.structure runs ordered insert/move/remove operations before changes. Group by inserting a group and moving children into it. Supply new unique IDs; beforeId null appends. Move coordinates preserveLocal keeps local style and frame offsets, not world position/time. Remove deletes the subtree. Preview reports affected and removed element IDs. Optional edit.duration sets source frames with explicit placements policy: preserve keeps visible windows and syncs unused tails; resizeAll preserves starts/trims and resizes all active placements. Source windows must fit; invalid shortening is rejected. Shared content changes affect all its placements. Omitted fields stay unchanged; null clears a style override; animation values replace the whole property's animation. Attached presets require explicit detachment. Revision checked; dryRun previews by default.
Schema too large to show here (33,750 characters).
{
"name": "editor_composition_edit",
"title": "editor composition edit",
"description": "Edit composition elements by stable element ID from the editor snapshot: text content, style and animation. Content/style edits preserve placement timing. Optional edit.structure runs ordered insert/move/remove operations before changes. Group by inserting a group and moving children into it. Supply new unique IDs; beforeId null appends. Move coordinates preserveLocal keeps local style and frame offsets, not world position/time. Remove deletes the subtree. Preview reports affected and removed element IDs. Optional edit.duration sets source frames with explicit placements policy: preserve keeps visible windows and syncs unused tails; resizeAll preserves starts/trims and resizes all active placements. Source windows must fit; invalid shortening is rejected. Shared content changes affect all its placements. Omitted fields stay unchanged; null clears a style override; animation values replace the whole property's animation. Attached presets require explicit detachment. Revision checked; dryRun previews by default.",
"inputSchema": {
"truncated": true,
"chars": 33750
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Adjust the crop of one existing source view after a layout has been applied. Revision checked; dryRun previews by default. Preserves the other shots.
| Parameter | Type | Description |
|---|---|---|
| crop * | object | |
| dryRun * | boolean | |
| itemId * | string | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | integer |
{
"name": "editor_crop_set",
"title": "editor crop set",
"description": "Adjust the crop of one existing source view after a layout has been applied. Revision checked; dryRun previews by default. Preserves the other shots.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"__schema1": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"__schema2": {
"type": "number",
"maximum": 1,
"minimum": 0.0001
},
"__schema3": {
"type": "number",
"maximum": 1,
"minimum": 0.0001
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"crop",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"$ref": "#/$defs/__schema0"
},
"y": {
"$ref": "#/$defs/__schema1"
},
"width": {
"$ref": "#/$defs/__schema2"
},
"height": {
"$ref": "#/$defs/__schema3"
}
},
"additionalProperties": false
},
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string",
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Insert a workspace image, generated shot or audio asset at an explicit project time. Revision checked; dryRun previews by default.
| Parameter | Type | Description |
|---|---|---|
| dryRun * | boolean | |
| assetId * | string | UUID string. |
| projectId * | string | UUID string. |
| layerIndex * | any | |
| workspaceId * | any | |
| startSeconds * | number | |
| idempotencyKey * | string | |
| durationSeconds * | any | |
| expectedRevision * | integer |
Move selected timeline items to explicit times and layers. Revision checked; dryRun previews by default.
| Parameter | Type | Description |
|---|---|---|
| items * | array | |
| dryRun * | boolean | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | integer |
{
"name": "editor_items_move",
"title": "editor items move",
"description": "Move selected timeline items to explicit times and layers. Revision checked; dryRun previews by default.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "object",
"required": [
"id",
"startSeconds",
"layerIndex"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"layerIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
},
"maxItems": 500,
"minItems": 1
},
"dryRun": {
"type": "boolean",
"default": true
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove selected timeline items and, if requested, their linked captions. Revision checked; dryRun previews by default. The saved action can be undone.
| Parameter | Type | Description |
|---|---|---|
| dryRun * | boolean | |
| itemIds * | array | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | integer | |
| removeAssociatedCaptions * | boolean |
{
"name": "editor_items_remove",
"title": "editor items remove",
"description": "Remove selected timeline items and, if requested, their linked captions. Revision checked; dryRun previews by default. The saved action can be undone.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "string",
"minLength": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemIds",
"removeAssociatedCaptions",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"itemIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
},
"maxItems": 500,
"minItems": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"removeAssociatedCaptions": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read the current revision, stable timeline IDs, captions, style and bounded media context before a precise revision. Signed media links are refreshed by reading again.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| expectedRevision * | any |
{
"name": "editor_snapshot_get",
"title": "Read Editor Snapshot",
"description": "Read the current revision, stable timeline IDs, captions, style and bounded media context before a precise revision. Signed media links are refreshed by reading again.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"offset",
"limit",
"expectedRevision"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read up to 50 saved edit actions, their labels and undo state. Does not restore or change the project.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| projectId * | string | UUID string. |
| workspaceId * | any |
{
"name": "editor_history_list",
"title": "List Edit History",
"description": "Read up to 50 saved edit actions, their labels and undo state. Does not restore or change the project.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"limit"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Restore one saved editor action at the expected current revision. Requires the action ID from edit history and an idempotency key. Existing project data is changed.
| Parameter | Type | Description |
|---|---|---|
| actionId * | string | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | integer |
{
"name": "editor_edit_undo",
"title": "Undo Saved Edit",
"description": "Restore one saved editor action at the expected current revision. Requires the action ID from edit history and an idempotency key. Existing project data is changed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"actionId",
"expectedRevision",
"workspaceId",
"idempotencyKey"
],
"properties": {
"actionId": {
"type": "string",
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read existing suggested moments with source ranges, hooks, transcript excerpts and thumbnails before producing videos. Results are bounded; this does not generate suggestions or render clips.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| assetId * | string | UUID string. |
| workspaceId * | any |
{
"name": "clips_candidates_list",
"title": "Review Clip Candidates",
"description": "Read existing suggested moments with source ranges, hooks, transcript excerpts and thumbnails before producing videos. Results are bounded; this does not generate suggestions or render clips.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"assetId",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read bounded editable caption words and stable word IDs for one project, optionally matching text.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| matchText * | any | |
| projectId * | string | UUID string. |
| workspaceId * | any |
{
"name": "captions_words_list",
"title": "Read Caption Words",
"description": "Read bounded editable caption words and stable word IDs for one project, optionally matching text.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"matchText",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"matchText": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"default": null
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Replace selected caption words by their stable IDs. Preserves timing and the other captions; this does not change the spoken audio.
| Parameter | Type | Description |
|---|---|---|
| updates * | array | |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string |
{
"name": "captions_words_correct",
"title": "Correct Caption Words",
"description": "Replace selected caption words by their stable IDs. Preserves timing and the other captions; this does not change the spoken audio.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"updates"
],
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"wordId",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"wordId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Save the user's 1-5 rating and optional quality category/comment against one completed playable video export. Replaces that user's previous feedback for this export; does not change accepted clips or defaults. Requires the feedback storage migration to be installed.
| Parameter | Type | Description |
|---|---|---|
| rating * | integer | |
| comment * | string | |
| category * | any | |
| exportId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string |
{
"name": "video_feedback_save",
"title": "Save Video Quality Feedback",
"description": "Save the user's 1-5 rating and optional quality category/comment against one completed playable video export. Replaces that user's previous feedback for this export; does not change accepted clips or defaults. Requires the feedback storage migration to be installed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"exportId",
"rating",
"category",
"comment"
],
"properties": {
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1
},
"comment": {
"type": "string",
"default": "",
"maxLength": 2000
},
"category": {
"anyOf": [
{
"enum": [
"moments",
"captions",
"pacing",
"framing",
"editing",
"export",
"other"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Restore editable project captions from the selected source's completed canonical transcript. Keeps the full recording and avoids duplicate captions on identical retries. Requires source transcription first; no-speech is an explicit successful state.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | UUID string. |
| projectId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string |
{
"name": "captions_source_prepare",
"title": "Prepare Source Captions",
"description": "Restore editable project captions from the selected source's completed canonical transcript. Keeps the full recording and avoids duplicate captions on identical retries. Requires source transcription first; no-speech is an explicit successful state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Recover a terminal batch's missing clip count through the persisted recovery workflow. Preserves accepted clips and returns the recovery batch ID. Can spend existing account credits; retry with the identical idempotency key.
| Parameter | Type | Description |
|---|---|---|
| batchId * | string | UUID string. |
| workspaceId * | any | |
| idempotencyKey * | string | |
| targetClipCount * | any |
{
"name": "clips_recover",
"title": "Recover Missing Clips",
"description": "Recover a terminal batch's missing clip count through the persisted recovery workflow. Preserves accepted clips and returns the recovery batch ID. Can spend existing account credits; retry with the identical idempotency key.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"batchId",
"targetClipCount"
],
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"targetClipCount": {
"anyOf": [
{
"type": "integer",
"maximum": 30,
"minimum": 1
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}List bounded workspaces the connected user belongs to, with their role and default workspace. Selecting a workspace for the task does not change account defaults.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer |
{
"name": "workspaces_list",
"title": "List Workspaces",
"description": "List bounded workspaces the connected user belongs to, with their role and default workspace. Selecting a workspace for the task does not change account defaults.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the selected workspace's business audience, offer, reviewed brand defaults, protected vocabulary, editorial purpose, language, avoided terms, pronunciation notes and existing account entitlements. Returns current export quality, watermark constraints, public plan names, monthly USD prices, included AI credits and the pricing upgrade URL.
| Parameter | Type | Description |
|---|---|---|
| workspaceId * | any |
{
"name": "workspace_context_get",
"title": "Read Business Context",
"description": "Read the selected workspace's business audience, offer, reviewed brand defaults, protected vocabulary, editorial purpose, language, avoided terms, pronunciation notes and existing account entitlements. Returns current export quality, watermark constraints, public plan names, monthly USD prices, included AI credits and the pricing upgrade URL.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save the user-reviewed business name, audience, offer, conversion goal, tone, protected vocabulary and editorial preferences for the selected workspace. Requires workspace settings permission and confirmReviewed=true; changes future assistant guidance, preserving existing projects. Pronunciation notes guide script drafting; they do not retime or replace source speech.
| Parameter | Type | Description |
|---|---|---|
| tone * | any | |
| offer * | any | |
| audience * | any | |
| brandName * | any | |
| workspaceId * | any | |
| conversionGoal * | any | |
| idempotencyKey * | string | |
| protectedWords * | array | |
| confirmReviewed * | boolean |
Start extracting a brand profile from the exact website the user supplied and authorized to scan. Saves a draft profile for review; does not apply discovered fields to existing videos. Can spend existing account credits.
| Parameter | Type | Description |
|---|---|---|
| websiteUrl * | string | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| confirmAuthorizedToScan * | boolean |
{
"name": "workspace_brand_scan",
"title": "Inspect Supplied Business Website",
"description": "Start extracting a brand profile from the exact website the user supplied and authorized to scan. Saves a draft profile for review; does not apply discovered fields to existing videos. Can spend existing account credits.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"websiteUrl",
"confirmAuthorizedToScan"
],
"properties": {
"websiteUrl": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmAuthorizedToScan": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read one authorized website extraction run and its draft business profile. Show the extracted fields to the user for review before saving them as defaults.
| Parameter | Type | Description |
|---|---|---|
| runId * | string | UUID string. |
| workspaceId * | any |
{
"name": "workspace_brand_scan_get",
"title": "Read Website Brand Draft",
"description": "Read one authorized website extraction run and its draft business profile. Show the extracted fields to the user for review before saving them as defaults.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"runId"
],
"properties": {
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List media files in user's library (videos, audio, images)
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of assets to return (1-50) |
| offset | integer | Media asset offset. |
| assetType | string | Filter by asset type |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
{
"name": "media_list",
"title": "List Media",
"description": "List media files in user's library (videos, audio, images)",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum number of assets to return (1-50)"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Media asset offset."
},
"assetType": {
"enum": [
"video",
"audio",
"image",
"all"
],
"type": "string",
"default": "all",
"description": "Filter by asset type"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"assets",
"bounds"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object"
}
},
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get transcript summary metadata or a bounded window of transcription segments for a video asset.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Summary returns metadata only. Text returns joined text for a bounded segment window. Full returns the bounded segment objects without duplicating their text. |
| limit | integer | Maximum transcript segments to return (1-200). |
| offset | integer | Transcript segment offset. |
| assetId * | string | The media asset ID to get transcript for. UUID string. |
{
"name": "media_transcript_get",
"title": "Get Media Transcript",
"description": "Get transcript summary metadata or a bounded window of transcription segments for a video asset.",
"inputSchema": {
"type": "object",
"required": [
"assetId"
],
"properties": {
"mode": {
"enum": [
"summary",
"text",
"full"
],
"type": "string",
"default": "summary",
"description": "Summary returns metadata only. Text returns joined text for a bounded segment window. Full returns the bounded segment objects without duplicating their text."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Maximum transcript segments to return (1-200)."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Transcript segment offset."
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "The media asset ID to get transcript for. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"transcript"
],
"properties": {
"error": {
"type": "string"
},
"transcript": {
"type": [
"object",
"null"
],
"required": [
"text",
"segments",
"segmentBounds"
],
"properties": {
"text": {
"type": [
"string",
"null"
]
},
"segments": {
"type": "array",
"items": {
"type": "object"
}
},
"segmentBounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a new private BlitzReels video project.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Project name (1-100 characters) |
| seriesId | string | Optional Series UUID for this new project. |
| frameRate | string | Video frame rate |
| aspectRatio | string | Video aspect ratio |
| description | string | Project description (optional, max 500 characters) |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
{
"name": "projects_create",
"title": "Create Project",
"description": "Create a new private BlitzReels video project.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Project name (1-100 characters)"
},
"seriesId": {
"type": "string",
"description": "Optional Series UUID for this new project."
},
"frameRate": {
"enum": [
"24",
"25",
"30",
"50",
"60"
],
"type": "string",
"default": "30",
"description": "Video frame rate"
},
"aspectRatio": {
"enum": [
"16:9",
"9:16",
"1:1"
],
"type": "string",
"default": "9:16",
"description": "Video aspect ratio"
},
"description": {
"type": "string",
"description": "Project description (optional, max 500 characters)"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "object",
"required": [
"mutationReceipt"
],
"properties": {
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Import a video, audio, or image file from ChatGPT into the BlitzReels media library. Use this for a file the user attached or picked, and for an image ChatGPT generated in this conversation that the user wants to keep, animate, or edit in BlitzReels.
| Parameter | Type | Description |
|---|---|---|
| file * | object | A file from ChatGPT: attached by the user, picked from their file library, or produced earlier in this conversation. ChatGPT provides this value. |
| name | string | Optional name to use in BlitzReels. |
| projectId | string | Optional BlitzReels project ID to associate with the uploaded file. UUID string. |
| workspaceId | string | Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string. |
{
"name": "media_upload_file",
"title": "Upload File",
"description": "Import a video, audio, or image file from ChatGPT into the BlitzReels media library. Use this for a file the user attached or picked, and for an image ChatGPT generated in this conversation that the user wants to keep, animate, or edit in BlitzReels.",
"inputSchema": {
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"format": "uri"
}
},
"description": "A file from ChatGPT: attached by the user, picked from their file library, or produced earlier in this conversation. ChatGPT provides this value."
},
"name": {
"type": "string",
"description": "Optional name to use in BlitzReels."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional BlitzReels project ID to associate with the uploaded file. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"media"
],
"properties": {
"media": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Import video, audio, images, fonts, SVG or JSON from a direct URL into the private workspace library. Returns a durable asset ID and verified contentHashSha256. Fonts, SVG and JSON are limited to 25 MiB.
| Parameter | Type | Description |
|---|---|---|
| url * | string | URL of the media file to download and upload |
| name | string | Optional name for the file |
| projectId | string | Optional project ID to associate the upload with. UUID string. |
| workspaceId | string | Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string. |
| autoTranscribe | boolean | Request transcription for video uploads. |
| autoSuggestShorts | boolean | |
| contentHashSha256 | string | Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string. |
| autoProcessEnabled | boolean | Enable media analysis after upload. |
| autoDescribeAfterTranscribe | boolean |
Get a presigned URL for direct file upload (for large files)
| Parameter | Type | Description |
|---|---|---|
| fileName * | string | Name of the file to upload |
| projectId | string | Optional project ID to associate the upload with. UUID string. |
| contentType * | string | MIME type (e.g., video/mp4, audio/mp3, image/jpeg, font/woff2, image/svg+xml, application/json) |
| workspaceId | string | Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string. |
{
"name": "media_upload_start",
"title": "Start Media Upload",
"description": "Get a presigned URL for direct file upload (for large files)",
"inputSchema": {
"type": "object",
"required": [
"fileName",
"contentType"
],
"properties": {
"fileName": {
"type": "string",
"description": "Name of the file to upload"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project ID to associate the upload with. UUID string."
},
"contentType": {
"type": "string",
"description": "MIME type (e.g., video/mp4, audio/mp3, image/jpeg, font/woff2, image/svg+xml, application/json)"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uploadInfo"
],
"properties": {
"uploadInfo": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Verify uploaded bytes and save a reusable workspace asset after presigned PUT. Returns contentHashSha256, fileSizeBytes and mimeType.
| Parameter | Type | Description |
|---|---|---|
| fileName * | string | Name of the uploaded file |
| projectId | string | Optional project ID to associate the upload with. UUID string. |
| storageKey * | string | Storage key for the uploaded file |
| contentType * | string | MIME type of the file |
| workspaceId | string | Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string. |
| fileSizeBytes * | number | Size of the uploaded file in bytes |
| autoTranscribe | boolean | Request transcription for video uploads. |
| autoSuggestShorts | boolean | |
| contentHashSha256 | string | Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string. |
| autoProcessEnabled |
Inspect a user-provided public social-video or Google Drive URL and return available import metadata without creating media.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Public video URL. Supports social video links and Google Drive file links. |
{
"name": "media_import_inspect",
"title": "Inspect Import URL",
"description": "Inspect a user-provided public social-video or Google Drive URL and return available import metadata without creating media.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public video URL. Supports social video links and Google Drive file links."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"preview"
],
"properties": {
"preview": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Scan a user-controlled public page and return an importable video URL found on it without creating media.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Video page URL or direct media URL to inspect for an importable video. |
| confirmAuthorizedToScan | boolean | Set true only after the user confirms they control the page or are authorized to scan it. |
{
"name": "media_import_scan_page",
"title": "Scan Page For Video",
"description": "Scan a user-controlled public page and return an importable video URL found on it without creating media.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Video page URL or direct media URL to inspect for an importable video."
},
"confirmAuthorizedToScan": {
"type": "boolean",
"default": false,
"description": "Set true only after the user confirms they control the page or are authorized to scan it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"resolved"
],
"properties": {
"resolved": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List available clip batch presets and their clipping/caption defaults.
No parameters.
{
"name": "clips_presets_list",
"title": "List Clip Presets",
"description": "List available clip batch presets and their clipping/caption defaults.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"presets"
],
"properties": {
"presets": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List built-in caption looks and saved caption themes available to a workspace.
| Parameter | Type | Description |
|---|---|---|
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| includeSavedThemes | boolean | Include saved workspace caption themes. |
| includeBuiltInLooks | boolean | Include built-in caption looks. |
{
"name": "captions_themes_list",
"title": "List Caption Themes",
"description": "List built-in caption looks and saved caption themes available to a workspace.",
"inputSchema": {
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"includeSavedThemes": {
"type": "boolean",
"default": true,
"description": "Include saved workspace caption themes."
},
"includeBuiltInLooks": {
"type": "boolean",
"default": true,
"description": "Include built-in caption looks."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"themes"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read retained voice inputs, measured duration, audio SHA-256 and word timing. Defaults to 200 words, maximum 500; offset selects the next page. take is null for audio without a retained narration take.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| assetId * | string | UUID string. |
| workspaceId | string | UUID string. |
{
"name": "media_narration_get",
"title": "Read narration timing",
"description": "Read retained voice inputs, measured duration, audio SHA-256 and word timing. Defaults to 200 words, maximum 500; offset selects the next page. take is null for audio without a retained narration take.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"assetId",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 200,
"maximum": 500,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"assetId",
"take",
"wordTimings",
"bounds"
],
"properties": {
"take": {
"anyOf": [
{
"type": "object",
"required": [
"requestFingerprint",
"preparedRequest",
"timingSource",
"durationSeconds",
"durationSource",
"audio"
],
"properties": {
"audio": {
"type": "object",
"required": [
"sha256",
"bytes",
"contentType",
"analysis"
],
"properties": {
"bytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"analysis": {
"anyOf": [
{
"type": "object",
"required": [
"version",
"method",
"codec",
"sampleRate",
"channels",
"decodedSamples",
"peakDbfs",
"rmsDbfs",
"silenceThresholdDbfs"
],
"properties": {
"codec": {
"type": "string",
"const": "mp3"
},
"method": {
"type": "string",
"const": "ffmpeg-astats"
},
"rmsDbfs": {
"type": "number"
},
"version": {
"type": "number",
"const": 1
},
"channels": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"peakDbfs": {
"type": "number"
},
"sampleRate": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"decodedSamples": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"silenceThresholdDbfs": {
"type": "number",
"const": -60
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"contentType": {
"type": "string",
"const": "audio/mpeg"
}
},
"additionalProperties": false
},
"timingSource": {
"type": "string",
"const": "provider"
},
"durationSource": {
"enum": [
"decoded",
"legacy-container"
],
"type": "string"
},
"durationSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"preparedRequest": {
"type": "object",
"required": [
"version",
"provider",
"voiceId",
"body",
"processing"
],
"properties": {
"body": {
"type": "object",
"required": [
"text",
"modelId",
"outputFormat",
"voiceSettings",
"applyTextNormalization"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"text": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"modelId": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"nextText": {
"type": "string",
"maxLength": 100
},
"languageCode": {
"type": "string",
"maxLength": 12,
"minLength": 2
},
"outputFormat": {
"type": "string",
"const": "mp3_44100_128"
},
"previousText": {
"type": "string",
"maxLength": 100
},
"voiceSettings": {
"type": "object",
"required": [
"stability",
"similarityBoost"
],
"properties": {
"stability": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"similarityBoost": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"additionalProperties": false
},
"previousRequestIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 3
},
"applyTextNormalization": {
"type": "string",
"const": "auto"
}
},
"additionalProperties": false
},
"version": {
"type": "number",
"const": 1
},
"voiceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"provider": {
"type": "string",
"const": "elevenlabs"
},
"processing": {
"type": "object",
"required": [
"version",
"speed"
],
"properties": {
"speed": {
"type": "number",
"maximum": 4,
"minimum": 0.25
},
"version": {
"type": "string",
"const": "ffmpeg-atempo-v1"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"requestFingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"wordTimings": {
"type": "array",
"items": {
"type": "object",
"required": [
"word",
"startSeconds",
"endSeconds",
"index"
],
"properties": {
"word": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"endSeconds": {
"type": "number",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 500
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get metadata and processing state for one media-library asset without returning transcript segments.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Media asset UUID. UUID string. |
{
"name": "media_assets_get",
"title": "Get Media Asset",
"description": "Get metadata and processing state for one media-library asset without returning transcript segments.",
"inputSchema": {
"type": "object",
"required": [
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Media asset UUID. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"asset"
],
"properties": {
"asset": {
"type": "object",
"required": [
"id",
"name",
"description",
"folderId",
"assetType",
"mimeType",
"fileSizeBytes",
"durationSeconds",
"dimensionsWidth",
"dimensionsHeight",
"optimizedDimensionsWidth",
"optimizedDimensionsHeight",
"fps",
"hasAudioStream",
"processing",
"transcription",
"reframeAnalysis",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string"
},
"fps": {
"type": [
"number",
"null"
]
},
"name": {
"type": "string"
},
"folderId": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": [
"string",
"null"
]
},
"assetType": {
"enum": [
"video",
"audio",
"image",
"document"
],
"type": "string"
},
"createdAt": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"processing": {
"type": "object"
},
"description": {
"type": [
"string",
"null"
]
},
"fileSizeBytes": {
"type": "number"
},
"transcription": {
"type": "object"
},
"hasAudioStream": {
"type": [
"boolean",
"null"
]
},
"dimensionsWidth": {
"type": [
"number",
"null"
]
},
"durationSeconds": {
"type": [
"number",
"null"
]
},
"reframeAnalysis": {
"type": "object"
},
"dimensionsHeight": {
"type": [
"number",
"null"
]
},
"optimizedDimensionsWidth": {
"type": [
"number",
"null"
]
},
"optimizedDimensionsHeight": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return one bounded JPEG as MCP image content for visual inspection. Images use the stored visual; videos use the existing thumbnail.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Media asset UUID. UUID string. |
| maxDimension | integer | Maximum preview width or height in pixels (256-1536). |
{
"name": "media_assets_preview",
"title": "Preview Media Asset",
"description": "Return one bounded JPEG as MCP image content for visual inspection. Images use the stored visual; videos use the existing thumbnail.",
"inputSchema": {
"type": "object",
"required": [
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Media asset UUID. UUID string."
},
"maxDimension": {
"type": "integer",
"default": 1024,
"maximum": 1536,
"minimum": 256,
"description": "Maximum preview width or height in pixels (256-1536)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"asset",
"preview"
],
"properties": {
"asset": {
"type": "object",
"required": [
"id",
"name",
"assetType"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"assetType": {
"type": "string"
}
}
},
"preview": {
"type": "object",
"required": [
"mimeType",
"width",
"height",
"byteLength"
],
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"mimeType": {
"type": "string"
},
"byteLength": {
"type": "number"
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List one bounded level of media-library folders and direct asset counts.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum folders to return (1-50). |
| offset | integer | Folder offset. |
| workspaceId | string | Workspace UUID, or null for the default workspace. UUID string. |
| parentFolderId | string | Parent folder UUID, or null for root folders. |
{
"name": "media_folders_list",
"title": "List Media Folders",
"description": "List one bounded level of media-library folders and direct asset counts.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum folders to return (1-50)."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Folder offset."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Workspace UUID, or null for the default workspace. UUID string."
},
"parentFolderId": {
"type": "string",
"format": "uuid",
"description": "Parent folder UUID, or null for root folders."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"folders",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"folders": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create one media-library folder in a workspace and return a retry-safe mutation receipt.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Folder name. |
| iconType | string | Folder icon type. |
| description | string | Optional folder description. |
| workspaceId | string | Workspace UUID, or null for the default workspace. UUID string. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| parentFolderId | string | Parent folder UUID, or null for the root. |
{
"name": "media_folders_create",
"title": "Create Media Folder",
"description": "Create one media-library folder in a workspace and return a retry-safe mutation receipt.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Folder name."
},
"iconType": {
"enum": [
"folder",
"code",
"video",
"audio",
"image",
"document",
"star",
"spark"
],
"type": "string",
"default": "folder",
"description": "Folder icon type."
},
"description": {
"type": "string",
"maxLength": 1000,
"description": "Optional folder description."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Workspace UUID, or null for the default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"parentFolderId": {
"type": "string",
"format": "uuid",
"description": "Parent folder UUID, or null for the root."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"folder",
"mutationReceipt"
],
"properties": {
"folder": {
"type": "object"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Rename one media asset, edit its description, move it to a folder, or change B-roll eligibility. Provide at least one of name, description, folderId, or allowUsingAsBroll.
| Parameter | Type | Description |
|---|---|---|
| name | string | New media asset name. |
| assetId * | string | Media asset UUID. UUID string. |
| folderId | string | Target folder UUID, or null to move the asset to root. |
| description | string | New description, or null to clear it. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| allowUsingAsBroll | boolean | Whether the asset may be selected as B-roll. |
{
"name": "media_assets_update",
"title": "Update Media Asset",
"description": "Rename one media asset, edit its description, move it to a folder, or change B-roll eligibility. Provide at least one of name, description, folderId, or allowUsingAsBroll.",
"inputSchema": {
"type": "object",
"required": [
"assetId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "New media asset name."
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "Media asset UUID. UUID string."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Target folder UUID, or null to move the asset to root."
},
"description": {
"type": "string",
"maxLength": 5000,
"description": "New description, or null to clear it."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"allowUsingAsBroll": {
"type": "boolean",
"description": "Whether the asset may be selected as B-roll."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"asset",
"updatedFields",
"txid",
"mutationReceipt"
],
"properties": {
"txid": {
"type": [
"number",
"null"
]
},
"asset": {
"type": "object"
},
"updatedFields": {
"type": "array",
"items": {
"type": "string"
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Estimate ByteDance upscale eligibility and credits for one stored video. Does not spend credits or queue a job. Call this before media_upscale.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Source video asset UUID. UUID string. |
| projectId | string | Optional project UUID for the estimate context. UUID string. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| targetResolution * | string | Output long-edge target. |
{
"name": "media_upscale_estimate",
"title": "Estimate Video Upscale",
"description": "Estimate ByteDance upscale eligibility and credits for one stored video. Does not spend credits or queue a job. Call this before media_upscale.",
"inputSchema": {
"type": "object",
"required": [
"assetId",
"targetResolution"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Source video asset UUID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project UUID for the estimate context. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string",
"description": "Output long-edge target."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"eligible",
"ineligibleReason",
"targetResolution",
"targetFps",
"creditsRequired",
"durationSeconds",
"sourceLongEdge",
"targetLongEdge"
],
"properties": {
"eligible": {
"type": "boolean"
},
"targetFps": {
"enum": [
"30fps",
"60fps"
],
"type": "string"
},
"sourceLongEdge": {
"type": "number"
},
"targetLongEdge": {
"type": "number"
},
"creditsRequired": {
"type": "number"
},
"durationSeconds": {
"type": "number"
},
"ineligibleReason": {
"type": [
"string",
"null"
]
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Queue a ByteDance upscale of one stored video asset to 1080p or 4k. Call media_upscale_estimate first. Spends AI credits and returns a new pending media asset to poll with media_assets_get.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Source video asset UUID. UUID string. |
| projectId | string | Optional project UUID to attach the credit spend. UUID string. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| targetResolution * | string | Output long-edge target. |
{
"name": "media_upscale",
"title": "Upscale Video",
"description": "Queue a ByteDance upscale of one stored video asset to 1080p or 4k. Call media_upscale_estimate first. Spends AI credits and returns a new pending media asset to poll with media_assets_get.",
"inputSchema": {
"type": "object",
"required": [
"assetId",
"targetResolution"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Source video asset UUID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project UUID to attach the credit spend. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string",
"description": "Output long-edge target."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"assetId",
"sourceAssetId",
"targetResolution",
"creditsRequired",
"runId",
"status",
"mutationReceipt"
],
"properties": {
"runId": {
"type": "string"
},
"status": {
"enum": [
"queued"
],
"type": "string"
},
"assetId": {
"type": "string"
},
"sourceAssetId": {
"type": "string"
},
"creditsRequired": {
"type": "number"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Create a private BlitzReels clip batch from an existing asset or a user-provided video URL. Supports public social videos, Google Drive, and direct media URLs.
| Parameter | Type | Description |
|---|---|---|
| url | string | Video URL to import before clipping. Supports social video links, Google Drive file links, and direct video file URLs. |
| assetId | string | Existing BlitzReels video asset ID. Provide assetId or url, not both. UUID string. |
| seriesId | string | Optional Series UUID. Omitted inherits the source Series; null creates standalone clips. |
| clipCount | integer | Maximum clips requested. Available source moments and account limits can yield fewer. |
| selection | any | Existing asset only: reviewed candidate IDs to include in order or exclude. Resolve IDs with clips_candidates_list first. Null delegates selection. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| clipPresetId | string | Clip style preset. Use high-retention for High Retention clips or demo-focus for product and screen demos. |
| captionThemeId | string | Saved theme UUID or built-in caption look. Omitted inherits Series defaults; null uses workspace captions. |
Get status, generated clips, render counts, and download links for a BlitzReels clip batch.
| Parameter | Type | Description |
|---|---|---|
| batchId * | string | Clip batch ID. UUID string. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
{
"name": "clips_get",
"title": "Get Clip Batch",
"description": "Get status, generated clips, render counts, and download links for a BlitzReels clip batch.",
"inputSchema": {
"type": "object",
"required": [
"batchId"
],
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"description": "Clip batch ID. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"batch"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Preview or delete a terminal clip batch. Dry-run is the default; real deletion requires explicit confirmation, retention choice, workspace delete permission, and an idempotency key.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| batchId * | string | UUID string. |
| retention | string | one of ["retain_projects_and_exports","delete_projects_and_exports"] |
| workspaceId | string | UUID string. |
| confirmDelete | boolean | |
| idempotencyKey * | string |
{
"name": "clip_batches_delete",
"title": "Delete Clip Batch",
"description": "Preview or delete a terminal clip batch. Dry-run is the default; real deletion requires explicit confirmation, retention choice, workspace delete permission, and an idempotency key.",
"inputSchema": {
"type": "object",
"required": [
"batchId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"batchId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"retention": {
"enum": [
"retain_projects_and_exports",
"delete_projects_and_exports"
],
"type": "string",
"default": "retain_projects_and_exports"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"confirmDelete": {
"type": "boolean",
"default": false
},
"idempotencyKey": {
"type": "string",
"maxLength": 255,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read one existing batch's progress, ready clips and renewed signed links without opening or remounting a review widget. Safe for bounded polling and widget refresh; does not recreate or repair clips.
| Parameter | Type | Description |
|---|---|---|
| batchId * | string | UUID string. |
| workspaceId | string | UUID string. |
{
"name": "clips_status_get",
"title": "Refresh Clip Progress",
"description": "Read one existing batch's progress, ready clips and renewed signed links without opening or remounting a review widget. Safe for bounded polling and widget refresh; does not recreate or repair clips.",
"inputSchema": {
"type": "object",
"required": [
"batchId"
],
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"batch"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List bounded managed clips from the selected source or project with their current workflow state.
| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number | |
| status | string | |
| assetId | string | UUID string. |
| projectId | string | UUID string. |
| workspaceId | string | UUID string. |
{
"name": "clips_list",
"title": "List Clips",
"description": "List bounded managed clips from the selected source or project with their current workflow state.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0
},
"status": {
"type": "string"
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one managed clip's selected source range, project, workflow state and delivery information.
| Parameter | Type | Description |
|---|---|---|
| clipId * | ["string","null"] | |
| workspaceId | string | UUID string. |
{
"name": "clips_inspect",
"title": "Inspect One Clip",
"description": "Read one managed clip's selected source range, project, workflow state and delivery information.",
"inputSchema": {
"type": "object",
"required": [
"clipId"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Replace the source moment for one managed clip using a verified suggestion or explicit time range. Can spend existing account credits. Preserves the other clips; read current state before retrying.
| Parameter | Type | Description |
|---|---|---|
| clipId * | ["string","null"] | |
| lookId | string | |
| endSeconds | number | |
| layoutMode | string | one of ["auto","people_first","screen_first","preserve_full_source","prefer_split","prefer_focus","prefer_tutorial","prefer_demo"] |
| workspaceId | string | UUID string. |
| startSeconds | number | |
| suggestionId | string | UUID string. |
| selectionMode * | ["string","null"] | one of ["auto_best","suggestion","time_range"] |
| idempotencyKey * | ["string","null"] | |
| captionsEnabled | boolean |
Request a layout repair for one managed clip, such as preserving a screen demo or moving captions away from faces. Changes that clip's project; preserves the other clips.
| Parameter | Type | Description |
|---|---|---|
| clipId * | ["string","null"] | |
| repairMode | string | one of ["auto","prefer_split","prefer_focus","prefer_tutorial","prefer_demo","move_captions_off_faces"] |
| workspaceId | string | UUID string. |
| idempotencyKey * | ["string","null"] |
{
"name": "clips_repair",
"title": "Repair One Clip Layout",
"description": "Request a layout repair for one managed clip, such as preserving a screen demo or moving captions away from faces. Changes that clip's project; preserves the other clips.",
"inputSchema": {
"type": "object",
"required": [
"clipId",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"repairMode": {
"enum": [
"auto",
"prefer_split",
"prefer_focus",
"prefer_tutorial",
"prefer_demo",
"move_captions_off_faces"
],
"type": "string",
"default": "auto"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Render one managed clip at an existing-account-supported quality. Returns persisted export state; inspect until the accepted delivery file is ready. Can spend existing account credits.
| Parameter | Type | Description |
|---|---|---|
| clipId * | ["string","null"] | |
| format | string | one of ["mp4","mov"] |
| resolution | string | one of ["720p","1080p"] |
| workspaceId | string | UUID string. |
| idempotencyKey * | ["string","null"] | |
| coverFrameSeconds | number |
{
"name": "clips_export",
"title": "Export One Clip",
"description": "Render one managed clip at an existing-account-supported quality. Returns persisted export state; inspect until the accepted delivery file is ready. Can spend existing account credits.",
"inputSchema": {
"type": "object",
"required": [
"clipId",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"format": {
"enum": [
"mp4",
"mov"
],
"type": "string",
"default": "mp4"
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"default": "1080p"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
},
"coverFrameSeconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Apply a verified caption look to one project. Preserves word overrides unless clearWordOverrides=true. Existing captions are restyled; spoken audio is preserved.
| Parameter | Type | Description |
|---|---|---|
| lookId * | ["string","null"] | |
| projectId * | ["string","null"] | UUID string. |
| workspaceId | string | UUID string. |
| idempotencyKey * | ["string","null"] | |
| clearWordOverrides | boolean |
{
"name": "captions_look_apply",
"title": "Apply Caption Look",
"description": "Apply a verified caption look to one project. Preserves word overrides unless clearWordOverrides=true. Existing captions are restyled; spoken audio is preserved.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"lookId",
"idempotencyKey"
],
"properties": {
"lookId": {
"type": [
"string",
"null"
],
"default": null
},
"projectId": {
"type": [
"string",
"null"
],
"format": "uuid",
"default": null,
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
},
"clearWordOverrides": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Create or update up to 20 visual blocks in one call after edit timing is settled. Presets: broll-headline, steps, quote, end-screen, key-number, before-after, screenshot-focus, chapter. IDs are scoped to the project; repeating an ID updates it. Asset IDs must belong to the workspace. Atomic, undoable; dryRun validates without writing. Returns IDs and revision. No generation pass.
| Parameter | Type | Description |
|---|---|---|
| items * | array | Supply only the fields for the selected preset. |
| dryRun * | boolean | |
| projectId * | string | UUID string. |
| idempotencyKey * | string | |
| expectedRevision * | any |
{
"name": "visuals_apply",
"title": "Apply visual presets",
"description": "Create or update up to 20 visual blocks in one call after edit timing is settled. Presets: broll-headline, steps, quote, end-screen, key-number, before-after, screenshot-focus, chapter. IDs are scoped to the project; repeating an ID updates it. Asset IDs must belong to the workspace. Atomic, undoable; dryRun validates without writing. Returns IDs and revision. No generation pass.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"items",
"expectedRevision",
"dryRun",
"idempotencyKey"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"at",
"duration",
"preset",
"text"
],
"properties": {
"at": {
"type": "number",
"maximum": 86400,
"minimum": 0
},
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,80}$"
},
"cta": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Required for end-screen."
},
"text": {
"type": "string",
"maxLength": 220,
"minLength": 1,
"description": "Heading, or quote. Max 120 characters except quote: 220."
},
"focus": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"description": "Required for screenshot-focus. Normalized rectangle inside the source image.",
"additionalProperties": false
},
"steps": {
"type": "array",
"items": {
"type": "string",
"maxLength": 48,
"minLength": 1
},
"maxItems": 5,
"minItems": 2,
"description": "Required for steps."
},
"value": {
"type": "number",
"maximum": 999999,
"minimum": -999999,
"description": "Required for key-number."
},
"number": {
"type": "string",
"maxLength": 4,
"minLength": 1,
"description": "Required for chapter."
},
"preset": {
"enum": [
"broll-headline",
"steps",
"quote",
"end-screen",
"key-number",
"before-after",
"screenshot-focus",
"chapter"
],
"type": "string"
},
"suffix": {
"type": "string",
"maxLength": 8,
"description": "Required for key-number; empty string allowed."
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Required for broll-headline and screenshot-focus."
},
"duration": {
"type": "number",
"maximum": 30,
"minimum": 1
},
"accentColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Brand accent for key-number or screenshot-focus."
},
"attribution": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Required for quote."
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"description": "Required for end-screen; null for no logo."
},
"afterAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Required for before-after."
},
"beforeAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Required for before-after."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Supply only the fields for the selected preset."
},
"dryRun": {
"type": "boolean"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"success",
"dryRun",
"revision",
"mutationReceiptId",
"replayed",
"items",
"warnings"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"timelineItemId",
"contentItemId",
"compositionId",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"enum": [
"created",
"updated"
],
"type": "string"
},
"compositionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentItemId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"timelineItemId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}
},
"dryRun": {
"type": "boolean"
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"mutationReceiptId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update one timeline item's start, duration, trim, layer, ignored state, or blurred background. Provide at least one field to update besides timelineItemId.
| Parameter | Type | Description |
|---|---|---|
| ignored | boolean | |
| projectId * | string | UUID string. |
| layerIndex | integer | |
| startSeconds | number | |
| idempotencyKey * | string | Retry key. Reuse only with identical inputs. |
| timelineItemId * | string | |
| trimEndSeconds | number | |
| durationSeconds | number | |
| expectedRevision | integer | Expected sequence revision, or null. |
| trimStartSeconds | number | |
| blurredBackground | boolean |
Update timing, trim, layer, or state for up to 100 timeline items in one sequence transaction.
| Parameter | Type | Description |
|---|---|---|
| updates * | array | Each update needs at least one field to change besides timelineItemId. |
| projectId * | string | UUID string. |
| idempotencyKey * | string | Retry key. Reuse only with identical inputs. |
| expectedRevision | integer | Expected sequence revision, or null. |
{
"name": "batch_update_timeline_clips",
"title": "Batch Update Timeline Clips",
"description": "Update timing, trim, layer, or state for up to 100 timeline items in one sequence transaction.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"updates",
"idempotencyKey"
],
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"timelineItemId"
],
"properties": {
"ignored": {
"type": "boolean"
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"trimEndSeconds": {
"type": "number",
"minimum": 0
},
"durationSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"trimStartSeconds": {
"type": "number",
"minimum": 0
},
"blurredBackground": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Each update needs at least one field to change besides timelineItemId."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set one timeline media item's volume to zero.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| idempotencyKey * | string | Retry key. Reuse only with identical inputs. |
| timelineItemId * | string | |
| expectedRevision | integer | Expected sequence revision, or null. |
{
"name": "mute_clip_audio",
"title": "Mute Clip Audio",
"description": "Set one timeline media item's volume to zero.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"timelineItemId",
"idempotencyKey"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Preview or delete up to 100 timeline items and optionally remove linked captions.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| projectId * | string | UUID string. |
| confirmDelete | boolean | |
| idempotencyKey | string | |
| timelineItemIds * | array | |
| expectedRevision | integer | Expected sequence revision, or null. |
| removeAssociatedCaptions | boolean |
{
"name": "delete_timeline_items",
"title": "Delete Timeline Items",
"description": "Preview or delete up to 100 timeline items and optionally remove linked captions.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"timelineItemIds"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"confirmDelete": {
"type": "boolean",
"default": false
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"timelineItemIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"removeAssociatedCaptions": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"dryRun",
"plan"
],
"properties": {
"plan": {
"type": "object"
},
"dryRun": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"dryRun",
"mutation"
],
"properties": {
"dryRun": {
"type": "boolean",
"const": false
},
"mutation": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Add an opening title card (hook) or generic text overlay to a project timeline. Defaults to classic white: black text on a white card.
| Parameter | Type | Description |
|---|---|---|
| kind | string | title_card is an opening hook. lower_third is a speaker label (name and role on separate lines). overlay is generic on-video text. |
| name | string | |
| size | string | Title-card size. Ignored for overlay. |
| text * | string | |
| theme | string | Title-card look. classic_white is black text on a white card. Ignored for overlay. |
| projectId * | string | UUID string. |
| layerIndex | integer | |
| startSeconds | number | |
| idempotencyKey * | string | Retry key. Reuse only with identical inputs. |
| durationSeconds | number | |
| expectedRevision |
Add a timed transition effect, optionally attached to one timeline item and paired with sound.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| easing | string | one of ["linear","easeIn","easeOut","easeInOut"] |
| preset | string | one of ["flash","film-flash","whip-left","whip-right","zoom-punch","glitch"] |
| intensity | number | |
| projectId * | string | UUID string. |
| includeSfx | boolean | |
| layerIndex | integer | |
| startSeconds * | number | |
| idempotencyKey * | string | Retry key. Reuse only with identical inputs. |
| timelineItemId | string | |
| durationSeconds | number |
Place an image or video asset onto a BlitzReels project timeline at a timestamp, including B-roll and static images.
| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Image or video media asset ID. UUID string. |
| projectId * | string | BlitzReels project ID. UUID string. |
| layerIndex | number | Exact timeline layer to use. Lower layer numbers render on top. Omit for intent-based placement. |
| startSeconds | number | Timeline start time in seconds |
| allowDuplicate | boolean | Allow inserting the same asset more than once |
| positionPreset | string | Visual placement preset |
| animationPreset | string | Optional visual animation preset |
| durationSeconds | number | Duration in seconds. Required for still images when a specific length is needed. |
| placementIntent | string | Layer intent used when layerIndex is omitted. Use overlay for visible B-roll/logo/sticker over video, background for behind video, exact when layerIndex is supplied. |
Place an audio asset onto a BlitzReels project timeline at a timestamp for voiceover, music, or sound.
| Parameter | Type | Description |
|---|---|---|
| loop | boolean | Loop audio to fill requested duration |
| volume | number | Audio volume multiplier, 1 is normal |
| assetId * | string | Audio media asset ID. UUID string. |
| projectId * | string | BlitzReels project ID. UUID string. |
| startSeconds | number | Timeline start time in seconds |
| fadeInSeconds | number | Fade-in length in seconds |
| fadeOutSeconds | number | Fade-out length in seconds |
| durationSeconds | number | Optional duration. Required if the audio asset duration is not known yet. |
{
"name": "timeline_audio_add",
"title": "Add Audio To Timeline",
"description": "Place an audio asset onto a BlitzReels project timeline at a timestamp for voiceover, music, or sound.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"assetId"
],
"properties": {
"loop": {
"type": "boolean",
"default": false,
"description": "Loop audio to fill requested duration"
},
"volume": {
"type": "number",
"default": 1,
"description": "Audio volume multiplier, 1 is normal"
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "Audio media asset ID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "BlitzReels project ID. UUID string."
},
"startSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Timeline start time in seconds"
},
"fadeInSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Fade-in length in seconds"
},
"fadeOutSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Fade-out length in seconds"
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"description": "Optional duration. Required if the audio asset duration is not known yet."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Export a BlitzReels video or native carousel and return export and job IDs for status checks.
| Parameter | Type | Description |
|---|---|---|
| format | string | Video container or native carousel image ZIP format |
| projectId * | string | BlitzReels project ID. UUID string. |
| resolution | string | Export resolution |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| expectedRevision | integer | Reject export if the Project changed since this revision was read. |
| coverFrameSeconds | number | Optional cover thumbnail timestamp |
{
"name": "exports_start",
"title": "Start Export",
"description": "Export a BlitzReels video or native carousel and return export and job IDs for status checks.",
"inputSchema": {
"type": "object",
"required": [
"projectId"
],
"properties": {
"format": {
"enum": [
"mp4",
"mov",
"fcpxml",
"zip",
"png",
"jpeg",
"carousel_zip"
],
"type": "string",
"default": "mp4",
"description": "Video container or native carousel image ZIP format"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "BlitzReels project ID. UUID string."
},
"resolution": {
"enum": [
"720p",
"1080p",
"4k"
],
"type": "string",
"default": "1080p",
"description": "Export resolution"
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Reject export if the Project changed since this revision was read."
},
"coverFrameSeconds": {
"type": "number",
"minimum": 0,
"description": "Optional cover thumbnail timestamp"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"export"
],
"properties": {
"export": {
"type": "object",
"required": [
"mutationReceipt"
],
"properties": {
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}List models, defaults, limits and credit costs for one generation kind. For a selected video model, pass videoQuote with its model, seconds and optional resolution to check the workspace's current eligibility and a shorter option when available. Durations come from durations_seconds. A quote spends no credits and reserves no capacity.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | one of ["image","video","voiceover","music","sound","faceless"] |
| videoQuote | any | |
| workspaceId | any |
{
"name": "generation_options_list",
"title": "List Generation Options",
"description": "List models, defaults, limits and credit costs for one generation kind. For a selected video model, pass videoQuote with its model, seconds and optional resolution to check the workspace's current eligibility and a shorter option when available. Durations come from durations_seconds. A quote spends no credits and reserves no capacity.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"videoQuote": {
"anyOf": [
{
"type": "object",
"required": [
"model",
"seconds"
],
"properties": {
"model": {
"enum": [
"sync-lipsync-2",
"flux-3-max",
"flux-3-max-t2v",
"grok-imagine-1.5",
"grok-imagine-1.5-t2v",
"heygen-video",
"heygen-video-t2v",
"omnihuman-v2",
"creatify-aurora",
"veed-fabric-1",
"seedance-2.5-flash",
"seedance-2.5-flash-ref2v",
"seedance-2.5-flash-t2v",
"seedance-2.5-edit",
"kling-o3-standard-edit",
"kling-o3-pro-edit",
"kling-v4-edit",
"kling-v3-standard-motion-control",
"kling-v3-pro-motion-control",
"wan-2.2-animate-replace",
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-v4",
"kling-v4-ref2v",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"minimax-h3-max",
"minimax-hailuo-2.3-pro-t2v",
"minimax-h3-max-t2v",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash-ref2v",
"gemini-omni-flash-1.2-ref2v",
"gemini-omni-flash-edit",
"gemini-omni-flash-1.2-edit",
"gemini-omni-flash",
"gemini-omni-flash-1.2",
"veo3-fast",
"gemini-omni-flash-t2v",
"gemini-omni-flash-1.2-t2v",
"wan-2.7",
"wan-2.7-ref2v",
"wan-2.7-t2v",
"wan-3.0",
"wan-3.0-prime",
"wan-3.0-t2v",
"wan-3.0-prime-t2v",
"happy-horse",
"happy-horse-ref2v",
"happy-horse-t2v",
"grok-imagine-lite",
"grok-imagine-lite-t2v",
"seedance-2.0-pro",
"seedance-2.5",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast",
"seedance-2.0-pro-t2v",
"seedance-2.5-t2v",
"seedance-2.0-pro-fast-t2v",
"kling-o3-standard-t2v",
"kling-o3-pro-t2v",
"kling-v3-standard-t2v",
"kling-v3-pro-t2v",
"kling-v4-t2v"
],
"type": "string"
},
"seconds": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"resolution": {
"anyOf": [
{
"enum": [
"360p",
"480p",
"720p",
"768p",
"1080p",
"4k"
],
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"options"
],
"properties": {
"options": {
"type": "object"
},
"videoQuote": {
"type": "object",
"required": [
"model",
"seconds",
"resolution",
"estimatedCredits",
"creditsRemaining",
"allowed",
"reason",
"shorterOption"
],
"properties": {
"model": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"allowed": {
"type": "boolean"
},
"seconds": {
"type": "integer"
},
"resolution": {
"type": [
"string",
"null"
]
},
"shorterOption": {
"type": [
"object",
"null"
],
"required": [
"seconds",
"estimatedCredits"
],
"properties": {
"seconds": {
"type": "integer"
},
"estimatedCredits": {
"type": "number"
}
}
},
"creditsRemaining": {
"type": "number"
},
"estimatedCredits": {
"type": "number"
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Queue an AI image generation into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
| Parameter | Type | Description |
|---|---|---|
| size | any | Exact output size as WIDTHxHEIGHT, for example 1920x2304. Only models whose parameters.size.supported is true in generation_options_list; it replaces aspectRatio, and credits scale with pixel count. |
| model | string | Image model. Call generation_options_list for costs. |
| prompt * | string | What the image should show (8-5000 characters). |
| folderId | string | Optional media library folder ID. |
| background | string | Background of the generated image: auto (the model decides), opaque or transparent (an RGBA PNG for cut-outs and overlays). Only models whose parameters.background.supported is true in generation_options_list accept opaque or transparent. |
| resolution | any | Native image resolution. Call generation_options_list for model support and resolution pricing. Unsupported settings are rejected. |
| aspectRatio | string | Output aspect ratio. |
| characterId | string | Workspace character to keep consistent (characters_list). Its reference images or trained weights and description are added; they count toward the model reference limit. |
Queue video generation, image animation, source-video editing or character replacement into the media library. Spends AI credits. Check the selected model and duration first with generation_options_list and videoQuote. Editing accepts referenceVideoAssetIds and transformation controls, including original-audio preservation. Read the queued job with generation_jobs_get.
| Parameter | Type | Description |
|---|---|---|
| seed | integer | Optional seed for reproducible output. |
| model | string | Video model. generation_options_list publishes generation type, source limits, character controls, resolution and pricing for each model. |
| prompt * | string | What should happen in the shot (3-5000 characters). |
| folderId | string | Optional media library folder ID. |
| provider | string | Explicit provider must support the model and input mode. auto uses a configured compatible provider. |
| provenance | any | Original user request before prompt authoring, and previous failed job ID when retrying. Retained for review; never infer missing wording. |
| resolution | any | Output resolution. Call generation_options_list for model-specific supported values and defaults. Unsupported settings are rejected. |
| aspectRatio |
Queue a text-to-speech voiceover into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Script to read aloud (3-8000 characters). |
| speed | number | Speaking rate between 0.5 and 1.6. |
| voiceId | string | Catalog voice ID (generation_options_list with kind voiceover) or a workspace voice ID (voices_list), such as a cloned voice. |
| voiceStyle | string | Delivery emotion. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
{
"name": "generation_voiceover_create",
"title": "Generate Voiceover",
"description": "Queue a text-to-speech voiceover into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 8000,
"minLength": 3,
"description": "Script to read aloud (3-8000 characters)."
},
"speed": {
"type": "number",
"default": 1,
"maximum": 1.6,
"minimum": 0.5,
"description": "Speaking rate between 0.5 and 1.6."
},
"voiceId": {
"type": "string",
"default": "pNInz6obpgDQGcFmaJgB",
"maxLength": 200,
"minLength": 1,
"description": "Catalog voice ID (generation_options_list with kind voiceover) or a workspace voice ID (voices_list), such as a cloned voice."
},
"voiceStyle": {
"enum": [
"curiosity",
"intrigue",
"urgency",
"tension",
"concern",
"surprise",
"hope",
"satisfaction",
"inspiration",
"revelation",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "Delivery emotion."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Queue a background music track into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
| Parameter | Type | Description |
|---|---|---|
| mood | string | Track mood. |
| prompt | string | Optional description of the track. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| durationSeconds | number | Track length between 10 and 120 seconds. |
{
"name": "generation_music_create",
"title": "Generate Music",
"description": "Queue a background music track into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
"inputSchema": {
"type": "object",
"properties": {
"mood": {
"enum": [
"curiosity",
"intrigue",
"urgency",
"tension",
"concern",
"surprise",
"hope",
"satisfaction",
"inspiration",
"revelation",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "Track mood."
},
"prompt": {
"type": "string",
"default": "",
"maxLength": 500,
"description": "Optional description of the track."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"durationSeconds": {
"type": "number",
"default": 30,
"maximum": 120,
"minimum": 10,
"description": "Track length between 10 and 120 seconds."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Queue a sound effect into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
| Parameter | Type | Description |
|---|---|---|
| loop | boolean | Produce a seamlessly loopable effect. |
| prompt * | string | The sound to create (3-500 characters). |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| durationSeconds | number | Effect length between 0.5 and 30 seconds. |
| promptInfluence | number | How literally to follow the prompt, between 0 and 1. Higher is more literal. |
{
"name": "generation_sound_create",
"title": "Generate Sound Effect",
"description": "Queue a sound effect into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
"inputSchema": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"loop": {
"type": "boolean",
"default": false,
"description": "Produce a seamlessly loopable effect."
},
"prompt": {
"type": "string",
"maxLength": 500,
"minLength": 3,
"description": "The sound to create (3-500 characters)."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"durationSeconds": {
"type": "number",
"default": 2,
"maximum": 30,
"minimum": 0.5,
"description": "Effect length between 0.5 and 30 seconds."
},
"promptInfluence": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"description": "How literally to follow the prompt, between 0 and 1. Higher is more literal."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Prepare a storyboard for a faceless video with optional voiceover, captions, music and sound. Poll generation_jobs_get for the storyboard, then use video_storyboard_get to review the scenes and estimated cost before approving production. Planning spends AI credits.
| Parameter | Type | Description |
|---|---|---|
| script * | string | The narration or story to turn into a video. |
| voiceId | string | Optional voice override from the BlitzReels voice catalog. The Story Kit narrator voice is used when omitted. |
| seriesId | string | Optional Series UUID. Inherits its Story Kit and branding defaults for this new video. |
| storyKitId | string | Reusable Story Kit UUID for characters, references, locations, style, and narrator voice. |
| videoModel | string | Image-to-video model used to animate scenes. |
| projectName | string | Name for the created BlitzReels project. |
| visualStyle | string | Optional art direction override. A Story Kit style is used when omitted. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
Read generation status, failure category, ledger-confirmed credit outcome, prompt history and compatible model alternatives. Alternatives report duration splits, estimated credits and unverified acceptance. reviewUrl opens prompt review and support escalation. Completed media jobs include the asset when available. A completed faceless planning job returns a storyboard revision for review before video production.
| Parameter | Type | Description |
|---|---|---|
| jobId * | string | Job ID returned by any generation_*_create tool. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
{
"name": "generation_jobs_get",
"title": "Get Generation Job",
"description": "Read generation status, failure category, ledger-confirmed credit outcome, prompt history and compatible model alternatives. Alternatives report duration splits, estimated credits and unverified acceptance. reviewUrl opens prompt review and support escalation. Completed media jobs include the asset when available. A completed faceless planning job returns a storyboard revision for review before video production.",
"inputSchema": {
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"description": "Job ID returned by any generation_*_create tool."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"job"
],
"properties": {
"job": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"progress",
"content_direction"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"job_id": {
"type": "string"
},
"result": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"status": {
"enum": [
"queued",
"processing",
"complete",
"failed",
"canceled"
],
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"progress": {
"type": "number"
},
"recovery": {
"anyOf": [
{
"type": "object",
"required": [
"jobId",
"runId",
"failure",
"credits",
"history",
"alternatives",
"actions",
"reviewUrl"
],
"properties": {
"jobId": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"actions": {
"type": "array",
"items": {
"enum": [
"review_prompt",
"choose_model",
"request_review"
],
"type": "string"
}
},
"credits": {
"type": "object",
"required": [
"status",
"charged",
"refunded",
"net"
],
"properties": {
"net": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"not_charged",
"charged",
"refunded",
"pending",
"unknown"
],
"type": "string"
},
"charged": {
"type": [
"number",
"null"
]
},
"refunded": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"failure": {
"type": "object",
"required": [
"category",
"message",
"stage",
"retryable",
"model",
"provider"
],
"properties": {
"model": {
"type": [
"string",
"null"
]
},
"stage": {
"enum": [
"input",
"output",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"category": {
"enum": [
"trial_limit",
"copyright",
"content_policy",
"reference",
"invalid_input",
"temporary",
"unknown"
],
"type": "string"
},
"provider": {
"type": [
"string",
"null"
]
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"history": {
"type": "object",
"required": [
"originalRequest",
"authoredPrompt",
"submittedPrompt",
"enhancementApplied",
"previousJobId",
"previews",
"settings",
"references",
"providerRequests"
],
"properties": {
"previews": {
"type": "array",
"items": {
"type": "object",
"required": [
"before",
"after",
"approach",
"createdAt"
],
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"approach": {
"enum": [
"clarify",
"original_character"
],
"type": "string"
},
"createdAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"settings": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"previousJobId": {
"type": [
"string",
"null"
]
},
"authoredPrompt": {
"type": [
"string",
"null"
]
},
"originalRequest": {
"type": [
"string",
"null"
]
},
"submittedPrompt": {
"type": [
"string",
"null"
]
},
"providerRequests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"provider",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"provider": {
"type": "string"
}
},
"additionalProperties": false
}
},
"enhancementApplied": {
"type": "boolean"
}
},
"additionalProperties": false
},
"reviewUrl": {
"type": "string"
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"required": [
"model",
"label",
"segments",
"estimatedCredits",
"resolution",
"outputResolution",
"aspectRatio",
"generateAudio",
"requiresAssembly",
"acceptance"
],
"properties": {
"label": {
"type": "string"
},
"model": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "number"
}
},
"acceptance": {
"type": "string",
"const": "unverified"
},
"resolution": {
"type": [
"string",
"null"
]
},
"aspectRatio": {
"type": "string"
},
"generateAudio": {
"type": "boolean"
},
"estimatedCredits": {
"type": "number"
},
"outputResolution": {
"type": [
"string",
"null"
]
},
"requiresAssembly": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"created_at": {
"type": "string"
},
"project_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"type": [
"string",
"null"
]
},
"download_url": {
"type": [
"string",
"null"
]
},
"audio_recovery": {
"anyOf": [
{
"type": "object",
"required": [
"attempt",
"mode"
],
"properties": {
"mode": {
"type": "string",
"const": "saved_audio_only"
},
"attempt": {
"type": "integer",
"maximum": 16,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"content_direction": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"snapshot",
"status",
"current"
],
"properties": {
"status": {
"enum": [
"current",
"changed",
"unavailable",
"unrecorded"
],
"type": "string"
},
"current": {
"anyOf": [
{
"type": "object",
"required": [
"brandRevision",
"brandContentHash",
"seriesRevision",
"seriesContentHash"
],
"properties": {
"brandRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"seriesRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"brandContentHash": {
"type": "string"
},
"seriesContentHash": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"snapshot": {
"anyOf": [
{
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Request cancellation of the identified queued or running generation. Work already performed can consume credits; cancellation does not establish a refund.
| Parameter | Type | Description |
|---|---|---|
| jobId * | string | Job ID returned by any generation_*_create tool. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
{
"name": "generation_jobs_cancel",
"title": "Cancel Generation Job",
"description": "Request cancellation of the identified queued or running generation. Work already performed can consume credits; cancellation does not establish a refund.",
"inputSchema": {
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"description": "Job ID returned by any generation_*_create tool."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"job"
],
"properties": {
"job": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"progress",
"content_direction"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"job_id": {
"type": "string"
},
"result": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"status": {
"enum": [
"queued",
"processing",
"complete",
"failed",
"canceled"
],
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"progress": {
"type": "number"
},
"recovery": {
"anyOf": [
{
"type": "object",
"required": [
"jobId",
"runId",
"failure",
"credits",
"history",
"alternatives",
"actions",
"reviewUrl"
],
"properties": {
"jobId": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"actions": {
"type": "array",
"items": {
"enum": [
"review_prompt",
"choose_model",
"request_review"
],
"type": "string"
}
},
"credits": {
"type": "object",
"required": [
"status",
"charged",
"refunded",
"net"
],
"properties": {
"net": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"not_charged",
"charged",
"refunded",
"pending",
"unknown"
],
"type": "string"
},
"charged": {
"type": [
"number",
"null"
]
},
"refunded": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"failure": {
"type": "object",
"required": [
"category",
"message",
"stage",
"retryable",
"model",
"provider"
],
"properties": {
"model": {
"type": [
"string",
"null"
]
},
"stage": {
"enum": [
"input",
"output",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"category": {
"enum": [
"trial_limit",
"copyright",
"content_policy",
"reference",
"invalid_input",
"temporary",
"unknown"
],
"type": "string"
},
"provider": {
"type": [
"string",
"null"
]
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"history": {
"type": "object",
"required": [
"originalRequest",
"authoredPrompt",
"submittedPrompt",
"enhancementApplied",
"previousJobId",
"previews",
"settings",
"references",
"providerRequests"
],
"properties": {
"previews": {
"type": "array",
"items": {
"type": "object",
"required": [
"before",
"after",
"approach",
"createdAt"
],
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"approach": {
"enum": [
"clarify",
"original_character"
],
"type": "string"
},
"createdAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"settings": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"previousJobId": {
"type": [
"string",
"null"
]
},
"authoredPrompt": {
"type": [
"string",
"null"
]
},
"originalRequest": {
"type": [
"string",
"null"
]
},
"submittedPrompt": {
"type": [
"string",
"null"
]
},
"providerRequests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"provider",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"provider": {
"type": "string"
}
},
"additionalProperties": false
}
},
"enhancementApplied": {
"type": "boolean"
}
},
"additionalProperties": false
},
"reviewUrl": {
"type": "string"
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"required": [
"model",
"label",
"segments",
"estimatedCredits",
"resolution",
"outputResolution",
"aspectRatio",
"generateAudio",
"requiresAssembly",
"acceptance"
],
"properties": {
"label": {
"type": "string"
},
"model": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "number"
}
},
"acceptance": {
"type": "string",
"const": "unverified"
},
"resolution": {
"type": [
"string",
"null"
]
},
"aspectRatio": {
"type": "string"
},
"generateAudio": {
"type": "boolean"
},
"estimatedCredits": {
"type": "number"
},
"outputResolution": {
"type": [
"string",
"null"
]
},
"requiresAssembly": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"created_at": {
"type": "string"
},
"project_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"type": [
"string",
"null"
]
},
"download_url": {
"type": [
"string",
"null"
]
},
"audio_recovery": {
"anyOf": [
{
"type": "object",
"required": [
"attempt",
"mode"
],
"properties": {
"mode": {
"type": "string",
"const": "saved_audio_only"
},
"attempt": {
"type": "integer",
"maximum": 16,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"content_direction": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"snapshot",
"status",
"current"
],
"properties": {
"status": {
"enum": [
"current",
"changed",
"unavailable",
"unrecorded"
],
"type": "string"
},
"current": {
"anyOf": [
{
"type": "object",
"required": [
"brandRevision",
"brandContentHash",
"seriesRevision",
"seriesContentHash"
],
"properties": {
"brandRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"seriesRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"brandContentHash": {
"type": "string"
},
"seriesContentHash": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"snapshot": {
"anyOf": [
{
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read a generation brief from rawPrompt. Source-video edits return execution for generation_video_create with required assets and transformation controls. New scenes return an authoring grammar and planJsonSchema for generation_plan_validate. The video creation provenance.originalRequest field retains rawPrompt when supplied. This read does not generate media or spend credits.
| Parameter | Type | Description |
|---|---|---|
| genre | string | Genre pack id (e.g. pixar-culture-skit). The brief lists available ids in availableGenres; the pack's beats and visual contract override the generic grammar. |
| rawPrompt | string | Original request. Clone or character-replacement requests select a video transformation brief instead of a new-story plan. |
| aspectRatio | string | one of ["9:16","16:9","1:1"] |
| visualStyle | string | Visual style preset id; its locked style contract is included in the brief. |
| videoModelId | string | Target video model id (see generation_options_list, kind: video). Defaults to the strongest single-take model. |
| targetDurationSeconds | number | Desired final video duration in seconds. |
{
"name": "generation_plan_brief",
"title": "Get Generation Plan Brief",
"description": "Read a generation brief from rawPrompt. Source-video edits return execution for generation_video_create with required assets and transformation controls. New scenes return an authoring grammar and planJsonSchema for generation_plan_validate. The video creation provenance.originalRequest field retains rawPrompt when supplied. This read does not generate media or spend credits.",
"inputSchema": {
"type": "object",
"properties": {
"genre": {
"type": "string",
"description": "Genre pack id (e.g. pixar-culture-skit). The brief lists available ids in availableGenres; the pack's beats and visual contract override the generic grammar."
},
"rawPrompt": {
"type": "string",
"maxLength": 5000,
"description": "Original request. Clone or character-replacement requests select a video transformation brief instead of a new-story plan."
},
"aspectRatio": {
"enum": [
"9:16",
"16:9",
"1:1"
],
"type": "string",
"default": "9:16"
},
"visualStyle": {
"type": "string",
"description": "Visual style preset id; its locked style contract is included in the brief."
},
"videoModelId": {
"type": "string",
"description": "Target video model id (see generation_options_list, kind: video). Defaults to the strongest single-take model."
},
"targetDurationSeconds": {
"type": "number",
"default": 15,
"maximum": 300,
"minimum": 2,
"description": "Desired final video duration in seconds."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"brief"
],
"properties": {
"brief": {
"type": "object",
"required": [
"instructions",
"videoModelId",
"modelLabel",
"supportsNativeAudio",
"maxSingleTakeSeconds",
"allowedModes",
"targetDurationSeconds",
"aspectRatio",
"styleContract",
"grammar",
"planJsonSchema"
],
"properties": {
"grammar": {
"type": "string"
},
"execution": {
"type": [
"object",
"null"
],
"description": "Source-video operation, model and required assets; null for new-story plans."
},
"genrePack": {
"type": [
"string",
"null"
]
},
"modelLabel": {
"type": "string"
},
"aspectRatio": {
"type": "string"
},
"allowedModes": {
"type": "array",
"items": {
"type": "string"
}
},
"instructions": {
"type": "string"
},
"videoModelId": {
"type": "string"
},
"styleContract": {
"type": [
"string",
"null"
]
},
"planJsonSchema": {
"type": "object"
},
"availableGenres": {
"type": "array",
"items": {
"type": "string"
}
},
"supportsNativeAudio": {
"type": "boolean"
},
"maxSingleTakeSeconds": {
"type": "number"
},
"targetDurationSeconds": {
"type": "number"
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Validate a self-authored generation plan against the schema and the target model's real capabilities before execution. Returns directive errors to fix and revalidate; only a valid plan is executable.
| Parameter | Type | Description |
|---|---|---|
| plan * | object | The generation plan object authored from generation_plan_brief's planJsonSchema. |
{
"name": "generation_plan_validate",
"title": "Validate Generation Plan",
"description": "Validate a self-authored generation plan against the schema and the target model's real capabilities before execution. Returns directive errors to fix and revalidate; only a valid plan is executable.",
"inputSchema": {
"type": "object",
"required": [
"plan"
],
"properties": {
"plan": {
"type": "object",
"description": "The generation plan object authored from generation_plan_brief's planJsonSchema.",
"additionalProperties": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"valid",
"errors"
],
"properties": {
"valid": {
"type": "boolean"
},
"errors": {
"type": "array",
"items": {
"type": "string"
},
"description": "Empty when valid. Each entry states exactly what to change."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List bounded reusable characters with identity, voice, facts, and image-reference metadata.
| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number | |
| workspaceId | string | Optional workspace UUID. Defaults to the user's default workspace. UUID string. |
| includeArchived | boolean |
{
"name": "characters_list",
"title": "List Reusable Characters",
"description": "List bounded reusable characters with identity, voice, facts, and image-reference metadata.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
},
"includeArchived": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"characters",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"characters": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Inspect one reusable character and its ordered reference-image set before planning a story.
| Parameter | Type | Description |
|---|---|---|
| characterId * | string | |
| workspaceId | string | Optional workspace UUID. Defaults to the user's default workspace. UUID string. |
{
"name": "characters_get",
"title": "Get Reusable Character",
"description": "Inspect one reusable character and its ordered reference-image set before planning a story.",
"inputSchema": {
"type": "object",
"required": [
"characterId"
],
"properties": {
"characterId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"character"
],
"properties": {
"character": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create or update a reference-based character for repeatable faceless story generation.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| type | string | one of ["human","fictional","other"] |
| species | string | |
| storyFacts | array | |
| characterId | string | |
| workspaceId | string | Optional workspace UUID. Defaults to the user's default workspace. UUID string. |
| defaultVoiceId | string | |
| idempotencyKey * | string | |
| defaultVoiceStyle | string | |
| referenceAssetIds | array | |
| canonicalDescription | string | |
List bounded reusable Story Kits that bind characters, locations, style, facts, and narrator voice.
| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| offset | number | |
| workspaceId | string | Optional workspace UUID. Defaults to the user's default workspace. UUID string. |
{
"name": "story_kits_list",
"title": "List Story Kits",
"description": "List bounded reusable Story Kits that bind characters, locations, style, facts, and narrator voice.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"storyKits",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"storyKits": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Inspect one Story Kit and its revision before generating or updating a story.
| Parameter | Type | Description |
|---|---|---|
| storyKitId * | string | |
| workspaceId | string | Optional workspace UUID. Defaults to the user's default workspace. UUID string. |
{
"name": "story_kits_get",
"title": "Get Story Kit",
"description": "Inspect one Story Kit and its revision before generating or updating a story.",
"inputSchema": {
"type": "object",
"required": [
"storyKitId"
],
"properties": {
"storyKitId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"storyKit"
],
"properties": {
"storyKit": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create or update a Story Kit with optimistic concurrency and an idempotent mutation receipt.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Stable Story Kit name. |
| facts | array | |
| locations | array | |
| storyKitId | string | |
| description | string | |
| visualStyle * | string | Canonical visual-style contract. |
| workspaceId | string | Optional workspace UUID. Defaults to the user's default workspace. UUID string. |
| characterIds | array | |
| idempotencyKey * | string | |
| expectedRevision | number | |
| narratorCharacterId | string |
List optional Series with bounded counts and cover previews.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| workspaceId * | any |
{
"name": "series_list",
"title": "List Series",
"description": "List optional Series with bounded counts and cover previews.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit",
"offset",
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"bounds"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"id",
"revision",
"createdAt",
"updatedAt",
"coverUrl",
"projectCount",
"sourceCount"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"coverUrl": {
"type": [
"string",
"null"
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"sourceCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"projectCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
}
},
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a Series identity, creative defaults and revision.
| Parameter | Type | Description |
|---|---|---|
| seriesId * | string | |
| workspaceId * | any |
{
"name": "series_get",
"title": "Get Series",
"description": "Read a Series identity, creative defaults and revision.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"seriesId"
],
"properties": {
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"series"
],
"properties": {
"series": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"id",
"revision",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List sources or projects in a Series. Null seriesId lists standalone content. sourceId filters projects by clip origin.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | one of ["project","source"] |
| limit * | integer | |
| offset * | integer | |
| search * | string | |
| seriesId * | any | |
| sourceId * | any | |
| workspaceId * | any |
{
"name": "series_content",
"title": "List Series Content",
"description": "List sources or projects in a Series. Null seriesId lists standalone content. sourceId filters projects by clip origin.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit",
"offset",
"seriesId",
"kind",
"sourceId",
"search",
"workspaceId"
],
"properties": {
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"search": {
"type": "string",
"default": "",
"maxLength": 120
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"bounds"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"name",
"seriesId",
"sourceId",
"thumbnailUrl",
"durationSeconds"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
},
"durationSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create or replace a Growth+ Series identity and defaults. defaultCreationMode selects podcast branding or faceless Story Kit defaults; membership stays mixed. Updates require expectedRevision. Existing content keeps its settings.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| seriesId * | any | |
| storyKitId * | any | |
| description * | any | |
| logoAssetId * | any | |
| workspaceId * | any | |
| coverAssetId * | any | |
| captionThemeId * | any | |
| idempotencyKey * | string | |
| expectedRevision * |
Assign, move or detach one source or project using expectedSeriesId. Moving a source does not move existing clips or change branding.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | one of ["project","source"] |
| seriesId * | any | |
| contentId * | string | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedSeriesId * | any |
{
"name": "series_assign",
"title": "Assign Series Content",
"description": "Assign, move or detach one source or project using expectedSeriesId. Moving a source does not move existing clips or change branding.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"kind",
"contentId",
"seriesId",
"expectedSeriesId",
"workspaceId",
"idempotencyKey"
],
"properties": {
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedSeriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"kind",
"seriesId",
"previousSeriesId",
"changed",
"mutationReceipt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"changed": {
"type": "boolean"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"previousSeriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Delete the Series container at an expected revision and detach its content. Sources, projects and exports are preserved.
| Parameter | Type | Description |
|---|---|---|
| seriesId * | string | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | integer |
{
"name": "series_delete",
"title": "Delete Series",
"description": "Delete the Series container at an expected revision and detach its content. Sources, projects and exports are preserved.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"expectedRevision",
"workspaceId",
"idempotencyKey"
],
"properties": {
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"detachedProjects",
"detachedSources",
"contentPreserved",
"mutationReceipt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"detachedSources": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"contentPreserved": {
"type": "boolean",
"const": true
},
"detachedProjects": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read observed link clicks and self-reported outcomes in a bounded window up to 90 days. Counts are not verified conversions. Provider engagement remains separate.
| Parameter | Type | Description |
|---|---|---|
| to * | string | |
| from * | string | |
| limit * | integer | |
| offset * | integer | |
| workspaceId * | any |
{
"name": "customer_measurements_list",
"title": "Read customer outcomes",
"description": "Read observed link clicks and self-reported outcomes in a bounded window up to 90 days. Counts are not verified conversions. Provider engagement remains separate.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from",
"to",
"limit",
"offset",
"workspaceId"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 10000,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"links",
"outcomes",
"linkBounds",
"outcomeBounds",
"window",
"clickSemantics",
"outcomeSemantics",
"retentionDays"
],
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"label",
"destination",
"enabled",
"revision",
"url",
"createdAt",
"clicks",
"capped"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"capped": {
"type": "boolean"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"destination": {
"type": "string",
"format": "uri",
"maxLength": 2048
}
},
"additionalProperties": false
}
},
"window": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"additionalProperties": false
},
"outcomes": {
"type": "array",
"items": {
"type": "object",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"kind",
"value",
"unit",
"occurredAt",
"source",
"attribution",
"voided",
"revision",
"authorId",
"recordedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"leads",
"sales",
"revenue",
"other"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.000001
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"voided": {
"type": "boolean"
},
"authorId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"recordedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"attribution": {
"enum": [
"unknown",
"self_reported"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"linkBounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outcomeBounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"retentionDays": {
"type": "number",
"const": 90
},
"clickSemantics": {
"type": "string",
"const": "observed_clicks_deduplicated_per_link_per_utc_day"
},
"outcomeSemantics": {
"type": "string",
"const": "self_reported_not_verified_conversions"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a stable HTTPS tracking link or revise its label/enabled state. Destination and content association are immutable. Revisions require expectedRevision; null creates.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| label * | string | |
| postId * | any | |
| enabled * | boolean | |
| seriesId * | any | |
| projectId * | any | |
| destination * | string | |
| workspaceId * | any | |
| idempotencyKey * | string | |
| expectedRevision * | any |
Record or revise leads, sales, revenue or another measured outcome with source, time and explicit attribution. Revision history is retained; voided records remain visible. No conversion is inferred from clicks.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| kind * | string | one of ["leads","sales","revenue","other"] |
| unit * | string | |
| value * | number | |
| postId * | any | |
| source * | string | |
| voided * | boolean | |
| seriesId * | any | |
| projectId * | any | |
| occurredAt * | string |
Read bounded Series feedback, metrics, clicks and self-reported outcomes with current owner direction and a cost quote. No model call. Missing or incomparable evidence remains explicit.
| Parameter | Type | Description |
|---|---|---|
| to * | string | |
| from * | string | |
| goal * | string | one of ["reach","engagement","traffic","leads","sales","revenue"] |
| language * | string | one of ["en","fr"] |
| seriesId * | string | |
| workspaceId * | any | |
| maxVariations * | integer |
{
"name": "learning_quote",
"title": "Inspect learning evidence",
"description": "Read bounded Series feedback, metrics, clicks and self-reported outcomes with current owner direction and a cost quote. No model call. Missing or incomparable evidence remains explicit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language",
"workspaceId"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"evidence",
"quoteId",
"maximumUsd",
"credits",
"expiresAt"
],
"properties": {
"credits": {
"type": "number",
"minimum": 0
},
"quoteId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"maximumUsd": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Start one bounded model call from a reviewed learning quote and approved credits/USD cap. Saves cited lessons and up to five experimental briefs in the shared brain. Idempotent; never publishes or promises performance.
| Parameter | Type | Description |
|---|---|---|
| to * | string | |
| from * | string | |
| goal * | string | one of ["reach","engagement","traffic","leads","sales","revenue"] |
| maxUsd * | number | |
| quoteId * | string | |
| language * | string | one of ["en","fr"] |
| seriesId * | string | |
| maxCredits * | number | |
| workspaceId * | any | |
| maxVariations |
Read frozen evidence, exact creative lineage, progress and saved lessons for a workspace learning job. Current owner direction overrides saved suggestions.
| Parameter | Type | Description |
|---|---|---|
| jobId * | string | |
| workspaceId * | any |
{
"name": "learning_get",
"title": "Read learning job",
"description": "Read frozen evidence, exact creative lineage, progress and saved lessons for a workspace learning job. Current owner direction overrides saved suggestions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId",
"workspaceId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"evidence",
"documents",
"proposal",
"error",
"direction",
"runId",
"canResume"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"error": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"generating",
"saving",
"complete",
"unknown",
"cancelled",
"failed"
],
"type": "string"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"proposal": {
"anyOf": [
{
"type": "object",
"required": [
"lesson",
"evidenceIds",
"limitations",
"variations"
],
"properties": {
"lesson": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"variations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"axis",
"observationId",
"hypothesis",
"brief",
"measure"
],
"properties": {
"axis": {
"enum": [
"hook",
"format",
"pacing",
"cta",
"topic",
"visual"
],
"type": "string"
},
"brief": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"measure": {
"type": "string",
"maxLength": 700,
"minLength": 1
},
"hypothesis": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"observationId": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"maxItems": 5
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 12,
"minItems": 1
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 8,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"canResume": {
"type": "boolean"
},
"direction": {
"enum": [
"current",
"changed",
"unavailable"
],
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 6
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Cancel a queued or running analysis, recover an unconfirmed dispatch by its existing identity, or deliver a retained result. Resume never repeats an uncertain model call and rejects changed owner direction.
| Parameter | Type | Description |
|---|---|---|
| jobId * | string | |
| action * | string | one of ["resume","cancel"] |
| workspaceId * | any |
{
"name": "learning_control",
"title": "Control learning job",
"description": "Cancel a queued or running analysis, recover an unconfirmed dispatch by its existing identity, or deliver a retained result. Resume never repeats an uncertain model call and rejects changed owner direction.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId",
"action",
"workspaceId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"action": {
"enum": [
"resume",
"cancel"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"evidence",
"documents",
"proposal",
"error",
"direction",
"runId",
"canResume"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"error": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"generating",
"saving",
"complete",
"unknown",
"cancelled",
"failed"
],
"type": "string"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"proposal": {
"anyOf": [
{
"type": "object",
"required": [
"lesson",
"evidenceIds",
"limitations",
"variations"
],
"properties": {
"lesson": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"variations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"axis",
"observationId",
"hypothesis",
"brief",
"measure"
],
"properties": {
"axis": {
"enum": [
"hook",
"format",
"pacing",
"cta",
"topic",
"visual"
],
"type": "string"
},
"brief": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"measure": {
"type": "string",
"maxLength": 700,
"minLength": 1
},
"hypothesis": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"observationId": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"maxItems": 5
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 12,
"minItems": 1
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 8,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"canResume": {
"type": "boolean"
},
"direction": {
"enum": [
"current",
"changed",
"unavailable"
],
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 6
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read a carousel board: revision, caption, pending AI images and a summary of every slide with its elements in paint order (ID, type, parent, text, image source, box in slide pixels, font, color, hidden, locked), plus the brand theme and saved themes. carousels_board_edit targets these IDs and theme ids. view full adds the board composition (editor element model; colors may be brand tokens like var(--br-accent); media sources are asset:<id>, brand:logo or bundled paths). slideIds limits the summary to those slides.
| Parameter | Type | Description |
|---|---|---|
| view * | string | one of ["summary","full"] |
| slideIds * | any | Only these slides in the summary; null returns every slide |
| projectId * | string | UUID string. |
| workspaceId | any |
{
"name": "carousels_board_get",
"title": "Get Carousel Board",
"description": "Read a carousel board: revision, caption, pending AI images and a summary of every slide with its elements in paint order (ID, type, parent, text, image source, box in slide pixels, font, color, hidden, locked), plus the brand theme and saved themes. carousels_board_edit targets these IDs and theme ids. view full adds the board composition (editor element model; colors may be brand tokens like var(--br-accent); media sources are asset:<id>, brand:logo or bundled paths). slideIds limits the summary to those slides.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"view",
"slideIds"
],
"properties": {
"view": {
"enum": [
"summary",
"full"
],
"type": "string",
"default": "summary"
},
"slideIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 30
},
{
"type": "null"
}
],
"default": null,
"description": "Only these slides in the summary; null returns every slide"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List carousel slide templates: id, family, label and slots (key, kind text or image, sample). carousels_board_edit insertTemplateSlide takes a template id and slot values.
| Parameter | Type | Description |
|---|---|---|
| workspaceId | any |
{
"name": "carousels_board_templates",
"title": "List Carousel Board Templates",
"description": "List carousel slide templates: id, family, label and slots (key, kind text or image, sample). carousels_board_edit insertTemplateSlide takes a template id and slot values.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Apply ordered operations to a carousel board by slide and element ID: add a slide from a template with its text and photos, change text and style, insert, duplicate, move or remove slides, set the theme, apply the brand or a saved theme, hide or lock an element. Operations apply to the latest board unless expectedRevision is set; dryRun saves nothing. Returns the base and new revision, affected IDs, slide order and a summary of each changed slide; errors name the failing operation. Identical idempotency keys replay.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | Apply to the latest board without saving and return the would-be result. |
| projectId * | string | UUID string. |
| operations * | array | |
| workspaceId | string | UUID string. |
| idempotencyKey * | string | |
| expectedRevision | integer | Null (default) applies the operations to the latest board. A revision rejects the edit with a conflict when the board has moved. |
{
"name": "carousels_board_edit",
"title": "Edit Carousel Board",
"description": "Apply ordered operations to a carousel board by slide and element ID: add a slide from a template with its text and photos, change text and style, insert, duplicate, move or remove slides, set the theme, apply the brand or a saved theme, hide or lock an element. Operations apply to the latest board unless expectedRevision is set; dryRun saves nothing. Returns the base and new revision, affected IDs, slide order and a summary of each changed slide; errors name the failing operation. Identical idempotency keys replay.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"operations"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "Apply to the latest board without saving and return the would-be result."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"operations": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"insertTemplateSlide",
"applyTheme",
"edit",
"insertSlide",
"duplicateSlide",
"moveSlide",
"removeSlide",
"setTheme",
"setLayer",
"layoutSlides",
"showPart",
"placeImages"
],
"type": "string"
}
},
"description": "Applied in order. Every operation is a flat object with its kind, e.g. {\"kind\":\"edit\",\"edit\":{\"changes\":[{\"elementId\":\"slide-1-headline\",\"content\":\"New hook\"}]}} or {\"kind\":\"layoutSlides\",\"slideIds\":null,\"align\":\"center\"}. insertTemplateSlide {templateId, values: {slotKey: text or asset:<id>}, index (null appends), slideId (null picks slide-N)}; applyTheme {themeId: 'brand' or a saved theme id from carousels_board_get}; edit {edit: {changes: [{elementId, content (text), runs (text), src (image: asset:<id>), style}], structure}} where style values of null remove an override; swap a photo with src on its image element, never by rebuilding the slide; insertSlide {index, slide: group element}; duplicateSlide {slideId, idSuffix}; moveSlide {slideId, index}; removeSlide {slideId}; setTheme {theme}; setLayer {elementId, hidden and/or locked (an omitted flag keeps its state)}; layoutSlides {slideIds (null = every slide), align: left|center|right, textScale: e.g. 1.1} aligns text blocks and scales text on any slide; placeImages {slideId, images: [{src: asset:<id>, name}], area: top|center|bottom|top-left|top-right|bottom-left|bottom-right, height (null fits)} lines up images or logos on a slide; showPart {part: logo|swipe|texture, visible, slideIds (null = every slide)}.",
"additionalProperties": true
},
"maxItems": 200,
"minItems": 1
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Null (default) applies the operations to the latest board. A revision rejects the edit with a conflict when the board has moved."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Write and design a full carousel from a prompt into the project board: hook, body slides, ending call to action and a post caption, styled with the brand kit or a preset style, with optional AI photos (photos finish in the background; pendingAssetIds lists them). Replaces the current board and renames the project. Uses AI and image credits; a retry with the same idempotency key and input replays the first result without generating or charging again.
| Parameter | Type | Description |
|---|---|---|
| goal * | string | one of ["grow","convert","both"] |
| style * | any | Ready-made look; null keeps the carousel's current look. |
| places * | array | Saved places to set the photos in (a Story Kit location); their reference photo keeps the same room. Empty lets the prompt decide. |
| prompt * | string | |
| projectId * | string | UUID string. |
| sourceUrl * | any | A public web page the carousel is about (full URL or domain); its text grounds the slides. Null reads a web address written in the prompt, if any. |
| slideCount * | any | Total slides including cover and call to action; null lets the prompt decide. |
Recommend six carousel ideas from the workspace brand brief, each with a cover hook, angle, goal (grow, convert or both), archetype and why it should perform. Pass one to carousels_board_generate as its prompt.
| Parameter | Type | Description |
|---|---|---|
| workspaceId | any |
{
"name": "carousels_board_ideas",
"title": "Recommend Carousel Ideas",
"description": "Recommend six carousel ideas from the workspace brand brief, each with a cover hook, angle, goal (grow, convert or both), archetype and why it should perform. Pass one to carousels_board_generate as its prompt.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Start one AI photo shaped for the board (slide or square) and return its asset:<id> source. The image finishes in the background; place it with carousels_board_edit right away, it appears once ready. Uses image credits.
| Parameter | Type | Description |
|---|---|---|
| shape * | string | one of ["slide","square"] |
| prompt * | string | |
| projectId * | string | UUID string. |
| workspaceId | any |
{
"name": "carousels_board_image",
"title": "Generate Carousel Photo",
"description": "Start one AI photo shaped for the board (slide or square) and return its asset:<id> source. The image finishes in the background; place it with carousels_board_edit right away, it appears once ready. Uses image credits.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"prompt",
"shape"
],
"properties": {
"shape": {
"enum": [
"slide",
"square"
],
"type": "string"
},
"prompt": {
"type": "string",
"maxLength": 600,
"minLength": 3
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}List saved versions of a carousel board, newest first (revision, source: baseline, editor, agent, api, generation or restore; author, merged change count, slide count), or with versionId read one version as a board summary. Saves by the same author and source within three minutes share one version; the newest 50 are kept.
| Parameter | Type | Description |
|---|---|---|
| view * | string | one of ["summary","full"] |
| limit * | integer | |
| projectId * | string | UUID string. |
| versionId * | any | |
| workspaceId | any |
{
"name": "carousels_board_versions",
"title": "List Carousel Board Versions",
"description": "List saved versions of a carousel board, newest first (revision, source: baseline, editor, agent, api, generation or restore; author, merged change count, slide count), or with versionId read one version as a board summary. Saves by the same author and source within three minutes share one version; the newest 50 are kept.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"versionId",
"view",
"limit"
],
"properties": {
"view": {
"enum": [
"summary",
"full"
],
"type": "string",
"default": "summary"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"versionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Replace a carousel board with a saved version from carousels_board_versions as a new revision; every version stays in the history, so a restore can itself be undone by restoring another. Replaces the latest board unless expectedRevision is set. Identical idempotency keys replay.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| versionId * | string | |
| workspaceId | any | |
| idempotencyKey * | string | |
| expectedRevision * | any |
{
"name": "carousels_board_version_restore",
"title": "Restore Carousel Board Version",
"description": "Replace a carousel board with a saved version from carousels_board_versions as a new revision; every version stays in the history, so a restore can itself be undone by restoring another. Replaces the latest board unless expectedRevision is set. Identical idempotency keys replay.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId",
"versionId",
"expectedRevision"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Create or replace a carousel project from a slide document. Server owns chip layout, safezones, and exact export pixels.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| style | object | |
| locale | string | |
| slides * | array | |
| platform * | string | one of ["tiktok_photo","instagram_4x5","linkedin"] |
| series_id | string | |
| project_id | string | |
| workspaceId | any | |
| clear_existing | boolean | |
| idempotencyKey * | string |
Render and store private JPEG previews for the selected carousel slides. Replaces cached previews at deterministic storage keys; preserves the source project and slide document.
| Parameter | Type | Description |
|---|---|---|
| chrome * | string | one of ["tiktok","instagram","none"] |
| projectId * | string | UUID string. |
| workspaceId | any | |
| slideIndexes | array | |
| idempotencyKey * | any |
{
"name": "carousels_preview",
"title": "Preview Carousel",
"description": "Render and store private JPEG previews for the selected carousel slides. Replaces cached previews at deterministic storage keys; preserves the source project and slide document.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId",
"chrome"
],
"properties": {
"chrome": {
"enum": [
"tiktok",
"instagram",
"none"
],
"type": "string",
"default": "none"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"slideIndexes": {
"type": "array",
"items": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"maxItems": 35
},
"idempotencyKey": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"minLength": 8
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"platform",
"frame",
"slides",
"warnings",
"next_actions"
],
"properties": {
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"preview_url",
"width",
"height",
"expires_at"
],
"properties": {
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"print": {
"enum": [
"slots",
"ingested",
"board"
],
"type": "string"
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"expires_at": {
"type": "string"
},
"preview_url": {
"type": "string"
}
},
"additionalProperties": false
}
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read the carousel slot document and the named template catalog.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| workspaceId | any |
{
"name": "carousels_get",
"title": "Get Carousel Document",
"description": "Read the carousel slot document and the named template catalog.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Patch native slots/media or select a completed Remotion frame artifact and crop. Requires expectedRevision; identical keys replay.
| Parameter | Type | Description |
|---|---|---|
| crop | any | |
| lines | array | |
| slots | object | |
| projectId * | string | UUID string. |
| slideIndex * | integer | |
| templateId | string | |
| workspaceId | any | |
| mediaAssetId | string | |
| idempotencyKey * | string | |
| expectedRevision * | integer | |
| creativeArtifactId | string |
Turn a named recipe or a brief into compile-ready named-template slides. Expand never publishes and never invents metrics.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| brief | string | |
| offer | string | |
| locale | string | |
| product | string | |
| audience | string | |
| platform | string | one of ["tiktok_photo","instagram_4x5","linkedin"] |
| recipeId * | string | one of ["curiosity_gap_ugc_7","result_first_demo_6","myth_guillotine_8","before_after_5","from_brief"] |
| workspaceId | any |
{
"name": "carousels_expand_recipe",
"title": "Expand Carousel Recipe",
"description": "Turn a named recipe or a brief into compile-ready named-template slides. Expand never publishes and never invents metrics.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipeId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"brief": {
"type": "string",
"maxLength": 8000,
"minLength": 1
},
"offer": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 12,
"minLength": 2
},
"product": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"audience": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"recipeId": {
"enum": [
"curiosity_gap_ugc_7",
"result_first_demo_6",
"myth_guillotine_8",
"before_after_5",
"from_brief"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"name",
"platform",
"slides"
],
"properties": {
"name": {
"type": "string"
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"lines",
"visual"
],
"properties": {
"role": {
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 6
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"layout_overrides": {
"type": "object",
"properties": {
"top_px": {
"type": "integer",
"maximum": 1920,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"recipe_id": {
"enum": [
"curiosity_gap_ugc_7",
"result_first_demo_6",
"myth_guillotine_8",
"before_after_5",
"from_brief"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Rebuild a compile slot document from a legacy overlay carousel. Then patch slots like any compiled deck.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_migrate",
"title": "Migrate Legacy Carousel",
"description": "Rebuild a compile slot document from a legacy overlay carousel. Then patch slots like any compiled deck.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Duplicate a carousel onto a new project. Copies slots. Icon and shot values may be pack filenames or asset:<media_asset_id>.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_clone",
"title": "Clone Carousel",
"description": "Duplicate a carousel onto a new project. Copies slots. Icon and shot values may be pack filenames or asset:<media_asset_id>.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List Instagram accounts connected through the BlitzReels UI for the authenticated workspace, including their connection status.
No parameters.
{
"name": "publishing_connections_list",
"title": "List Publishing Connections",
"description": "List Instagram accounts connected through the BlitzReels UI for the authenticated workspace, including their connection status.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"connections",
"count"
],
"properties": {
"count": {
"type": "number"
},
"connections": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Schedule a completed project export to Instagram. Optional includeAffiliateCta appends Try BlitzReels for free plus the Affonso tracking URL. Requires an active Instagram account connected in the BlitzReels UI.
| Parameter | Type | Description |
|---|---|---|
| caption | string | Caption text (max 2200). |
| exportId | string | Completed export UUID. Defaults to latest completed. UUID string. |
| timezone | string | IANA timezone. Defaults to UTC. |
| projectId * | string | Project UUID. UUID string. |
| trialReel | boolean | Publish as Trial Reel (video only). |
| shareToFeed | boolean | Also share Reel to profile feed. |
| connectionId | string | Instagram connection UUID when multiple exist. |
| scheduledFor * | string | ISO-8601 datetime for the scheduled publish. |
| affiliateCtaText | string | Optional CTA text override (max 80). |
| includeAffiliateCta |
Read the supported accounts available through the existing workspace and provider access rules. Does not connect new accounts, publish, schedule or bypass provider review.
| Parameter | Type | Description |
|---|---|---|
| limit * | integer | |
| offset * | integer | |
| workspaceId * | any |
{
"name": "publishing_accounts_list",
"title": "Read Connected Publishing Accounts",
"description": "Read the supported accounts available through the existing workspace and provider access rules. Does not connect new accounts, publish, schedule or bypass provider review.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Schedule a selected existing video asset to explicit active YouTube, Instagram, Facebook, TikTok, LinkedIn or Threads accounts connected in the BlitzReels UI, using reviewed copy, privacy/consent choices, synthetic-media disclosure, time and timezone. Requires confirmPublish=true. Existing workspace permissions and provider access rules apply. A scheduled receipt is not proof of publication.
| Parameter | Type | Description |
|---|---|---|
| caption | any | |
| targets * | array | |
| timezone | any | |
| workspaceId * | any | |
| scheduled_for * | string | |
| confirmPublish * | boolean | |
| idempotencyKey * | string | |
| media_asset_id * | string | |
| affiliate_cta_text | any |
Read the current targets for one publishing receipt with scheduled/published state and verified remote URLs. Does not retry or publish a failed target.
| Parameter | Type | Description |
|---|---|---|
| postId * | string | |
| workspaceId * | any |
{
"name": "publishing_post_get",
"title": "Verify Video Publication",
"description": "Read the current targets for one publishing receipt with scheduled/published state and verified remote URLs. Does not retry or publish a failed target.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"postId"
],
"properties": {
"postId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Preview trimming or extending one timeline item without changing the project.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| snapToFrame * | boolean | |
| timelineItemId * | string | |
| expectedRevision * | ["integer","null"] | Expected sequence revision, or null. |
| trimEndDeltaSeconds * | number | |
| trimStartDeltaSeconds * | number |
{
"name": "timeline_trim_preview",
"title": "Preview Timeline Trim",
"description": "Preview trimming or extending one timeline item without changing the project.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"expectedRevision",
"timelineItemId",
"trimStartDeltaSeconds",
"trimEndDeltaSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"trimEndDeltaSeconds": {
"type": "number"
},
"trimStartDeltaSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"plan"
],
"properties": {
"plan": {
"type": "object",
"required": [
"operation_id",
"project_id",
"current_revision",
"expected_revision",
"destructive",
"affected_timeline_item_ids",
"would_create_timeline_item_ids",
"would_delete_timeline_item_ids",
"change_count",
"warnings"
],
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"destructive": {
"type": "boolean"
},
"change_count": {
"type": "number",
"minimum": 0
},
"operation_id": {
"enum": [
"timeline.item.trim",
"timeline.item.split"
],
"type": "string"
},
"current_revision": {
"type": "number",
"minimum": 0
},
"expected_revision": {
"type": [
"number",
"null"
],
"minimum": 0
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_create_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_delete_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Trim or extend one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| snapToFrame * | boolean | |
| idempotencyKey * | string | |
| timelineItemId * | string | |
| expectedRevision * | ["integer","null"] | Expected sequence revision, or null. |
| trimEndDeltaSeconds * | number | |
| trimStartDeltaSeconds * | number |
{
"name": "timeline_trim_apply",
"title": "Apply Timeline Trim",
"description": "Trim or extend one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"expectedRevision",
"idempotencyKey",
"timelineItemId",
"trimStartDeltaSeconds",
"trimEndDeltaSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"trimEndDeltaSeconds": {
"type": "number"
},
"trimStartDeltaSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"result",
"mutationReceipt"
],
"properties": {
"result": {
"oneOf": [
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"timeline_item_id",
"trim_start_units",
"trim_end_units",
"trim_start_seconds",
"trim_end_seconds",
"message"
],
"properties": {
"message": {
"type": "string"
},
"trim_end_units": {
"type": "string"
},
"timeline_item_id": {
"type": "string",
"format": "uuid"
},
"trim_end_seconds": {
"type": "number"
},
"trim_start_units": {
"type": "string"
},
"trim_start_seconds": {
"type": "number"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.trim"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"left_timeline_item_id",
"right_timeline_item_id",
"split_at_units",
"split_at_seconds"
],
"properties": {
"split_at_units": {
"type": "string"
},
"split_at_seconds": {
"type": "number"
},
"left_timeline_item_id": {
"type": "string",
"format": "uuid"
},
"right_timeline_item_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.split"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Preview splitting one timeline item without changing the project.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| snapToFrame * | boolean | |
| splitAtSeconds * | number | |
| timelineItemId * | string | |
| expectedRevision * | ["integer","null"] | Expected sequence revision, or null. |
{
"name": "timeline_split_preview",
"title": "Preview Timeline Split",
"description": "Preview splitting one timeline item without changing the project.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"expectedRevision",
"timelineItemId",
"splitAtSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"splitAtSeconds": {
"type": "number",
"minimum": 0
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"plan"
],
"properties": {
"plan": {
"type": "object",
"required": [
"operation_id",
"project_id",
"current_revision",
"expected_revision",
"destructive",
"affected_timeline_item_ids",
"would_create_timeline_item_ids",
"would_delete_timeline_item_ids",
"change_count",
"warnings"
],
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"destructive": {
"type": "boolean"
},
"change_count": {
"type": "number",
"minimum": 0
},
"operation_id": {
"enum": [
"timeline.item.trim",
"timeline.item.split"
],
"type": "string"
},
"current_revision": {
"type": "number",
"minimum": 0
},
"expected_revision": {
"type": [
"number",
"null"
],
"minimum": 0
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_create_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_delete_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Split one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| snapToFrame * | boolean | |
| idempotencyKey * | string | |
| splitAtSeconds * | number | |
| timelineItemId * | string | |
| expectedRevision * | ["integer","null"] | Expected sequence revision, or null. |
{
"name": "timeline_split_apply",
"title": "Apply Timeline Split",
"description": "Split one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"expectedRevision",
"idempotencyKey",
"timelineItemId",
"splitAtSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"splitAtSeconds": {
"type": "number",
"minimum": 0
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"result",
"mutationReceipt"
],
"properties": {
"result": {
"oneOf": [
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"timeline_item_id",
"trim_start_units",
"trim_end_units",
"trim_start_seconds",
"trim_end_seconds",
"message"
],
"properties": {
"message": {
"type": "string"
},
"trim_end_units": {
"type": "string"
},
"timeline_item_id": {
"type": "string",
"format": "uuid"
},
"trim_end_seconds": {
"type": "number"
},
"trim_start_units": {
"type": "string"
},
"trim_start_seconds": {
"type": "number"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.trim"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"left_timeline_item_id",
"right_timeline_item_id",
"split_at_units",
"split_at_seconds"
],
"properties": {
"split_at_units": {
"type": "string"
},
"split_at_seconds": {
"type": "number"
},
"left_timeline_item_id": {
"type": "string",
"format": "uuid"
},
"right_timeline_item_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.split"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Move one carousel slide to a new index. Replaces the existing slide order.
| Parameter | Type | Description |
|---|---|---|
| to * | integer | |
| from * | integer | |
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_slides_reorder",
"title": "Carousel Slides reorder",
"description": "Move one carousel slide to a new index. Replaces the existing slide order.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"from",
"to"
],
"properties": {
"to": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"from": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove one carousel slide and its content from the project.
| Parameter | Type | Description |
|---|---|---|
| index * | integer | |
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_slides_remove",
"title": "Carousel Slides remove",
"description": "Remove one carousel slide and its content from the project.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"index"
],
"properties": {
"index": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Insert one new carousel slide from a named template or copy an existing slide. Preserves existing slide content.
| Parameter | Type | Description |
|---|---|---|
| index * | integer | |
| projectId * | string | UUID string. |
| templateId | string | |
| sourceIndex | integer | |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_slides_insert",
"title": "Carousel Slides insert",
"description": "Insert one new carousel slide from a named template or copy an existing slide. Preserves existing slide content.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"index"
],
"properties": {
"index": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"templateId": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"sourceIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Restore the previous carousel document revision, replacing the current slide document.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_slides_undo",
"title": "Carousel Slides undo",
"description": "Restore the previous carousel document revision, replacing the current slide document.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Save and activate the current carousel styling as a private theme; removes the oldest saved theme when the 40-theme limit is reached.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| scope | string | one of ["project","brand"] |
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_save_theme",
"title": "Carousel save theme",
"description": "Save and activate the current carousel styling as a private theme; removes the oldest saved theme when the 40-theme limit is reached.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Replace this carousel's styling with an existing saved theme.
| Parameter | Type | Description |
|---|---|---|
| themeId * | string | |
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_apply_theme",
"title": "Carousel apply theme",
"description": "Replace this carousel's styling with an existing saved theme.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"themeId"
],
"properties": {
"themeId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Delete one saved private carousel theme.
| Parameter | Type | Description |
|---|---|---|
| themeId * | string | |
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_delete_theme",
"title": "Carousel delete theme",
"description": "Delete one saved private carousel theme.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"themeId"
],
"properties": {
"themeId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Save one carousel slide as a private template; removes the oldest saved template when the 40-template limit is reached.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| scope | string | one of ["project","brand"] |
| projectId * | string | UUID string. |
| slideIndex * | integer | |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_save_template",
"title": "Carousel save template",
"description": "Save one carousel slide as a private template; removes the oldest saved template when the 40-template limit is reached.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"name",
"slideIndex"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"slideIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Replace one carousel slide with a saved private template.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| slideIndex * | integer | |
| workspaceId | any | |
| idempotencyKey * | string | |
| savedTemplateId * | string |
{
"name": "carousels_apply_template",
"title": "Carousel apply template",
"description": "Replace one carousel slide with a saved private template.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"savedTemplateId",
"slideIndex"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"slideIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"savedTemplateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Delete one saved private carousel slide template.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string | |
| savedTemplateId * | string |
{
"name": "carousels_delete_template",
"title": "Carousel delete template",
"description": "Delete one saved private carousel slide template.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"savedTemplateId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"savedTemplateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Replace this carousel's styling with the workspace's saved brand theme.
| Parameter | Type | Description |
|---|---|---|
| projectId * | string | UUID string. |
| workspaceId | any | |
| idempotencyKey * | string |
{
"name": "carousels_apply_brand",
"title": "Carousel apply brand",
"description": "Replace this carousel's styling with the workspace's saved brand theme.",
"inputSchema": {
"type": "object",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Make one completed export the accepted delivery for a clip after explicit visual-QA confirmation. Replaces the delivery pointer and preserves earlier exports.
| Parameter | Type | Description |
|---|---|---|
| clipId * | string | |
| exportId * | string | |
| workspaceId | string | UUID string. |
| idempotencyKey * | string | |
| confirmVisualQa * | boolean |
{
"name": "clips_delivery_promote",
"title": "Promote Reviewed Clip Export",
"description": "Make one completed export the accepted delivery for a clip after explicit visual-QA confirmation. Replaces the delivery pointer and preserves earlier exports.",
"inputSchema": {
"type": "object",
"required": [
"clipId",
"exportId",
"confirmVisualQa",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": "string",
"minLength": 1
},
"exportId": {
"type": "string",
"minLength": 1
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"maxLength": 255,
"minLength": 8
},
"confirmVisualQa": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}BlitzReels exposes video project, media, timeline, caption, generation, export, and connected-account publishing operations. Authenticated operations require OAuth.
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.
| includeDetails * | boolean |
{
"name": "content_performance_list",
"title": "Read Published Content Performance",
"description": "Read bounded existing provider-reported engagement in the selected workspace, sorted by views. Filters by format, account and publication window. Returns periodTotals for engagement earned during the period across all posts on the selected accounts, plus per-post lifetime counters, saved watch metrics, capture/check times, availability, and saved Project/export lineage when known. includeDetails includes bounded retention and audience tables. Does not import new data, start monitoring or infer attributable leads, sales or revenue.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"includeDetails",
"workspaceId",
"platform",
"format",
"connectionIds",
"range",
"limit",
"offset",
"search"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"range": {
"enum": [
"7d",
"30d",
"90d",
"all"
],
"type": "string",
"default": "30d"
},
"format": {
"enum": [
"all",
"video",
"image",
"carousel"
],
"type": "string",
"default": "all"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"search": {
"type": "string",
"default": "",
"maxLength": 200
},
"platform": {
"enum": [
"all",
"youtube",
"instagram",
"facebook",
"tiktok"
],
"type": "string",
"default": "all"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"connectionIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 50
},
{
"type": "null"
}
],
"default": null
},
"includeDetails": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| clip_seconds | integer | Target length of each multi-shot generation. Defaults to 15, or the model maximum when lower. |
| story_kit_id | string |
| visual_style | string |
| character_ids | array |
| idempotencyKey * | string |
| image_model_id | string |
| caption_style_id | string |
| include_captions | boolean |
| planner_model_id | string |
| confirmScriptApproved * | boolean |
| generate_sound_effects | boolean |
| target_duration_seconds | number |
| use_seamless_transitions | boolean | Chain each scene's clip into the next with end frames. Applies only to video models that support end frames. |
| generate_background_music | boolean |
| style_reference_asset_ids | array |
{
"name": "video_storyboard_create",
"title": "Plan an Approved Video Script",
"description": "Create a vertical video storyboard for the user-approved script in an existing project. Spends planning credits; returns scene narration, factual review notes, references and the production credit estimate. Does not generate images or animate video. Existing account access applies.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"script",
"workspaceId",
"idempotencyKey",
"confirmScriptApproved"
],
"properties": {
"genre": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Genre pack id. GET /generation-options/faceless lists them in genres, with what each format needs in formats."
},
"script": {
"type": "string",
"maxLength": 30000,
"minLength": 1
},
"voice_id": {
"type": "string",
"maxLength": 200
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"series_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"multi_shot": {
"type": "boolean",
"description": "Let one video generation cover several timed shots and camera angles. Adjacent script blocks are grouped into takes."
},
"storyboard": {
"type": "boolean",
"description": "Generate one approved storyboard sheet instead of per-scene keyframes and use it as the video reference. Implies multi_shot."
},
"video_model": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"clip_seconds": {
"type": "integer",
"maximum": 60,
"minimum": 4,
"description": "Target length of each multi-shot generation. Defaults to 15, or the model maximum when lower."
},
"story_kit_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"visual_style": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"character_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 8
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"image_model_id": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"caption_style_id": {
"type": "string",
"maxLength": 200
},
"include_captions": {
"type": "boolean"
},
"planner_model_id": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"confirmScriptApproved": {
"type": "boolean",
"const": true
},
"generate_sound_effects": {
"type": "boolean"
},
"target_duration_seconds": {
"type": "number",
"maximum": 120,
"minimum": 10
},
"use_seamless_transitions": {
"type": "boolean",
"description": "Chain each scene's clip into the next with end frames. Applies only to video models that support end frames."
},
"generate_background_music": {
"type": "boolean"
},
"style_reference_asset_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 10
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "video_storyboard_revise",
"title": "Revise Selected Storyboard Scenes",
"description": "Create a new immutable draft from a known revision with selected scene, character or model changes. Preserves other scene definitions; requires review and production approval again. Does not generate media or overwrite an approved revision.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"revisionId",
"workspaceId",
"idempotencyKey"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"video_model": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"scene_updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"scene_index"
],
"properties": {
"shots": {
"type": "array",
"items": {
"type": "object",
"required": [
"camera",
"action",
"duration_seconds"
],
"properties": {
"line": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "The line spoken during this shot, as captions spell it. Needs speaker_character_id. Only scenes created with several spoken lines accept it."
},
"action": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"camera": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"spoken": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "Phonetic spelling the video model says in place of line, for numbers and acronyms."
},
"delivery": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Acting direction for the line, two to four words."
},
"duration_seconds": {
"type": "number",
"maximum": 60,
"minimum": 1
},
"speaker_character_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 8,
"minItems": 1,
"description": "Replaces the scene's shots. Durations are scaled to fit the scene exactly. On a scene with spoken lines, the shots carry the lines in speaking order."
},
"title": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"end_frame": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"edit_prompt"
],
"properties": {
"source": {
"enum": [
"edit_of_start",
"next_scene_start"
],
"type": "string",
"description": "edit_of_start edits the scene's approved keyframe as edit_prompt says; next_scene_start ends on the next scene's keyframe."
},
"edit_prompt": {
"anyOf": [
{
"type": "string",
"maxLength": 1000,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Where the clip ends. Null removes the end frame. Needs a video model that supports end frames."
},
"scene_index": {
"type": "integer",
"maximum": 39,
"minimum": 0
},
"start_frame": {
"enum": [
"keyframe",
"previous_last_frame"
],
"type": "string",
"description": "previous_last_frame starts the clip on the last frame of the previous scene's clip."
},
"image_prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 1
},
"character_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 2
},
"motion_prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"image_model_id": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"character_updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"character_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"character_id": {
"type": "string",
"minLength": 1
},
"anchor_prompt": {
"type": "string",
"maxLength": 3000,
"minLength": 1
},
"canonical_description": {
"type": "string",
"maxLength": 3000,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 8
},
"style_anchor_prompt": {
"type": "string",
"maxLength": 3000,
"minLength": 1,
"description": "Self-contained prompt for the single reference frame that locks rendering medium, palette, lighting, and grain for every scene. No characters, no text, no interfaces."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "video_storyboard_asset_regenerate",
"title": "Regenerate Selected Storyboard Preview",
"description": "Replace the identified preview after user approval of the new credit cost. A scene_keyframe changes one keyframe; a character_anchor refreshes its dependent keyframes; a style_anchor refreshes every keyframe. Preserves unaffected previews. Does not regenerate an already finished video shot.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"revisionId",
"asset_type",
"workspaceId",
"idempotencyKey",
"confirmRegeneration"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"asset_type": {
"enum": [
"storyboard",
"style_anchor",
"character_anchor",
"scene_keyframe",
"scene_end_frame"
],
"type": "string",
"description": "storyboard regenerates the sheet on storyboard plans; style_anchor regenerates the shared style reference and everything built on it; character_anchor requires character_id and refreshes dependent keyframes or the sheet; scene_keyframe requires scene_index and also redoes that scene's edited end frame; scene_end_frame requires scene_index and redoes only the edited end frame."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"scene_index": {
"type": "integer",
"maximum": 39,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"character_id": {
"type": "string",
"minLength": 1
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmRegeneration": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| captionWordOffset |
| integer |
| Caption word offset. |
{
"name": "projects_inspect",
"title": "Inspect Project",
"description": "Read bounded project context for editing, including timeline items, media assets, transcripts, captions, and stable IDs.",
"inputSchema": {
"type": "object",
"required": [
"projectId"
],
"properties": {
"mode": {
"enum": [
"summary",
"assets",
"timeline",
"transcript",
"full"
],
"type": "string",
"default": "timeline",
"description": "Bounded project context view to return."
},
"search": {
"type": "string",
"description": "Optional media search when mode is assets or full."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Project UUID. UUID string."
},
"assetLimit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum media assets to return (1-50)."
},
"assetOffset": {
"type": "integer",
"minimum": 0,
"description": "Media asset offset."
},
"timelineLimit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum timeline items to return (1-1000)."
},
"timelineOffset": {
"type": "integer",
"minimum": 0,
"description": "Timeline item offset."
},
"transcriptLimit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum transcript segments to return (1-500)."
},
"captionWordLimit": {
"type": "integer",
"maximum": 2000,
"minimum": 1,
"description": "Maximum caption words to return (1-2000)."
},
"transcriptOffset": {
"type": "integer",
"minimum": 0,
"description": "Transcript segment offset."
},
"captionWordOffset": {
"type": "integer",
"minimum": 0,
"description": "Caption word offset."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"mode",
"data",
"bounds"
],
"properties": {
"data": {
"type": "object"
},
"mode": {
"enum": [
"summary",
"assets",
"timeline",
"transcript",
"full"
],
"type": "string"
},
"bounds": {
"type": "object",
"required": [
"collections"
],
"properties": {
"collections": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"offset",
"limit",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"name": {
"type": "string"
},
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
}
}
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "editor_audio_set",
"title": "editor audio set",
"description": "Adjust one item's volume and audio fades. Revision checked; dryRun previews by default. Preserves the rest of the project.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"volume",
"fadeInSeconds",
"fadeOutSeconds",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string"
},
"volume": {
"type": "number",
"maximum": 2,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"fadeInSeconds": {
"type": "number",
"minimum": 0
},
"fadeOutSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| number |
| expectedRevision * | integer |
{
"name": "editor_text_set",
"title": "editor text set",
"description": "Create or revise one title or text overlay with explicit timing. Revision checked; dryRun previews by default. This edits project text, not spoken audio or captions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"text",
"textKind",
"spec",
"startSeconds",
"durationSeconds",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"spec": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"text": {
"type": "string",
"minLength": 1
},
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"textKind": {
"enum": [
"overlay",
"title_card",
"lower_third"
],
"type": "string"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "editor_assets_insert",
"title": "editor assets insert",
"description": "Insert a workspace image, generated shot or audio asset at an explicit project time. Revision checked; dryRun previews by default.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"assetId",
"startSeconds",
"durationSeconds",
"layerIndex",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"assetId": {
"type": "string",
"format": "uuid",
"minLength": 1,
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"layerIndex": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| editorialPreferences * | any |
{
"name": "workspace_context_save",
"title": "Save Reviewed Business Context",
"description": "Save the user-reviewed business name, audience, offer, conversion goal, tone, protected vocabulary and editorial preferences for the selected workspace. Requires workspace settings permission and confirmReviewed=true; changes future assistant guidance, preserving existing projects. Pronunciation notes guide script drafting; they do not retime or replace source speech.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"brandName",
"audience",
"offer",
"conversionGoal",
"tone",
"editorialPreferences",
"protectedWords",
"confirmReviewed"
],
"properties": {
"tone": {
"anyOf": [
{
"type": "string",
"maxLength": 240
},
{
"type": "null"
}
]
},
"offer": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"audience": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"brandName": {
"anyOf": [
{
"type": "string",
"maxLength": 160
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"conversionGoal": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"protectedWords": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 40
},
"confirmReviewed": {
"type": "boolean",
"const": true
},
"editorialPreferences": {
"anyOf": [
{
"type": "object",
"required": [
"purpose",
"preferredLanguage",
"avoidTerms",
"pronunciationNotes"
],
"properties": {
"purpose": {
"anyOf": [
{
"enum": [
"authority",
"education",
"product_demo",
"lead_generation"
],
"type": "string"
},
{
"type": "null"
}
]
},
"avoidTerms": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 40
},
"preferredLanguage": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"minLength": 2
},
{
"type": "null"
}
]
},
"pronunciationNotes": {
"type": "array",
"items": {
"type": "object",
"required": [
"term",
"pronunciation"
],
"properties": {
"term": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"pronunciation": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "media_import_url",
"title": "Import Media From URL",
"description": "Import video, audio, images, fonts, SVG or JSON from a direct URL into the private workspace library. Returns a durable asset ID and verified contentHashSha256. Fonts, SVG and JSON are limited to 25 MiB.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL of the media file to download and upload"
},
"name": {
"type": "string",
"description": "Optional name for the file"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project ID to associate the upload with. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
},
"autoTranscribe": {
"type": "boolean",
"default": true,
"description": "Request transcription for video uploads."
},
"autoSuggestShorts": {
"type": "boolean",
"default": true
},
"contentHashSha256": {
"type": "string",
"pattern": "^[a-fA-F0-9]{64}$",
"description": "Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string."
},
"autoProcessEnabled": {
"type": "boolean",
"default": true,
"description": "Enable media analysis after upload."
},
"autoDescribeAfterTranscribe": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"media"
],
"properties": {
"media": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| boolean |
| Enable media analysis after upload. |
| autoDescribeAfterTranscribe | boolean |
{
"name": "media_upload_finish",
"title": "Finish Media Upload",
"description": "Verify uploaded bytes and save a reusable workspace asset after presigned PUT. Returns contentHashSha256, fileSizeBytes and mimeType.",
"inputSchema": {
"type": "object",
"required": [
"storageKey",
"fileName",
"contentType",
"fileSizeBytes"
],
"properties": {
"fileName": {
"type": "string",
"description": "Name of the uploaded file"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project ID to associate the upload with. UUID string."
},
"storageKey": {
"type": "string",
"description": "Storage key for the uploaded file"
},
"contentType": {
"type": "string",
"description": "MIME type of the file"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
},
"fileSizeBytes": {
"type": "number",
"minimum": 1,
"description": "Size of the uploaded file in bytes"
},
"autoTranscribe": {
"type": "boolean",
"default": true,
"description": "Request transcription for video uploads."
},
"autoSuggestShorts": {
"type": "boolean",
"default": true
},
"contentHashSha256": {
"type": "string",
"pattern": "^[a-fA-F0-9]{64}$",
"description": "Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string."
},
"autoProcessEnabled": {
"type": "boolean",
"default": true,
"description": "Enable media analysis after upload."
},
"autoDescribeAfterTranscribe": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"media"
],
"properties": {
"media": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| durationBounds | any | Requested clip duration bounds. Selection preserves complete moments; minimum cannot exceed maximum. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| autoTrimSilence | boolean | Trim silence around selected moments. |
| createSharePage | boolean | Create a public showcase page where completed clips appear. |
| selectedAudioLanguage | string | Audio language track for a social-video URL, using the language reported by media_import_inspect. Null uses source default. Existing assets and direct files preserve source audio. |
{
"name": "clips_create",
"title": "Create Clips",
"description": "Create a private BlitzReels clip batch from an existing asset or a user-provided video URL. Supports public social videos, Google Drive, and direct media URLs.",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Video URL to import before clipping. Supports social video links, Google Drive file links, and direct video file URLs."
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "Existing BlitzReels video asset ID. Provide assetId or url, not both. UUID string."
},
"seriesId": {
"type": "string",
"description": "Optional Series UUID. Omitted inherits the source Series; null creates standalone clips."
},
"clipCount": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum clips requested. Available source moments and account limits can yield fewer."
},
"selection": {
"anyOf": [
{
"type": "object",
"required": [
"includeIds",
"excludeIds"
],
"properties": {
"excludeIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"uniqueItems": true
},
"includeIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"minItems": 1,
"uniqueItems": true
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Existing asset only: reviewed candidate IDs to include in order or exclude. Resolve IDs with clips_candidates_list first. Null delegates selection."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"clipPresetId": {
"enum": [
"default",
"high-retention",
"demo-focus"
],
"type": "string",
"default": "default",
"description": "Clip style preset. Use high-retention for High Retention clips or demo-focus for product and screen demos."
},
"captionThemeId": {
"type": "string",
"description": "Saved theme UUID or built-in caption look. Omitted inherits Series defaults; null uses workspace captions."
},
"durationBounds": {
"anyOf": [
{
"type": "object",
"required": [
"minSeconds",
"maxSeconds"
],
"properties": {
"maxSeconds": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": 1
},
"minSeconds": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Requested clip duration bounds. Selection preserves complete moments; minimum cannot exceed maximum."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"autoTrimSilence": {
"type": "boolean",
"default": true,
"description": "Trim silence around selected moments."
},
"createSharePage": {
"type": "boolean",
"default": false,
"description": "Create a public showcase page where completed clips appear."
},
"selectedAudioLanguage": {
"type": "string",
"maxLength": 40,
"minLength": 2,
"description": "Audio language track for a social-video URL, using the language reported by media_import_inspect. Null uses source default. Existing assets and direct files preserve source audio."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result",
"batch"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"batch",
"importedAssetId",
"sourceKind",
"mutationReceipt"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"sourceKind": {
"type": "string"
},
"importedAssetId": {
"type": "string"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| contentTypeHint | string | one of ["auto","podcast","tutorial","demo","generic"] |
| maxDurationSeconds | number |
| minDurationSeconds | number |
{
"name": "clips_reselect",
"title": "Revise Selected Moment",
"description": "Replace the source moment for one managed clip using a verified suggestion or explicit time range. Can spend existing account credits. Preserves the other clips; read current state before retrying.",
"inputSchema": {
"type": "object",
"required": [
"clipId",
"selectionMode",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"lookId": {
"type": "string"
},
"endSeconds": {
"type": "number"
},
"layoutMode": {
"enum": [
"auto",
"people_first",
"screen_first",
"preserve_full_source",
"prefer_split",
"prefer_focus",
"prefer_tutorial",
"prefer_demo"
],
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"suggestionId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"selectionMode": {
"enum": [
"auto_best",
"suggestion",
"time_range"
],
"type": [
"string",
"null"
],
"default": null
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
},
"captionsEnabled": {
"type": "boolean"
},
"contentTypeHint": {
"enum": [
"auto",
"podcast",
"tutorial",
"demo",
"generic"
],
"type": "string"
},
"maxDurationSeconds": {
"type": "number"
},
"minDurationSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "update_timeline_clip",
"title": "Update Timeline Clip",
"description": "Update one timeline item's start, duration, trim, layer, ignored state, or blurred background. Provide at least one field to update besides timelineItemId.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"timelineItemId",
"idempotencyKey"
],
"properties": {
"ignored": {
"type": "boolean"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"trimEndSeconds": {
"type": "number",
"minimum": 0
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"trimStartSeconds": {
"type": "number",
"minimum": 0
},
"blurredBackground": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| integer |
| Expected sequence revision, or null. |
{
"name": "add_text_overlay",
"title": "Add Title Card",
"description": "Add an opening title card (hook) or generic text overlay to a project timeline. Defaults to classic white: black text on a white card.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"text",
"idempotencyKey"
],
"properties": {
"kind": {
"enum": [
"overlay",
"title_card",
"lower_third"
],
"type": "string",
"default": "title_card",
"description": "title_card is an opening hook. lower_third is a speaker label (name and role on separate lines). overlay is generic on-video text."
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"size": {
"enum": [
"compact",
"default",
"bold"
],
"type": "string",
"default": "default",
"description": "Title-card size. Ignored for overlay."
},
"text": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"theme": {
"enum": [
"classic_white",
"legend_white",
"white_black_outline",
"stacked_black_white",
"red_on_black",
"black_on_yellow",
"red_block"
],
"type": "string",
"default": "classic_white",
"description": "Title-card look. classic_white is black text on a white card. Ignored for overlay."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"default": 0,
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"durationSeconds": {
"type": "number",
"default": 4,
"maximum": 3600,
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| expectedRevision | integer | Expected sequence revision, or null. |
{
"name": "add_transition",
"title": "Add Transition",
"description": "Add a timed transition effect, optionally attached to one timeline item and paired with sound.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"startSeconds",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"easing": {
"enum": [
"linear",
"easeIn",
"easeOut",
"easeInOut"
],
"type": "string",
"default": "easeInOut"
},
"preset": {
"enum": [
"flash",
"film-flash",
"whip-left",
"whip-right",
"zoom-punch",
"glitch"
],
"type": "string",
"default": "flash"
},
"intensity": {
"type": "number",
"default": 0.5,
"maximum": 2,
"minimum": 0.2
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"includeSfx": {
"type": "boolean",
"default": false
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"durationSeconds": {
"type": "number",
"default": 0.6,
"maximum": 10,
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "timeline_media_add",
"title": "Add Media To Timeline",
"description": "Place an image or video asset onto a BlitzReels project timeline at a timestamp, including B-roll and static images.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Image or video media asset ID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "BlitzReels project ID. UUID string."
},
"layerIndex": {
"type": "number",
"minimum": 0,
"description": "Exact timeline layer to use. Lower layer numbers render on top. Omit for intent-based placement."
},
"startSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Timeline start time in seconds"
},
"allowDuplicate": {
"type": "boolean",
"default": true,
"description": "Allow inserting the same asset more than once"
},
"positionPreset": {
"enum": [
"center",
"fullscreen",
"pip-top-left",
"pip-top-right",
"pip-bottom-left",
"pip-bottom-right"
],
"type": "string",
"default": "fullscreen",
"description": "Visual placement preset"
},
"animationPreset": {
"enum": [
"none",
"fadeIn",
"fadeOut",
"zoomIn",
"zoomOut",
"slideLeft",
"slideRight",
"slideUp",
"slideDown",
"popIn",
"bounce",
"spin"
],
"type": "string",
"default": "none",
"description": "Optional visual animation preset"
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"description": "Duration in seconds. Required for still images when a specific length is needed."
},
"placementIntent": {
"enum": [
"overlay",
"background",
"exact"
],
"type": "string",
"default": "overlay",
"description": "Layer intent used when layerIndex is omitted. Use overlay for visible B-roll/logo/sticker over video, background for behind video, exact when layerIndex is supplied."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| enhancePrompt | boolean | Enhance using BlitzReels model grammar and actual input context. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| referenceAssetIds | array | Ordered image references. Model-specific limits are listed in generation_options_list; unsupported references fail. |
{
"name": "generation_image_create",
"title": "Generate Image",
"description": "Queue an AI image generation into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.",
"inputSchema": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"size": {
"anyOf": [
{
"type": "string",
"pattern": "^[1-9][0-9]{1,4}x[1-9][0-9]{1,4}$"
},
{
"type": "null"
}
],
"default": null,
"description": "Exact output size as WIDTHxHEIGHT, for example 1920x2304. Only models whose parameters.size.supported is true in generation_options_list; it replaces aspectRatio, and credits scale with pixel count."
},
"model": {
"enum": [
"fal-ai/gpt-image-1.5",
"fal-ai/gpt-image-2.6-flare",
"fal-ai/gpt-image-2.6-sunburst",
"bfl/flux-3-image",
"bfl/flux-3-image-klein",
"bytedance/seedream/v5/pro/text-to-image",
"bytedance/seedream/v5.5/text-to-image",
"fal-ai/nano-banana-2",
"google/nano-banana-2.1",
"google/nano-banana-2-lite",
"fal-ai/nano-banana-pro"
],
"type": "string",
"default": "fal-ai/nano-banana-2",
"description": "Image model. Call generation_options_list for costs."
},
"prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 8,
"description": "What the image should show (8-5000 characters)."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Optional media library folder ID."
},
"background": {
"enum": [
"auto",
"opaque",
"transparent"
],
"type": "string",
"default": "auto",
"description": "Background of the generated image: auto (the model decides), opaque or transparent (an RGBA PNG for cut-outs and overlays). Only models whose parameters.background.supported is true in generation_options_list accept opaque or transparent."
},
"resolution": {
"anyOf": [
{
"enum": [
"0.5k",
"1k",
"2k",
"4k"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Native image resolution. Call generation_options_list for model support and resolution pricing. Unsupported settings are rejected."
},
"aspectRatio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"5:4",
"4:5",
"21:9"
],
"type": "string",
"default": "1:1",
"description": "Output aspect ratio."
},
"characterId": {
"type": "string",
"format": "uuid",
"description": "Workspace character to keep consistent (characters_list). Its reference images or trained weights and description are added; they count toward the model reference limit."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"enhancePrompt": {
"type": "boolean",
"default": false,
"description": "Enhance using BlitzReels model grammar and actual input context."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 14,
"description": "Ordered image references. Model-specific limits are listed in generation_options_list; unsupported references fail."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| string |
| Output aspect ratio. |
| characterId | string | Workspace character to keep consistent (characters_list). Its reference images come first (@Image1 is the primary), capped to the model limit. Only models whose parameters.character_id.supported is true in generation_options_list. |
| workspaceId | string | Optional workspace ID. Defaults to the user's default workspace. UUID string. |
| enhancePrompt | boolean | Enhance using BlitzReels model grammar and actual input context. |
| generateAudio | boolean | null uses model audio behavior. Explicit true/false must be supported by the selected model. |
| sourceAssetId | string | First-frame still. Required only when that model's parameters.source_asset_id.required is true. Optional on reference-capable I2V including Seedance 2.5. Text-to-video rejects it. Cannot combine with reference arrays and end_frame_asset_id. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| negativePrompt | string | What to avoid in the shot. |
| transformation | any |
| durationSeconds | integer | Video transformations inherit the processed source duration and aspect ratio; duration_seconds is not a trim request. Choose a value from the selected model's durations_seconds. duration_seconds_min and duration_seconds_max are the bounds of that list, not a continuous range. |
| endFrameAssetId | string | Last-frame still. Interpolates from the source first frame to this image across the full duration. Requires a source first frame; cannot combine with reference arrays. |
| referenceAssetIds | array | Ordered reference images: Seedance 2.5 up to 30; Seedance 2.0 ref2v up to 9; other reference models up to 4. Source counts toward the limit. |
| referenceAssetUris | array | BytePlus ModelArk real-human assets as asset://ID, for people who verified themselves in the BytePlus console. Requires provider byteplus-modelark and a model whose parameters.reference_asset_uris.supported is true in generation_options_list. They follow referenceAssetIds in @ImageN numbering and co… |
| referenceVideoRange | any | Cut this range from the reference video before a character swap or video edit; billed for the range length. Seconds, or phrases spoken in the source transcript (cut in the pauses around them; each phrase must occur once). |
| referenceAudioAssetIds | array | Reference audio: Seedance 2.5 up to 10; Seedance 2.0 ref2v and fast up to 3. Other models reject them. |
| referenceVideoAssetIds | array | Video transformations require one processed source video. Other reference modes have model-specific counts published by generation_options_list. |
{
"name": "generation_video_create",
"title": "Generate Video",
"description": "Queue video generation, image animation, source-video editing or character replacement into the media library. Spends AI credits. Check the selected model and duration first with generation_options_list and videoQuote. Editing accepts referenceVideoAssetIds and transformation controls, including original-audio preservation. Read the queued job with generation_jobs_get.",
"inputSchema": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"description": "Optional seed for reproducible output."
},
"model": {
"enum": [
"sync-lipsync-2",
"flux-3-max",
"flux-3-max-t2v",
"grok-imagine-1.5",
"grok-imagine-1.5-t2v",
"heygen-video",
"heygen-video-t2v",
"omnihuman-v2",
"creatify-aurora",
"veed-fabric-1",
"seedance-2.5-flash",
"seedance-2.5-flash-ref2v",
"seedance-2.5-flash-t2v",
"seedance-2.5-edit",
"kling-o3-standard-edit",
"kling-o3-pro-edit",
"kling-v4-edit",
"kling-v3-standard-motion-control",
"kling-v3-pro-motion-control",
"wan-2.2-animate-replace",
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-v4",
"kling-v4-ref2v",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"minimax-h3-max",
"minimax-hailuo-2.3-pro-t2v",
"minimax-h3-max-t2v",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash-ref2v",
"gemini-omni-flash-1.2-ref2v",
"gemini-omni-flash-edit",
"gemini-omni-flash-1.2-edit",
"gemini-omni-flash",
"gemini-omni-flash-1.2",
"veo3-fast",
"gemini-omni-flash-t2v",
"gemini-omni-flash-1.2-t2v",
"wan-2.7",
"wan-2.7-ref2v",
"wan-2.7-t2v",
"wan-3.0",
"wan-3.0-prime",
"wan-3.0-t2v",
"wan-3.0-prime-t2v",
"happy-horse",
"happy-horse-ref2v",
"happy-horse-t2v",
"grok-imagine-lite",
"grok-imagine-lite-t2v",
"seedance-2.0-pro",
"seedance-2.5",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast",
"seedance-2.0-pro-t2v",
"seedance-2.5-t2v",
"seedance-2.0-pro-fast-t2v",
"kling-o3-standard-t2v",
"kling-o3-pro-t2v",
"kling-v3-standard-t2v",
"kling-v3-pro-t2v",
"kling-v4-t2v"
],
"type": "string",
"default": "kling-v3-pro-t2v",
"description": "Video model. generation_options_list publishes generation type, source limits, character controls, resolution and pricing for each model."
},
"prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 3,
"description": "What should happen in the shot (3-5000 characters)."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Optional media library folder ID."
},
"provider": {
"enum": [
"auto",
"byteplus-modelark",
"fal"
],
"type": "string",
"default": "auto",
"description": "Explicit provider must support the model and input mode. auto uses a configured compatible provider."
},
"provenance": {
"anyOf": [
{
"type": "object",
"required": [
"originalRequest",
"previousJobId"
],
"properties": {
"previousJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"originalRequest": {
"anyOf": [
{
"type": "string",
"maxLength": 40000,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Original user request before prompt authoring, and previous failed job ID when retrying. Retained for review; never infer missing wording."
},
"resolution": {
"anyOf": [
{
"enum": [
"360p",
"480p",
"720p",
"768p",
"1080p",
"4k"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Output resolution. Call generation_options_list for model-specific supported values and defaults. Unsupported settings are rejected."
},
"aspectRatio": {
"enum": [
"9:16",
"16:9",
"1:1"
],
"type": "string",
"default": "9:16",
"description": "Output aspect ratio."
},
"characterId": {
"type": "string",
"format": "uuid",
"description": "Workspace character to keep consistent (characters_list). Its reference images come first (@Image1 is the primary), capped to the model limit. Only models whose parameters.character_id.supported is true in generation_options_list."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"enhancePrompt": {
"type": "boolean",
"default": false,
"description": "Enhance using BlitzReels model grammar and actual input context."
},
"generateAudio": {
"type": "boolean",
"description": "null uses model audio behavior. Explicit true/false must be supported by the selected model."
},
"sourceAssetId": {
"type": "string",
"format": "uuid",
"description": "First-frame still. Required only when that model's parameters.source_asset_id.required is true. Optional on reference-capable I2V including Seedance 2.5. Text-to-video rejects it. Cannot combine with reference arrays and end_frame_asset_id."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"negativePrompt": {
"type": "string",
"maxLength": 2500,
"description": "What to avoid in the shot."
},
"transformation": {
"anyOf": [
{
"type": "object",
"required": [
"characters",
"sourcePersonCount",
"keepOriginalAudio",
"characterOrientation"
],
"properties": {
"intent": {
"enum": [
"swap",
"scene",
"camera",
"style"
],
"type": "string",
"description": "What the edit changes: swap (people, needs characters), scene (environment), camera (angle or framing) or style. Omitted: inferred from the prompt."
},
"output": {
"enum": [
"range",
"full"
],
"type": "string",
"description": "With reference_video_range: range returns only the edited range (default); full splices it back into the whole source video with its original audio."
},
"characters": {
"type": "array",
"items": {
"type": "object",
"required": [
"sourceRole",
"frontalAssetId",
"referenceAssetIds"
],
"properties": {
"sourceRole": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"frontalAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"default": [],
"maxItems": 3
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 4
},
"transition": {
"enum": [
"cut",
"crossfade"
],
"type": "string",
"description": "Seam between the source and a spliced range when output is full: cut (default) or a short crossfade."
},
"lookFrameAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Image of the first frame after the change, approved before paying for the video (create one with POST /generate-look-frame). Sent as @Image1 so the edit matches its look. Video edit models only; counts toward their reference image limit."
},
"keepOriginalAudio": {
"type": "boolean",
"default": true
},
"sourcePersonCount": {
"anyOf": [
{
"type": "integer",
"maximum": 1000,
"minimum": 1
},
{
"type": "null"
}
],
"default": null
},
"characterOrientation": {
"enum": [
"video",
"image"
],
"type": "string",
"default": "video"
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"default": null
},
"durationSeconds": {
"type": "integer",
"default": 5,
"maximum": 30,
"minimum": 2,
"description": "Video transformations inherit the processed source duration and aspect ratio; duration_seconds is not a trim request. Choose a value from the selected model's durations_seconds. duration_seconds_min and duration_seconds_max are the bounds of that list, not a continuous range."
},
"endFrameAssetId": {
"type": "string",
"format": "uuid",
"description": "Last-frame still. Interpolates from the source first frame to this image across the full duration. Requires a source first frame; cannot combine with reference arrays."
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 30,
"description": "Ordered reference images: Seedance 2.5 up to 30; Seedance 2.0 ref2v up to 9; other reference models up to 4. Source counts toward the limit."
},
"referenceAssetUris": {
"type": "array",
"items": {
"type": "string",
"pattern": "^asset://[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
},
"default": [],
"maxItems": 30,
"description": "BytePlus ModelArk real-human assets as asset://ID, for people who verified themselves in the BytePlus console. Requires provider byteplus-modelark and a model whose parameters.reference_asset_uris.supported is true in generation_options_list. They follow referenceAssetIds in @ImageN numbering and count toward the reference limit."
},
"referenceVideoRange": {
"anyOf": [
{
"type": "object",
"required": [
"startSeconds",
"endSeconds"
],
"properties": {
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"startPhrase",
"endPhrase"
],
"properties": {
"endPhrase": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"startPhrase": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Cut this range from the reference video before a character swap or video edit; billed for the range length. Seconds, or phrases spoken in the source transcript (cut in the pauses around them; each phrase must occur once)."
},
"referenceAudioAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 10,
"description": "Reference audio: Seedance 2.5 up to 10; Seedance 2.0 ref2v and fast up to 3. Other models reject them."
},
"referenceVideoAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 10,
"description": "Video transformations require one processed source video. Other reference modes have model-specific counts published by generation_options_list."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| imageModelId |
| string |
| Model used to generate scene images. |
| captionStyleId | string | Optional caption theme ID from captions_themes_list. |
| idempotencyKey | string | Retry key. Reuse only with identical inputs. |
| plannerModelId | string | Model used to plan the video scenes. |
| includeCaptions | boolean | Burn captions into the timeline. |
| generateVoiceover | boolean | Narrate the script with a generated voice. |
| generateSoundEffects | boolean | Add generated sound effects. |
| targetDurationSeconds | number | Target runtime between 10 and 120 seconds. |
| styleReferenceAssetIds | array | Optional stills that lock rendering medium, palette, lighting and texture. Not used as scene frames. |
| generateBackgroundMusic | boolean | Add a generated background track. |
{
"name": "generation_faceless_create",
"title": "Generate Faceless Video",
"description": "Prepare a storyboard for a faceless video with optional voiceover, captions, music and sound. Poll generation_jobs_get for the storyboard, then use video_storyboard_get to review the scenes and estimated cost before approving production. Planning spends AI credits.",
"inputSchema": {
"type": "object",
"required": [
"script"
],
"properties": {
"script": {
"type": "string",
"maxLength": 30000,
"minLength": 1,
"description": "The narration or story to turn into a video."
},
"voiceId": {
"type": "string",
"maxLength": 200,
"description": "Optional voice override from the BlitzReels voice catalog. The Story Kit narrator voice is used when omitted."
},
"seriesId": {
"type": "string",
"description": "Optional Series UUID. Inherits its Story Kit and branding defaults for this new video."
},
"storyKitId": {
"type": "string",
"description": "Reusable Story Kit UUID for characters, references, locations, style, and narrator voice."
},
"videoModel": {
"enum": [
"sync-lipsync-2",
"flux-3-max",
"grok-imagine-1.5",
"heygen-video",
"omnihuman-v2",
"creatify-aurora",
"veed-fabric-1",
"seedance-2.5-flash",
"seedance-2.5-flash-ref2v",
"seedance-2.5-edit",
"kling-o3-standard-edit",
"kling-o3-pro-edit",
"kling-v4-edit",
"kling-v3-standard-motion-control",
"kling-v3-pro-motion-control",
"wan-2.2-animate-replace",
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-v4",
"kling-v4-ref2v",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"minimax-h3-max",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash-ref2v",
"gemini-omni-flash-1.2-ref2v",
"gemini-omni-flash-edit",
"gemini-omni-flash-1.2-edit",
"gemini-omni-flash",
"gemini-omni-flash-1.2",
"wan-2.7",
"wan-2.7-ref2v",
"wan-3.0",
"wan-3.0-prime",
"happy-horse",
"happy-horse-ref2v",
"grok-imagine-lite",
"seedance-2.0-pro",
"seedance-2.5",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast"
],
"type": "string",
"default": "seedance-2.0-ref2v",
"description": "Image-to-video model used to animate scenes."
},
"projectName": {
"type": "string",
"default": "Faceless Video",
"maxLength": 200,
"minLength": 1,
"description": "Name for the created BlitzReels project."
},
"visualStyle": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Optional art direction override. A Story Kit style is used when omitted."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"imageModelId": {
"type": "string",
"default": "fal-ai/nano-banana-pro",
"maxLength": 200,
"minLength": 3,
"description": "Model used to generate scene images."
},
"captionStyleId": {
"type": "string",
"maxLength": 200,
"description": "Optional caption theme ID from captions_themes_list."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"plannerModelId": {
"type": "string",
"default": "google/gemini-3.8-flash",
"maxLength": 200,
"minLength": 3,
"description": "Model used to plan the video scenes."
},
"includeCaptions": {
"type": "boolean",
"default": true,
"description": "Burn captions into the timeline."
},
"generateVoiceover": {
"type": "boolean",
"default": true,
"description": "Narrate the script with a generated voice."
},
"generateSoundEffects": {
"type": "boolean",
"default": false,
"description": "Add generated sound effects."
},
"targetDurationSeconds": {
"type": "number",
"default": 45,
"maximum": 120,
"minimum": 10,
"description": "Target runtime between 10 and 120 seconds."
},
"styleReferenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 10,
"description": "Optional stills that lock rendering medium, palette, lighting and texture. Not used as scene frames."
},
"generateBackgroundMusic": {
"type": "boolean",
"default": false,
"description": "Add a generated background track."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| confirmLikenessConsent |
| boolean |
| For a human character, set true only after the user confirms consent to use the depicted person's likeness. |
| primaryReferenceAssetId | string |
| confirmRightsToReferences | boolean | Set true only after the user confirms they own the reference media or have permission to use it. |
{
"name": "characters_apply",
"title": "Apply Reusable Character",
"description": "Create or update a reference-based character for repeatable faceless story generation.",
"inputSchema": {
"type": "object",
"required": [
"name",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"human",
"fictional",
"other"
],
"type": "string",
"default": "human"
},
"species": {
"type": "string"
},
"storyFacts": {
"type": "array",
"items": {
"type": "string"
}
},
"characterId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
},
"defaultVoiceId": {
"type": "string"
},
"idempotencyKey": {
"type": "string"
},
"defaultVoiceStyle": {
"type": "string"
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalDescription": {
"type": "string"
},
"confirmLikenessConsent": {
"type": "boolean",
"default": false,
"description": "For a human character, set true only after the user confirms consent to use the depicted person's likeness."
},
"primaryReferenceAssetId": {
"type": "string"
},
"confirmRightsToReferences": {
"type": "boolean",
"default": false,
"description": "Set true only after the user confirms they own the reference media or have permission to use it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"character",
"mutationReceipt"
],
"properties": {
"character": {
"type": "object"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| styleReferenceAssetIds | array |
{
"name": "story_kits_apply",
"title": "Apply Story Kit",
"description": "Create or update a Story Kit with optimistic concurrency and an idempotent mutation receipt.",
"inputSchema": {
"type": "object",
"required": [
"name",
"visualStyle",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"description": "Stable Story Kit name."
},
"facts": {
"type": "array",
"items": {
"type": "string"
}
},
"locations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"canonicalDescription",
"referenceAssetIds",
"facts"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"facts": {
"type": "array",
"items": {
"type": "string"
}
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalDescription": {
"type": "string"
}
},
"additionalProperties": false
}
},
"storyKitId": {
"type": "string"
},
"description": {
"type": "string"
},
"visualStyle": {
"type": "string",
"description": "Canonical visual-style contract."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
},
"characterIds": {
"type": "array",
"items": {
"type": "string"
}
},
"idempotencyKey": {
"type": "string"
},
"expectedRevision": {
"type": "number"
},
"narratorCharacterId": {
"type": "string"
},
"styleReferenceAssetIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"storyKit",
"mutationReceipt"
],
"properties": {
"storyKit": {
"type": "object"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| any |
| defaultCreationMode * | string | one of ["podcast","faceless"] |
{
"name": "series_apply",
"title": "Apply Series",
"description": "Create or replace a Growth+ Series identity and defaults. defaultCreationMode selects podcast branding or faceless Story Kit defaults; membership stays mixed. Updates require expectedRevision. Existing content keeps its settings.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"seriesId",
"expectedRevision",
"workspaceId",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"series",
"mutationReceipt"
],
"properties": {
"series": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"id",
"revision",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "customer_link_apply",
"title": "Save customer tracking link",
"description": "Create a stable HTTPS tracking link or revise its label/enabled state. Destination and content association are immutable. Revisions require expectedRevision; null creates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"expectedRevision",
"label",
"destination",
"enabled",
"workspaceId",
"idempotencyKey"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"destination": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"link",
"mutationReceipt"
],
"properties": {
"link": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"label",
"destination",
"enabled",
"revision",
"url",
"createdAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"destination": {
"type": "string",
"format": "uri",
"maxLength": 2048
}
},
"additionalProperties": false
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| attribution * | string | one of ["unknown","self_reported"] |
| workspaceId * | any |
| idempotencyKey * | string |
| expectedRevision * | any |
{
"name": "customer_outcome_apply",
"title": "Save self-reported outcome",
"description": "Record or revise leads, sales, revenue or another measured outcome with source, time and explicit attribution. Revision history is retained; voided records remain visible. No conversion is inferred from clicks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"expectedRevision",
"kind",
"value",
"unit",
"occurredAt",
"source",
"attribution",
"voided",
"workspaceId",
"idempotencyKey"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"leads",
"sales",
"revenue",
"other"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.000001
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"voided": {
"type": "boolean"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"attribution": {
"enum": [
"unknown",
"self_reported"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"outcome",
"mutationReceipt"
],
"properties": {
"outcome": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"kind",
"value",
"unit",
"occurredAt",
"source",
"attribution",
"voided",
"revision",
"authorId",
"recordedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"leads",
"sales",
"revenue",
"other"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.000001
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"voided": {
"type": "boolean"
},
"authorId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"recordedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"attribution": {
"enum": [
"unknown",
"self_reported"
],
"type": "string"
}
},
"additionalProperties": false
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| integer |
| idempotencyKey * | string |
| expectedEvidence * | string |
{
"name": "learning_start",
"title": "Propose content variations",
"description": "Start one bounded model call from a reviewed learning quote and approved credits/USD cap. Saves cited lessons and up to five experimental briefs in the shared brain. Idempotent; never publishes or promises performance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language",
"quoteId",
"expectedEvidence",
"maxUsd",
"maxCredits",
"idempotencyKey",
"workspaceId"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"maxUsd": {
"type": "number",
"maximum": 10,
"exclusiveMinimum": 0
},
"quoteId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxCredits": {
"type": "number",
"maximum": 10000,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-zA-Z0-9._:-]+$",
"maxLength": 150,
"minLength": 8
},
"expectedEvidence": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"evidence",
"documents",
"proposal",
"error",
"direction",
"runId",
"canResume"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"error": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"generating",
"saving",
"complete",
"unknown",
"cancelled",
"failed"
],
"type": "string"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"proposal": {
"anyOf": [
{
"type": "object",
"required": [
"lesson",
"evidenceIds",
"limitations",
"variations"
],
"properties": {
"lesson": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"variations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"axis",
"observationId",
"hypothesis",
"brief",
"measure"
],
"properties": {
"axis": {
"enum": [
"hook",
"format",
"pacing",
"cta",
"topic",
"visual"
],
"type": "string"
},
"brief": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"measure": {
"type": "string",
"maxLength": 700,
"minLength": 1
},
"hypothesis": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"observationId": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"maxItems": 5
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 12,
"minItems": 1
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 8,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"canResume": {
"type": "boolean"
},
"direction": {
"enum": [
"current",
"changed",
"unavailable"
],
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 6
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| withImages * | boolean |
| workspaceId | any |
| characterIds * | array | Saved AI characters to cast in the photos, by id; their saved references keep their faces. Empty lets the prompt decide. |
| imageModelId * | any | Image model for the generated photos; null uses Nano Banana 2. Ignored when withImages is false. |
| idempotencyKey * | string |
| expectedRevision * | any | Replace the board only at this revision; null replaces the latest board. |
{
"name": "carousels_board_generate",
"title": "Generate Carousel",
"description": "Write and design a full carousel from a prompt into the project board: hook, body slides, ending call to action and a post caption, styled with the brand kit or a preset style, with optional AI photos (photos finish in the background; pendingAssetIds lists them). Replaces the current board and renames the project. Uses AI and image credits; a retry with the same idempotency key and input replays the first result without generating or charging again.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"expectedRevision",
"prompt",
"goal",
"slideCount",
"style",
"withImages",
"imageModelId",
"characterIds",
"places",
"sourceUrl",
"idempotencyKey"
],
"properties": {
"goal": {
"enum": [
"grow",
"convert",
"both"
],
"type": "string"
},
"style": {
"anyOf": [
{
"enum": [
"brand",
"midnight",
"paper",
"cobalt",
"forest",
"editorial",
"night_city",
"neon_86",
"west_coast",
"rust_belt",
"golden_hour",
"postcard"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Ready-made look; null keeps the carousel's current look."
},
"places": {
"type": "array",
"items": {
"type": "object",
"required": [
"storyKitId",
"locationId"
],
"properties": {
"locationId": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"storyKitId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 3,
"description": "Saved places to set the photos in (a Story Kit location); their reference photo keeps the same room. Empty lets the prompt decide."
},
"prompt": {
"type": "string",
"maxLength": 2000,
"minLength": 3
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"sourceUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"minLength": 3
},
{
"type": "null"
}
],
"default": null,
"description": "A public web page the carousel is about (full URL or domain); its text grounds the slides. Null reads a web address written in the prompt, if any."
},
"slideCount": {
"anyOf": [
{
"type": "integer",
"maximum": 20,
"minimum": 4
},
{
"type": "null"
}
],
"description": "Total slides including cover and call to action; null lets the prompt decide."
},
"withImages": {
"type": "boolean"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"characterIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"default": [],
"maxItems": 3,
"description": "Saved AI characters to cast in the photos, by id; their saved references keep their faces. Empty lets the prompt decide."
},
"imageModelId": {
"anyOf": [
{
"enum": [
"fal-ai/nano-banana-2",
"fal-ai/nano-banana-pro",
"bytedance/seedream/v5/pro/text-to-image",
"bytedance/seedream/v5.5/text-to-image"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Image model for the generated photos; null uses Nano Banana 2. Ignored when withImages is false."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Replace the board only at this revision; null replaces the latest board."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "carousels_compile",
"title": "Compile Carousel",
"description": "Create or replace a carousel project from a slide document. Server owns chip layout, safezones, and exact export pixels.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"platform",
"name",
"slides",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"style": {
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"locale": {
"type": "string",
"maxLength": 12,
"minLength": 2
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"lines",
"visual"
],
"properties": {
"role": {
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 6
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"layout_overrides": {
"type": "object",
"properties": {
"top_px": {
"type": "integer",
"maximum": 1920,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 35,
"minItems": 1
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"series_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"clear_existing": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"project_id",
"revision",
"platform",
"slide_count",
"slides",
"frame",
"warnings",
"next_actions",
"mutationReceipt"
],
"properties": {
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"job_id": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"timeline_item_ids",
"overlay_ids",
"layout_applied",
"chip_band_px"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"overlay_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"chip_band_px": {
"type": "object",
"required": [
"top",
"bottom"
],
"properties": {
"top": {
"type": "number"
},
"bottom": {
"type": "number"
}
},
"additionalProperties": false
},
"layout_applied": {
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
"timeline_item_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"slide_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"ai_image_run_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "carousels_patch_slide",
"title": "Patch Carousel Slide",
"description": "Patch native slots/media or select a completed Remotion frame artifact and crop. Requires expectedRevision; identical keys replay.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId",
"expectedRevision",
"slideIndex"
],
"properties": {
"crop": {
"anyOf": [
{
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 6
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"slideIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"templateId": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"mediaAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"creativeArtifactId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| boolean |
| Append Try BlitzReels for free plus Affonso tracking URL. |
| affiliateTrackingUrl | string | Optional BlitzReels URL with via/ref/aff override. |
| trialGraduationStrategy | any |
{
"name": "publishing_instagram_schedule",
"title": "Schedule Instagram Publish",
"description": "Schedule a completed project export to Instagram. Optional includeAffiliateCta appends Try BlitzReels for free plus the Affonso tracking URL. Requires an active Instagram account connected in the BlitzReels UI.",
"inputSchema": {
"type": "object",
"required": [
"projectId",
"scheduledFor"
],
"properties": {
"caption": {
"type": "string",
"description": "Caption text (max 2200)."
},
"exportId": {
"type": "string",
"format": "uuid",
"description": "Completed export UUID. Defaults to latest completed. UUID string."
},
"timezone": {
"type": "string",
"default": "UTC",
"description": "IANA timezone. Defaults to UTC."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Project UUID. UUID string."
},
"trialReel": {
"type": "boolean",
"description": "Publish as Trial Reel (video only)."
},
"shareToFeed": {
"type": "boolean",
"description": "Also share Reel to profile feed."
},
"connectionId": {
"type": "string",
"description": "Instagram connection UUID when multiple exist."
},
"scheduledFor": {
"type": "string",
"description": "ISO-8601 datetime for the scheduled publish."
},
"affiliateCtaText": {
"type": "string",
"description": "Optional CTA text override (max 80)."
},
"includeAffiliateCta": {
"type": "boolean",
"default": false,
"description": "Append Try BlitzReels for free plus Affonso tracking URL."
},
"affiliateTrackingUrl": {
"type": "string",
"description": "Optional BlitzReels URL with via/ref/aff override."
},
"trialGraduationStrategy": {
"anyOf": [
{
"enum": [
"MANUAL",
"SS_PERFORMANCE"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"postId",
"targetId",
"platform",
"status",
"scheduledFor",
"connectionId",
"exportId",
"projectId",
"publishKind"
],
"properties": {
"postId": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": "string"
},
"platform": {
"type": "string"
},
"targetId": {
"type": "string"
},
"projectId": {
"type": "string"
},
"publishKind": {
"type": "string"
},
"connectionId": {
"type": "string"
},
"scheduledFor": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| include_affiliate_cta | boolean |
| affiliate_tracking_url | any |
| contains_synthetic_media * | boolean |
{
"name": "publishing_video_schedule",
"title": "Schedule Reviewed Video Publication",
"description": "Schedule a selected existing video asset to explicit active YouTube, Instagram, Facebook, TikTok, LinkedIn or Threads accounts connected in the BlitzReels UI, using reviewed copy, privacy/consent choices, synthetic-media disclosure, time and timezone. Requires confirmPublish=true. Existing workspace permissions and provider access rules apply. A scheduled receipt is not proof of publication.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"media_asset_id",
"contains_synthetic_media",
"scheduled_for",
"targets",
"workspaceId",
"idempotencyKey",
"confirmPublish"
],
"properties": {
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "null"
}
]
},
"targets": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "linkedin"
},
"connection_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "threads"
},
"connection_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 100,
"minLength": 1
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"const": "youtube"
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "null"
}
]
},
"connection_id": {
"type": [
"string",
"null"
]
},
"made_for_kids": {
"type": [
"boolean",
"null"
]
},
"privacy_status": {
"anyOf": [
{
"enum": [
"private",
"unlisted",
"public"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "instagram"
},
"trial_reel": {
"type": [
"boolean",
"null"
]
},
"connection_id": {
"type": [
"string",
"null"
]
},
"share_to_feed": {
"type": [
"boolean",
"null"
]
},
"trial_graduation_strategy": {
"anyOf": [
{
"enum": [
"MANUAL",
"SS_PERFORMANCE"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"const": "facebook"
},
"connection_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "tiktok"
},
"allow_duet": {
"type": [
"boolean",
"null"
]
},
"allow_stitch": {
"type": [
"boolean",
"null"
]
},
"publish_mode": {
"anyOf": [
{
"enum": [
"direct_post",
"draft"
],
"type": "string"
},
{
"type": "null"
}
]
},
"allow_comment": {
"type": [
"boolean",
"null"
]
},
"brand_organic": {
"type": [
"boolean",
"null"
]
},
"connection_id": {
"type": [
"string",
"null"
]
},
"privacy_level": {
"anyOf": [
{
"enum": [
"PUBLIC_TO_EVERYONE",
"FOLLOWER_OF_CREATOR",
"MUTUAL_FOLLOW_FRIENDS",
"SELF_ONLY"
],
"type": "string"
},
{
"type": "null"
}
]
},
"branded_content": {
"type": [
"boolean",
"null"
]
},
"is_ai_generated": {
"type": [
"boolean",
"null"
]
},
"consent_accepted": {
"type": [
"boolean",
"null"
]
},
"cover_timestamp_ms": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"commercial_content_enabled": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
]
},
"maxItems": 6,
"minItems": 1
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"scheduled_for": {
"type": "string"
},
"confirmPublish": {
"type": "boolean",
"const": true
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"media_asset_id": {
"type": "string"
},
"affiliate_cta_text": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"include_affiliate_cta": {
"type": "boolean"
},
"affiliate_tracking_url": {
"anyOf": [
{
"type": "string",
"format": "uri",
"maxLength": 500
},
{
"type": "null"
}
]
},
"contains_synthetic_media": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}