MCP Site
site_creative_generate

Подготовить генерацию видео

Сохраняет спецификацию ролика для поддерживаемой модели и задания провайдера.

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

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

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

Сохраняет спецификацию ролика для поддерживаемой модели и задания провайдера.

Запрос в чат
Помоги подготовить вызов site_creative_generate для задачи «Подготовить генерацию видео». Разбери spec, submit, budget и покажи, откуда взять точные значения для выбранного объекта. Остановись на черновике запроса.
Что проверить в ответе

Сверить значения со схемой до вызова.

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

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

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

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

Подготовь спецификацию ролика о мастерской на основе выбранной обложки. Перед запуском укажи модель, длительность и какие исходники понадобятся.

Параметры запроса
siteId
Идентификатор сайта из списка доступных сайтов. строка · обязательно по схеме
spec
объект · обязательно по схеме
idempotencyKey
Ключ одной операции. При повторе с теми же данными сохраните ключ. строка · обязательно по схеме
submit
да / нет · необязательно
budget
по вложенной схеме · необязательно
spendApproval
по вложенной схеме · необязательно
Что вернёт инструмент

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

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

Вход

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "spec": {
      "type": "object",
      "properties": {
        "providerId": {
          "type": "string",
          "enum": [
            "seadance",
            "fal",
            "minimax",
            "runway",
            "seedance",
            "kling",
            "gemini",
            "wan",
            "higgsfield"
          ]
        },
        "modelId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 150
        },
        "mode": {
          "type": "string",
          "enum": [
            "text_to_video",
            "image_to_video",
            "first_last_frame",
            "reference_to_video",
            "video_to_video",
            "video_extend",
            "video_edit"
          ]
        },
        "prompt": {
          "type": "string",
          "minLength": 1,
          "maxLength": 7000
        },
        "negativePrompt": {
          "type": "string",
          "maxLength": 2000
        },
        "firstFrame": {
          "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
            }
          ]
        },
        "lastFrame": {
          "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
            }
          ]
        },
        "referenceImages": {
          "maxItems": 9,
          "type": "array",
          "items": {
            "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
              }
            ]
          }
        },
        "video": {
          "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
            }
          ]
        },
        "audio": {
          "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
            }
          ]
        },
        "duration": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30
        },
        "aspectRatio": {
          "type": "string",
          "maxLength": 12
        },
        "resolution": {
          "type": "string",
          "maxLength": 12
        },
        "seed": {
          "type": "integer",
          "minimum": 0,
          "maximum": 4294967295
        },
        "generateAudio": {
          "type": "boolean"
        },
        "options": {
          "type": "object",
          "properties": {
            "codec": {
              "type": "string",
              "enum": [
                "auto",
                "H264",
                "H265"
              ]
            },
            "bitrateMode": {
              "type": "string",
              "enum": [
                "standard",
                "high"
              ]
            }
          },
          "additionalProperties": false
        },
        "usage": {
          "default": "video",
          "type": "string",
          "enum": [
            "hero",
            "video",
            "background"
          ]
        }
      },
      "required": [
        "providerId",
        "modelId",
        "mode",
        "prompt",
        "duration",
        "aspectRatio",
        "resolution",
        "usage"
      ],
      "additionalProperties": false
    },
    "idempotencyKey": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$"
    },
    "submit": {
      "type": "boolean"
    },
    "budget": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "maxCredits": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 10000000
            }
          },
          "required": [
            "maxCredits"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "maxCostUsd": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000
            }
          },
          "required": [
            "maxCostUsd"
          ],
          "additionalProperties": false
        }
      ]
    },
    "spendApproval": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "quoteId": {
              "type": "string",
              "pattern": "^quote_[a-f0-9]{32}$"
            },
            "approved": {
              "type": "boolean",
              "const": true
            },
            "maxCostUsd": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000
            }
          },
          "required": [
            "quoteId",
            "approved",
            "maxCostUsd"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "quoteId": {
              "type": "string",
              "pattern": "^quote_[a-f0-9]{32}$"
            },
            "approved": {
              "type": "boolean",
              "const": true
            },
            "maxCredits": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 10000000
            }
          },
          "required": [
            "quoteId",
            "approved",
            "maxCredits"
          ],
          "additionalProperties": false
        }
      ]
    }
  },
  "required": [
    "siteId",
    "spec",
    "idempotencyKey"
  ],
  "additionalProperties": false
}

Ответ

{
  "$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 карточки

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