MCP Site
site_film_editor

Смонтировать ролик для сайта

Работает с монтажной шкалой, титрами, звуком и экспортом в разные соотношения сторон.

С изменениями

Примеры промптов

Запрос в чат
Собери черновой монтаж из трёх выбранных сцен с начальным титром. Покажи предпросмотр вертикальной версии до публикации.
Что проверить в ответе

Работает с монтажной шкалой, титрами, звуком и экспортом в разные соотношения сторон.

Запрос в чат
Для задачи «Смонтировать ролик для сайта» сравни режимы timeline и preview инструмента site_film_editor. Какой подойдёт в моём случае и какие данные нужно подготовить?
Что проверить в ответе

Сопоставить два режима и их аргументы.

Запрос в чат
При выполнении «Смонтировать ролик для сайта» связь прервалась после отправки. Для site_film_editor проверь исходный ключ операции и текущее состояние объекта перед решением о повторе.
Что проверить в ответе

Сопоставить результат с исходной операцией.

Как проходит вызов
Вход: siteId, projectId, expectedRevision. Результат: данные операции.
Как уточнить расплывчатый запрос
Сделай красиво.

Назовите материал, формат и вид результата, который хотите согласовать.

Собери черновой монтаж из трёх выбранных сцен с начальным титром. Покажи предпросмотр вертикальной версии до публикации.

Параметры запроса
siteId
Идентификатор сайта из списка доступных сайтов. строка · обязательно по схеме
projectId
строка · необязательно
expectedRevision
Актуальная ревизия объекта перед изменением. целое число · необязательно · до 9007199254740991
idempotencyKey
Ключ одной операции. При повторе с теми же данными сохраните ключ. строка · необязательно
operation
Выбранный режим инструмента. timeline, preview, render, export, publish · обязательно по схеме
timeline
объект · необязательно
jobId
Идентификатор фонового задания из ответа запуска. строка · необязательно
visibility
private, public · необязательно
aspectRatios
список · необязательно · макс. элементов 3
selection
объект · необязательно
publication
объект · необязательно
Что вернёт инструмент

Состав объекта зависит от операции. Проверьте фактический ответ и полную схему.

Полная схема MCP

Вход

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "projectId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "expectedRevision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "idempotencyKey": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$"
    },
    "operation": {
      "type": "string",
      "enum": [
        "timeline",
        "preview",
        "render",
        "export",
        "publish"
      ]
    },
    "timeline": {
      "type": "object",
      "properties": {
        "aspectRatio": {
          "default": "16:9",
          "type": "string",
          "enum": [
            "16:9",
            "9:16",
            "1:1"
          ]
        },
        "resolution": {
          "default": "1080p",
          "type": "string",
          "enum": [
            "720p",
            "1080p"
          ]
        },
        "fps": {
          "default": "24",
          "type": "string",
          "enum": [
            "24",
            "25",
            "30"
          ]
        },
        "clips": {
          "minItems": 1,
          "maxItems": 48,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "sceneId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
              },
              "attemptId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
              },
              "in": {
                "type": "number",
                "minimum": 0,
                "maximum": 9007199254
              },
              "out": {
                "type": "number",
                "minimum": 0,
                "maximum": 9007199254
              },
              "fit": {
                "type": "string",
                "enum": [
                  "cover",
                  "contain"
                ]
              },
              "focalPoint": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "y": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  }
                },
                "required": [
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              "transition": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "cut",
                      "dissolve",
                      "wipeleft",
                      "wiperight",
                      "slideleft",
                      "slideright",
                      "circleopen",
                      "circleclose",
                      "smoothleft",
                      "smoothright",
                      "fadeblack"
                    ]
                  },
                  "duration": {
                    "type": "number",
                    "minimum": 0.1,
                    "maximum": 2
                  }
                },
                "required": [
                  "type",
                  "duration"
                ],
                "additionalProperties": false
              },
              "gainDb": {
                "default": 0,
                "type": "number",
                "minimum": -96,
                "maximum": 12
              },
              "mute": {
                "default": false,
                "type": "boolean"
              }
            },
            "required": [
              "sceneId",
              "in",
              "out",
              "gainDb",
              "mute"
            ],
            "additionalProperties": false
          }
        },
        "audio": {
          "default": [],
          "maxItems": 12,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
              },
              "asset": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "const": "site"
                      },
                      "mediaId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
                      }
                    },
                    "required": [
                      "source",
                      "mediaId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "const": "cloud"
                      },
                      "fileId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "source",
                      "fileId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "const": "video"
                      },
                      "assetId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
                      }
                    },
                    "required": [
                      "source",
                      "assetId"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "role": {
                "type": "string",
                "enum": [
                  "music",
                  "voice",
                  "effect"
                ]
              },
              "in": {
                "default": 0,
                "type": "number",
                "minimum": 0,
                "maximum": 9007199254
              },
              "out": {
                "type": "number",
                "minimum": 0,
                "maximum": 9007199254
              },
              "at": {
                "default": 0,
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "gainDb": {
                "default": 0,
                "type": "number",
                "minimum": -96,
                "maximum": 12
              }
            },
            "required": [
              "id",
              "asset",
              "role",
              "in",
              "out",
              "at",
              "gainDb"
            ],
            "additionalProperties": false
          }
        },
        "titles": {
          "default": [],
          "maxItems": 40,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
              },
              "text": {
                "type": "string",
                "maxLength": 1000
              },
              "start": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "end": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "x": {
                "default": 0.08,
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "y": {
                "default": 0.8,
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "fontSize": {
                "default": 48,
                "type": "number",
                "minimum": 10,
                "maximum": 180
              },
              "color": {
                "default": "#ffffff",
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$"
              },
              "contrastBox": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "text",
              "start",
              "end",
              "x",
              "y",
              "fontSize",
              "color"
            ],
            "additionalProperties": false
          }
        },
        "logos": {
          "default": [],
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
              },
              "asset": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "const": "site"
                      },
                      "mediaId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
                      }
                    },
                    "required": [
                      "source",
                      "mediaId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "const": "cloud"
                      },
                      "fileId": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-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",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "source",
                      "fileId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "const": "video"
                      },
                      "assetId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
                      }
                    },
                    "required": [
                      "source",
                      "assetId"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "start": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "end": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "x": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "y": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "width": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1
              }
            },
            "required": [
              "id",
              "asset",
              "start",
              "end",
              "x",
              "y",
              "width"
            ],
            "additionalProperties": false
          }
        },
        "captions": {
          "default": [],
          "maxItems": 160,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
              },
              "text": {
                "type": "string",
                "maxLength": 1000
              },
              "start": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "end": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              }
            },
            "required": [
              "id",
              "text",
              "start",
              "end"
            ],
            "additionalProperties": false
          }
        },
        "color": {
          "type": "object",
          "properties": {
            "brightness": {
              "default": 0,
              "type": "number",
              "minimum": -0.3,
              "maximum": 0.3
            },
            "contrast": {
              "default": 1,
              "type": "number",
              "minimum": 0.5,
              "maximum": 2
            },
            "saturation": {
              "default": 1,
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "gamma": {
              "default": 1,
              "type": "number",
              "minimum": 0.5,
              "maximum": 2
            }
          },
          "required": [
            "brightness",
            "contrast",
            "saturation",
            "gamma"
          ],
          "additionalProperties": false
        },
        "targetLufs": {
          "default": -16,
          "type": "number",
          "minimum": -30,
          "maximum": -10
        },
        "duckMusic": {
          "default": true,
          "type": "boolean"
        },
        "beatGrid": {
          "type": "object",
          "properties": {
            "bpm": {
              "type": "number",
              "minimum": 30,
              "maximum": 240
            },
            "offset": {
              "default": 0,
              "type": "number",
              "minimum": 0,
              "maximum": 600
            },
            "snapCuts": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": [
            "bpm",
            "offset",
            "snapCuts"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "aspectRatio",
        "resolution",
        "fps",
        "clips",
        "audio",
        "titles",
        "logos",
        "captions",
        "targetLufs",
        "duckMusic"
      ],
      "additionalProperties": false
    },
    "jobId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ]
    },
    "aspectRatios": {
      "minItems": 1,
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "16:9",
          "9:16",
          "1:1"
        ]
      }
    },
    "selection": {
      "type": "object",
      "properties": {
        "operation": {
          "type": "string",
          "enum": [
            "analyze",
            "highlights",
            "stabilize",
            "match_colors",
            "localize",
            "cameras"
          ]
        },
        "sceneId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        "referenceSceneId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        "arguments": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      },
      "required": [
        "operation",
        "sceneId"
      ],
      "additionalProperties": false
    },
    "publication": {
      "type": "object",
      "properties": {
        "versionId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        "expectedSiteRevision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "releaseGuardId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        "sourcePath": {
          "type": "string",
          "minLength": 1,
          "maxLength": 300
        }
      },
      "required": [
        "versionId",
        "expectedSiteRevision",
        "releaseGuardId",
        "sourcePath"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "siteId",
    "operation"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}

Ответ

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "propertyNames": {
    "type": "string"
  },
  "additionalProperties": {
    "$ref": "#/$defs/__schema0"
  },
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}
Открыть JSON карточки

Из этого раздела