addedInput schema / properties / operations / items / anyOf
Added value: +[
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "frame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "upsert_text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cardId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "camera": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ },
+ "z": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "z"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "const": "set_camera",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "camera"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activeTemplate": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "enteredAt": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "slug": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ "taskType": {
+ "enum": [
+ "image",
+ "video",
+ "audio",
+ "timeline"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "title",
+ "source",
+ "taskType",
+ "enteredAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "const": "set_workflow",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "activeTemplate"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "assetId": {
+ "type": "null"
+ },
+ "audioRole": {
+ "enum": [
+ "music",
+ "voice",
+ "sound_effect",
+ "source_audio",
+ "reference"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "clipCount": {
+ "anyOf": [
+ {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "durationSec": {
+ "anyOf": [
+ {
+ "maximum": 86400,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "anyOf": [
+ {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "generationRunId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationSnapshot": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "capturedAt": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resolvedPrompt": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "textReferences": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "name",
+ "textRole",
+ "textContent"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "type",
+ "capturedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "text",
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "lastRenderAssetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "pinnedOutputId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceConfigCardId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceGenerationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "status": {
+ "default": "idle",
+ "enum": [
+ "idle",
+ "pending",
+ "processing",
+ "succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "default": "note",
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ },
+ "timelineId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ },
+ "url": {
+ "default": null,
+ "type": "null"
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "waveformPeaks": {
+ "items": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxItems": 256,
+ "type": "array"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "id",
+ "textContent",
+ "name",
+ "kind",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "assetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "audioRole": {
+ "enum": [
+ "music",
+ "voice",
+ "sound_effect",
+ "source_audio",
+ "reference"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "clipCount": {
+ "anyOf": [
+ {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "durationSec": {
+ "anyOf": [
+ {
+ "maximum": 86400,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "anyOf": [
+ {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "generationRunId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationSnapshot": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "capturedAt": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resolvedPrompt": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "textReferences": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "name",
+ "textRole",
+ "textContent"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "type",
+ "capturedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "asset",
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "lastRenderAssetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "pinnedOutputId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceConfigCardId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceGenerationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "status": {
+ "default": "idle",
+ "enum": [
+ "idle",
+ "pending",
+ "processing",
+ "succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ },
+ "timelineId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video",
+ "audio",
+ "timeline"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "waveformPeaks": {
+ "items": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxItems": 256,
+ "type": "array"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "kind",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "assetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "audioRole": {
+ "enum": [
+ "music",
+ "voice",
+ "sound_effect",
+ "source_audio",
+ "reference"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "clipCount": {
+ "anyOf": [
+ {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "durationSec": {
+ "anyOf": [
+ {
+ "maximum": 86400,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "anyOf": [
+ {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "generationRunId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationSnapshot": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "capturedAt": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resolvedPrompt": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "textReferences": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "name",
+ "textRole",
+ "textContent"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "type",
+ "capturedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "generation",
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "lastRenderAssetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "pinnedOutputId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceConfigCardId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceGenerationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "status": {
+ "default": "idle",
+ "enum": [
+ "idle",
+ "pending",
+ "processing",
+ "succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ },
+ "timelineId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "waveformPeaks": {
+ "items": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxItems": 256,
+ "type": "array"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "kind",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "assetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "audioRole": {
+ "enum": [
+ "music",
+ "voice",
+ "sound_effect",
+ "source_audio",
+ "reference"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "clipCount": {
+ "anyOf": [
+ {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "durationSec": {
+ "anyOf": [
+ {
+ "maximum": 86400,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "anyOf": [
+ {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "generationRunId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "generationSnapshot": {
+ "additionalProperties": false,
+ "properties": {
+ "analysisDepth": {
+ "enum": [
+ "standard",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "aspectRatio": {
+ "default": "1:1",
+ "enum": [
+ "16:9",
+ "21:9",
+ "4:3",
+ "5:4",
+ "9:16",
+ "9:21",
+ "3:4",
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "4:5",
+ "auto",
+ "adaptive",
+ "landscape",
+ "portrait"
+ ],
+ "type": "string"
+ },
+ "backgroundSource": {
+ "enum": [
+ "input_image",
+ "input_video"
+ ],
+ "type": "string"
+ },
+ "capturedAt": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "characterOrientation": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": "5s",
+ "maxLength": 20,
+ "pattern": "^\\d+(?:\\.\\d+)?s$",
+ "type": "string"
+ },
+ "generationMode": {
+ "enum": [
+ "image",
+ "video",
+ "analysis"
+ ],
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resolvedPrompt": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "textReferences": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardId",
+ "name",
+ "textRole",
+ "textContent"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "type",
+ "capturedAt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "output",
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "lastRenderAssetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mode": {
+ "default": "quality",
+ "enum": [
+ "quality",
+ "fast",
+ "lite"
+ ],
+ "type": "string"
+ },
+ "modelId": {
+ "default": "",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outputQuality": {
+ "default": "1k",
+ "enum": [
+ "1k",
+ "2k",
+ "480p",
+ "720p",
+ "768p",
+ "1080p",
+ "4k",
+ "std",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "pinnedOutputId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "prompt": {
+ "default": "",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "quality": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "high",
+ "low",
+ "medium"
+ ],
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "resultText": {
+ "anyOf": [
+ {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceConfigCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceGenerationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "status": {
+ "default": "idle",
+ "enum": [
+ "idle",
+ "pending",
+ "processing",
+ "succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "textContent": {
+ "maxLength": 100000,
+ "type": "string"
+ },
+ "textRole": {
+ "enum": [
+ "note",
+ "script",
+ "character",
+ "storyboard"
+ ],
+ "type": "string"
+ },
+ "timelineId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "variant": {
+ "default": "standard",
+ "enum": [
+ "standard",
+ "pro"
+ ],
+ "type": "string"
+ },
+ "waveformPeaks": {
+ "items": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxItems": 256,
+ "type": "array"
+ },
+ "workflowTemplateId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "sourceConfigCardId",
+ "generationRunId",
+ "generationSnapshot",
+ "kind",
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "frame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "upsert_card",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "card"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "remove_card",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cardId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "frame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "move_card",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cardId",
+ "frame"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "offsetIndex": {
+ "default": 0,
+ "maximum": 499,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "side": {
+ "default": "right",
+ "enum": [
+ "left",
+ "right"
+ ],
+ "type": "string"
+ },
+ "sourceCardIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "type": {
+ "const": "place_card",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cardId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "type": {
+ "const": "set_references",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cardId",
+ "referenceCardIds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clipCount": {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "durationSec": {
+ "maximum": 86400,
+ "minimum": 0,
+ "type": "number"
+ },
+ "frame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "lastRenderAssetId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lastRenderUrl": {
+ "anyOf": [
+ {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "referenceCardIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "timelineId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "upsert_timeline_node",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "timelineId",
+ "name",
+ "durationSec",
+ "clipCount"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "collapsed": {
+ "type": "boolean"
+ },
+ "expandedFrame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "memberCardIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "resultCardId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "role": {
+ "enum": [
+ "shot",
+ "references",
+ "sound",
+ "packaging",
+ "timeline"
+ ],
+ "type": "string"
+ },
+ "summaryFrame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "create_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId",
+ "name",
+ "role",
+ "memberCardIds",
+ "summaryFrame",
+ "expandedFrame"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "resultCardId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "role": {
+ "enum": [
+ "shot",
+ "references",
+ "sound",
+ "packaging",
+ "timeline"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "update_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "memberCardIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "type": {
+ "const": "set_group_members",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId",
+ "memberCardIds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "collapsed": {
+ "type": "boolean"
+ },
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "set_group_collapsed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId",
+ "collapsed"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "deltaX": {
+ "type": "number"
+ },
+ "deltaY": {
+ "type": "number"
+ },
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "move_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId",
+ "deltaX",
+ "deltaY"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "frame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "summary",
+ "expanded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "resize_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId",
+ "target",
+ "frame"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "remove_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "tidy",
+ "row",
+ "column"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "layout_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId",
+ "mode"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "groupId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "fit_group",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "groupIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "mode": {
+ "enum": [
+ "tidy",
+ "row",
+ "column"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "arrange_groups",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "groupIds",
+ "mode"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "historyMode": {
+ "enum": [
+ "current",
+ "all"
+ ],
+ "type": "string"
+ },
+ "referenceMode": {
+ "enum": [
+ "focused",
+ "all"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "set_organization_view",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "bindingId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "consumerCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "elementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "order": {
+ "maximum": 19,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "referenceCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reviewedAgainstCurrentVersionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "source",
+ "reference",
+ "style",
+ "subject",
+ "pose",
+ "audio_track"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "bind_element",
+ "type": "string"
+ },
+ "versionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "bindingId",
+ "consumerCardId",
+ "elementId",
+ "versionId",
+ "assetId",
+ "referenceCardId",
+ "order",
+ "role"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bindingId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "unbind_element",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "bindingId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "binding": {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "consumerCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "elementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "order": {
+ "maximum": 19,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "referenceCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reviewedAgainstCurrentVersionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "source",
+ "reference",
+ "style",
+ "subject",
+ "pose",
+ "audio_track"
+ ],
+ "type": "string"
+ },
+ "versionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "consumerCardId",
+ "elementId",
+ "versionId",
+ "assetId",
+ "referenceCardId",
+ "order",
+ "role",
+ "reviewedAgainstCurrentVersionId"
+ ],
+ "type": "object"
+ },
+ "bindingId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "decision": {
+ "enum": [
+ "keep",
+ "adopt"
+ ],
+ "type": "string"
+ },
+ "observedCurrentVersionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "review_element_binding",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "bindingId",
+ "observedCurrentVersionId",
+ "decision"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "binding": {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "elementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "referenceCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "versionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "assetId",
+ "referenceCardId"
+ ],
+ "type": "object"
+ },
+ "instanceId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "slotId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "bind_template_slot",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "instanceId",
+ "slotId",
+ "binding"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "instanceId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "slotId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "unbind_template_slot",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "instanceId",
+ "slotId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "instanceId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "detach_template_instance",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "instanceId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "organization": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "elementBindings": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "consumerCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "elementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "order": {
+ "maximum": 19,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "referenceCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reviewedAgainstCurrentVersionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "source",
+ "reference",
+ "style",
+ "subject",
+ "pose",
+ "audio_track"
+ ],
+ "type": "string"
+ },
+ "versionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "consumerCardId",
+ "elementId",
+ "versionId",
+ "assetId",
+ "referenceCardId",
+ "order",
+ "role",
+ "reviewedAgainstCurrentVersionId"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "groups": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "collapsed": {
+ "default": false,
+ "type": "boolean"
+ },
+ "expandedFrame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "memberCardIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "resultCardId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "role": {
+ "enum": [
+ "shot",
+ "references",
+ "sound",
+ "packaging",
+ "timeline"
+ ],
+ "type": "string"
+ },
+ "summaryFrame": {
+ "additionalProperties": false,
+ "properties": {
+ "h": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "w": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y",
+ "w",
+ "h"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "role",
+ "memberCardIds",
+ "summaryFrame",
+ "expandedFrame"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "templateInstances": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "creationRequestHash": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "definitionDigest": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "groupIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "slotBindings": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "elementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "referenceCardId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "versionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "assetId",
+ "referenceCardId"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "slotDefinitions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "consumers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "order": {
+ "maximum": 19,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "role": {
+ "enum": [
+ "source",
+ "reference",
+ "style",
+ "subject",
+ "pose",
+ "audio_track"
+ ],
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "stepId",
+ "order"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mediaType": {
+ "enum": [
+ "image",
+ "video",
+ "audio"
+ ],
+ "type": "string"
+ },
+ "required": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "mediaType",
+ "required",
+ "consumers"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "stepCardIds": {
+ "additionalProperties": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "templateId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "templateRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "templateId",
+ "templateRevision",
+ "definitionDigest",
+ "creationRequestHash",
+ "stepCardIds",
+ "slotDefinitions",
+ "slotBindings",
+ "groupIds",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "view": {
+ "additionalProperties": false,
+ "properties": {
+ "historyMode": {
+ "enum": [
+ "current",
+ "all"
+ ],
+ "type": "string"
+ },
+ "referenceMode": {
+ "enum": [
+ "focused",
+ "all"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "historyMode",
+ "referenceMode"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "groups",
+ "elementBindings",
+ "templateInstances",
+ "view"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "const": "set_canvas_organization",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "organization"
+ ],
+ "type": "object"
+ }
+]
removedInput schema / properties / operations / items / oneOf
Removed value: -[
- {
- "additionalProperties": false,
- "properties": {
- "camera": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- },
- "z": {
- "exclusiveMinimum": 0,
- "type": "number"
- }
- },
- "required": [
- "x",
- "y",
- "z"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "const": "set_camera",
- "type": "string"
- }
- },
- "required": [
- "type",
- "camera"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activeTemplate": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "enteredAt": {
- "maxLength": 80,
- "type": "string"
- },
- "slug": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "source": {
- "maxLength": 4096,
- "type": "string"
- },
- "taskType": {
- "enum": [
- "image",
- "video",
- "audio",
- "timeline"
- ],
- "type": "string"
- },
- "title": {
- "maxLength": 500,
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title",
- "source",
- "taskType",
- "enteredAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "const": "set_workflow",
- "type": "string"
- }
- },
- "required": [
- "type",
- "activeTemplate"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "analysisDepth": {
- "enum": [
- "standard",
- "deep"
- ],
- "type": "string"
- },
- "aspectRatio": {
- "default": "1:1",
- "enum": [
- "16:9",
- "21:9",
- "4:3",
- "5:4",
- "9:16",
- "9:21",
- "3:4",
- "1:1",
- "1:2",
- "2:1",
- "1:3",
- "3:1",
- "2:3",
- "3:2",
- "4:5",
- "auto",
- "adaptive",
- "landscape",
- "portrait"
- ],
- "type": "string"
- },
- "assetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "audioRole": {
- "enum": [
- "music",
- "voice",
- "sound_effect",
- "source_audio",
- "reference"
- ],
- "type": "string"
- },
- "backgroundSource": {
- "enum": [
- "input_image",
- "input_video"
- ],
- "type": "string"
- },
- "characterOrientation": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "clipCount": {
- "anyOf": [
- {
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "duration": {
- "default": "5s",
- "maxLength": 20,
- "pattern": "^\\d+(?:\\.\\d+)?s$",
- "type": "string"
- },
- "durationSec": {
- "anyOf": [
- {
- "maximum": 86400,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "error": {
- "anyOf": [
- {
- "maxLength": 20000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "generationMode": {
- "enum": [
- "image",
- "video",
- "analysis"
- ],
- "type": "string"
- },
- "generationRunId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "generationSnapshot": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "analysisDepth": {
- "enum": [
- "standard",
- "deep"
- ],
- "type": "string"
- },
- "aspectRatio": {
- "default": "1:1",
- "enum": [
- "16:9",
- "21:9",
- "4:3",
- "5:4",
- "9:16",
- "9:21",
- "3:4",
- "1:1",
- "1:2",
- "2:1",
- "1:3",
- "3:1",
- "2:3",
- "3:2",
- "4:5",
- "auto",
- "adaptive",
- "landscape",
- "portrait"
- ],
- "type": "string"
- },
- "backgroundSource": {
- "enum": [
- "input_image",
- "input_video"
- ],
- "type": "string"
- },
- "capturedAt": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "characterOrientation": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "duration": {
- "default": "5s",
- "maxLength": 20,
- "pattern": "^\\d+(?:\\.\\d+)?s$",
- "type": "string"
- },
- "generationMode": {
- "enum": [
- "image",
- "video",
- "analysis"
- ],
- "type": "string"
- },
- "language": {
- "enum": [
- "zh",
- "en"
- ],
- "type": "string"
- },
- "mode": {
- "default": "quality",
- "enum": [
- "quality",
- "fast",
- "lite"
- ],
- "type": "string"
- },
- "modelId": {
- "default": "",
- "maxLength": 200,
- "type": "string"
- },
- "outputQuality": {
- "default": "1k",
- "enum": [
- "1k",
- "2k",
- "480p",
- "720p",
- "768p",
- "1080p",
- "4k",
- "std",
- "pro"
- ],
- "type": "string"
- },
- "prompt": {
- "default": "",
- "maxLength": 20000,
- "type": "string"
- },
- "quality": {
- "default": "standard",
- "enum": [
- "standard",
- "high",
- "low",
- "medium"
- ],
- "type": "string"
- },
- "referenceCardIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "resultText": {
- "anyOf": [
- {
- "maxLength": 100000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "variant": {
- "default": "standard",
- "enum": [
- "standard",
- "pro"
- ],
- "type": "string"
- },
- "workflowTemplateId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "type",
- "capturedAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "asset",
- "type": "string"
- },
- "language": {
- "enum": [
- "zh",
- "en"
- ],
- "type": "string"
- },
- "lastRenderAssetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "mode": {
- "default": "quality",
- "enum": [
- "quality",
- "fast",
- "lite"
- ],
- "type": "string"
- },
- "modelId": {
- "default": "",
- "maxLength": 200,
- "type": "string"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "outputQuality": {
- "default": "1k",
- "enum": [
- "1k",
- "2k",
- "480p",
- "720p",
- "768p",
- "1080p",
- "4k",
- "std",
- "pro"
- ],
- "type": "string"
- },
- "pinnedOutputId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "prompt": {
- "default": "",
- "maxLength": 20000,
- "type": "string"
- },
- "quality": {
- "default": "standard",
- "enum": [
- "standard",
- "high",
- "low",
- "medium"
- ],
- "type": "string"
- },
- "referenceCardIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "resultText": {
- "anyOf": [
- {
- "maxLength": 100000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceConfigCardId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceGenerationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "status": {
- "default": "idle",
- "enum": [
- "idle",
- "pending",
- "processing",
- "succeeded",
- "failed"
- ],
- "type": "string"
- },
- "timelineId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "image",
- "video",
- "audio",
- "timeline"
- ],
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 4096,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "variant": {
- "default": "standard",
- "enum": [
- "standard",
- "pro"
- ],
- "type": "string"
- },
- "waveformPeaks": {
- "items": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "maxItems": 256,
- "type": "array"
- },
- "workflowTemplateId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "id",
- "name",
- "kind",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "analysisDepth": {
- "enum": [
- "standard",
- "deep"
- ],
- "type": "string"
- },
- "aspectRatio": {
- "default": "1:1",
- "enum": [
- "16:9",
- "21:9",
- "4:3",
- "5:4",
- "9:16",
- "9:21",
- "3:4",
- "1:1",
- "1:2",
- "2:1",
- "1:3",
- "3:1",
- "2:3",
- "3:2",
- "4:5",
- "auto",
- "adaptive",
- "landscape",
- "portrait"
- ],
- "type": "string"
- },
- "assetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "audioRole": {
- "enum": [
- "music",
- "voice",
- "sound_effect",
- "source_audio",
- "reference"
- ],
- "type": "string"
- },
- "backgroundSource": {
- "enum": [
- "input_image",
- "input_video"
- ],
- "type": "string"
- },
- "characterOrientation": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "clipCount": {
- "anyOf": [
- {
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "duration": {
- "default": "5s",
- "maxLength": 20,
- "pattern": "^\\d+(?:\\.\\d+)?s$",
- "type": "string"
- },
- "durationSec": {
- "anyOf": [
- {
- "maximum": 86400,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "error": {
- "anyOf": [
- {
- "maxLength": 20000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "generationMode": {
- "enum": [
- "image",
- "video",
- "analysis"
- ],
- "type": "string"
- },
- "generationRunId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "generationSnapshot": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "analysisDepth": {
- "enum": [
- "standard",
- "deep"
- ],
- "type": "string"
- },
- "aspectRatio": {
- "default": "1:1",
- "enum": [
- "16:9",
- "21:9",
- "4:3",
- "5:4",
- "9:16",
- "9:21",
- "3:4",
- "1:1",
- "1:2",
- "2:1",
- "1:3",
- "3:1",
- "2:3",
- "3:2",
- "4:5",
- "auto",
- "adaptive",
- "landscape",
- "portrait"
- ],
- "type": "string"
- },
- "backgroundSource": {
- "enum": [
- "input_image",
- "input_video"
- ],
- "type": "string"
- },
- "capturedAt": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "characterOrientation": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "duration": {
- "default": "5s",
- "maxLength": 20,
- "pattern": "^\\d+(?:\\.\\d+)?s$",
- "type": "string"
- },
- "generationMode": {
- "enum": [
- "image",
- "video",
- "analysis"
- ],
- "type": "string"
- },
- "language": {
- "enum": [
- "zh",
- "en"
- ],
- "type": "string"
- },
- "mode": {
- "default": "quality",
- "enum": [
- "quality",
- "fast",
- "lite"
- ],
- "type": "string"
- },
- "modelId": {
- "default": "",
- "maxLength": 200,
- "type": "string"
- },
- "outputQuality": {
- "default": "1k",
- "enum": [
- "1k",
- "2k",
- "480p",
- "720p",
- "768p",
- "1080p",
- "4k",
- "std",
- "pro"
- ],
- "type": "string"
- },
- "prompt": {
- "default": "",
- "maxLength": 20000,
- "type": "string"
- },
- "quality": {
- "default": "standard",
- "enum": [
- "standard",
- "high",
- "low",
- "medium"
- ],
- "type": "string"
- },
- "referenceCardIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "resultText": {
- "anyOf": [
- {
- "maxLength": 100000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "variant": {
- "default": "standard",
- "enum": [
- "standard",
- "pro"
- ],
- "type": "string"
- },
- "workflowTemplateId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "type",
- "capturedAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "generation",
- "type": "string"
- },
- "language": {
- "enum": [
- "zh",
- "en"
- ],
- "type": "string"
- },
- "lastRenderAssetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "mode": {
- "default": "quality",
- "enum": [
- "quality",
- "fast",
- "lite"
- ],
- "type": "string"
- },
- "modelId": {
- "default": "",
- "maxLength": 200,
- "type": "string"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "outputQuality": {
- "default": "1k",
- "enum": [
- "1k",
- "2k",
- "480p",
- "720p",
- "768p",
- "1080p",
- "4k",
- "std",
- "pro"
- ],
- "type": "string"
- },
- "pinnedOutputId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "prompt": {
- "default": "",
- "maxLength": 20000,
- "type": "string"
- },
- "quality": {
- "default": "standard",
- "enum": [
- "standard",
- "high",
- "low",
- "medium"
- ],
- "type": "string"
- },
- "referenceCardIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "resultText": {
- "anyOf": [
- {
- "maxLength": 100000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceConfigCardId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceGenerationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "status": {
- "default": "idle",
- "enum": [
- "idle",
- "pending",
- "processing",
- "succeeded",
- "failed"
- ],
- "type": "string"
- },
- "timelineId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 4096,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "variant": {
- "default": "standard",
- "enum": [
- "standard",
- "pro"
- ],
- "type": "string"
- },
- "waveformPeaks": {
- "items": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "maxItems": 256,
- "type": "array"
- },
- "workflowTemplateId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "id",
- "name",
- "kind",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "analysisDepth": {
- "enum": [
- "standard",
- "deep"
- ],
- "type": "string"
- },
- "aspectRatio": {
- "default": "1:1",
- "enum": [
- "16:9",
- "21:9",
- "4:3",
- "5:4",
- "9:16",
- "9:21",
- "3:4",
- "1:1",
- "1:2",
- "2:1",
- "1:3",
- "3:1",
- "2:3",
- "3:2",
- "4:5",
- "auto",
- "adaptive",
- "landscape",
- "portrait"
- ],
- "type": "string"
- },
- "assetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "audioRole": {
- "enum": [
- "music",
- "voice",
- "sound_effect",
- "source_audio",
- "reference"
- ],
- "type": "string"
- },
- "backgroundSource": {
- "enum": [
- "input_image",
- "input_video"
- ],
- "type": "string"
- },
- "characterOrientation": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "clipCount": {
- "anyOf": [
- {
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "duration": {
- "default": "5s",
- "maxLength": 20,
- "pattern": "^\\d+(?:\\.\\d+)?s$",
- "type": "string"
- },
- "durationSec": {
- "anyOf": [
- {
- "maximum": 86400,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "error": {
- "anyOf": [
- {
- "maxLength": 20000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "generationMode": {
- "enum": [
- "image",
- "video",
- "analysis"
- ],
- "type": "string"
- },
- "generationRunId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "generationSnapshot": {
- "additionalProperties": false,
- "properties": {
- "analysisDepth": {
- "enum": [
- "standard",
- "deep"
- ],
- "type": "string"
- },
- "aspectRatio": {
- "default": "1:1",
- "enum": [
- "16:9",
- "21:9",
- "4:3",
- "5:4",
- "9:16",
- "9:21",
- "3:4",
- "1:1",
- "1:2",
- "2:1",
- "1:3",
- "3:1",
- "2:3",
- "3:2",
- "4:5",
- "auto",
- "adaptive",
- "landscape",
- "portrait"
- ],
- "type": "string"
- },
- "backgroundSource": {
- "enum": [
- "input_image",
- "input_video"
- ],
- "type": "string"
- },
- "capturedAt": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "characterOrientation": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "duration": {
- "default": "5s",
- "maxLength": 20,
- "pattern": "^\\d+(?:\\.\\d+)?s$",
- "type": "string"
- },
- "generationMode": {
- "enum": [
- "image",
- "video",
- "analysis"
- ],
- "type": "string"
- },
- "language": {
- "enum": [
- "zh",
- "en"
- ],
- "type": "string"
- },
- "mode": {
- "default": "quality",
- "enum": [
- "quality",
- "fast",
- "lite"
- ],
- "type": "string"
- },
- "modelId": {
- "default": "",
- "maxLength": 200,
- "type": "string"
- },
- "outputQuality": {
- "default": "1k",
- "enum": [
- "1k",
- "2k",
- "480p",
- "720p",
- "768p",
- "1080p",
- "4k",
- "std",
- "pro"
- ],
- "type": "string"
- },
- "prompt": {
- "default": "",
- "maxLength": 20000,
- "type": "string"
- },
- "quality": {
- "default": "standard",
- "enum": [
- "standard",
- "high",
- "low",
- "medium"
- ],
- "type": "string"
- },
- "referenceCardIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "resultText": {
- "anyOf": [
- {
- "maxLength": 100000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "variant": {
- "default": "standard",
- "enum": [
- "standard",
- "pro"
- ],
- "type": "string"
- },
- "workflowTemplateId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "type",
- "capturedAt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "output",
- "type": "string"
- },
- "language": {
- "enum": [
- "zh",
- "en"
- ],
- "type": "string"
- },
- "lastRenderAssetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "mode": {
- "default": "quality",
- "enum": [
- "quality",
- "fast",
- "lite"
- ],
- "type": "string"
- },
- "modelId": {
- "default": "",
- "maxLength": 200,
- "type": "string"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "outputQuality": {
- "default": "1k",
- "enum": [
- "1k",
- "2k",
- "480p",
- "720p",
- "768p",
- "1080p",
- "4k",
- "std",
- "pro"
- ],
- "type": "string"
- },
- "pinnedOutputId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "prompt": {
- "default": "",
- "maxLength": 20000,
- "type": "string"
- },
- "quality": {
- "default": "standard",
- "enum": [
- "standard",
- "high",
- "low",
- "medium"
- ],
- "type": "string"
- },
- "referenceCardIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "resultText": {
- "anyOf": [
- {
- "maxLength": 100000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceConfigCardId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "sourceGenerationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "status": {
- "default": "idle",
- "enum": [
- "idle",
- "pending",
- "processing",
- "succeeded",
- "failed"
- ],
- "type": "string"
- },
- "timelineId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 4096,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "variant": {
- "default": "standard",
- "enum": [
- "standard",
- "pro"
- ],
- "type": "string"
- },
- "waveformPeaks": {
- "items": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "maxItems": 256,
- "type": "array"
- },
- "workflowTemplateId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "id",
- "name",
- "sourceConfigCardId",
- "generationRunId",
- "generationSnapshot",
- "kind",
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "frame": {
- "additionalProperties": false,
- "properties": {
- "h": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "w": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y",
- "w",
- "h"
- ],
- "type": "object"
- },
- "type": {
- "const": "upsert_card",
- "type": "string"
- }
- },
- "required": [
- "type",
- "card"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "remove_card",
- "type": "string"
- }
- },
- "required": [
- "type",
- "cardId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "frame": {
- "additionalProperties": false,
- "properties": {
- "h": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "w": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y",
- "w",
- "h"
- ],
- "type": "object"
- },
- "type": {
- "const": "move_card",
- "type": "string"
- }
- },
- "required": [
- "type",
- "cardId",
- "frame"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "offsetIndex": {
- "default": 0,
- "maximum": 499,
- "minimum": 0,
- "type": "integer"
- },
- "side": {
- "default": "right",
- "enum": [
- "left",
- "right"
- ],
- "type": "string"
- },
- "sourceCardIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "type": {
- "const": "place_card",
- "type": "string"
- }
- },
- "required": [
- "type",
- "cardId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "referenceCardIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "type": {
- "const": "set_references",
- "type": "string"
- }
- },
- "required": [
- "type",
- "cardId",
- "referenceCardIds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "clipCount": {
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- "durationSec": {
- "maximum": 86400,
- "minimum": 0,
- "type": "number"
- },
- "frame": {
- "additionalProperties": false,
- "properties": {
- "h": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "w": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y",
- "w",
- "h"
- ],
- "type": "object"
- },
- "lastRenderAssetId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "lastRenderUrl": {
- "anyOf": [
- {
- "maxLength": 4096,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "referenceCardIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "timelineId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "upsert_timeline_node",
- "type": "string"
- }
- },
- "required": [
- "type",
- "timelineId",
- "name",
- "durationSec",
- "clipCount"
- ],
- "type": "object"
- }
-]