{
  "$defs": {
    "ApiError": {
      "description": "请求失败时返回的错误代码与说明。",
      "properties": {
        "code": {
          "$ref": "#/$defs/ErrorCode",
          "description": "错误类别。"
        },
        "message": {
          "description": "面向用户的错误说明。",
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "AppliedFilter": {
      "description": "应用于剪辑的包：效果或滤镜。",
      "properties": {
        "enabled": {
          "default": true,
          "description": "是否运行。",
          "type": "boolean"
        },
        "id": {
          "description": "包裹的 ID。",
          "type": "string"
        },
        "keys": {
          "additionalProperties": {
            "items": {
              "$ref": "#/$defs/ParamKey"
            },
            "type": "array"
          },
          "default": {},
          "description": "通过钥匙控制的旋钮。",
          "type": "object"
        },
        "params": {
          "additionalProperties": {
            "format": "double",
            "type": "number"
          },
          "default": {},
          "description": "旋钮通过按键设置。",
          "type": "object"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "AudioStreamInfo": {
      "description": "UI 所看到的音频流。",
      "properties": {
        "channels": {
          "description": "通道数。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "codec": {
          "description": "编解码器简称。",
          "type": "string"
        },
        "index": {
          "description": "文件内的流索引。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "language": {
          "description": "流的语言标签，或者为空。",
          "type": "string"
        },
        "sampleRate": {
          "description": "每秒采样数。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "title": {
          "description": "文件为流指定的名称，或者为空。",
          "type": "string"
        }
      },
      "required": [
        "index",
        "codec",
        "sampleRate",
        "channels",
        "title",
        "language"
      ],
      "type": "object"
    },
    "AudioTrack": {
      "description": "文件的一个音频流。",
      "properties": {
        "channels": {
          "default": 0,
          "description": "它的渠道。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "codec": {
          "default": "",
          "description": "它的编解码器。",
          "type": "string"
        },
        "index": {
          "default": 0,
          "description": "文件中流的索引。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "language": {
          "default": "",
          "description": "它的语言。",
          "type": "string"
        },
        "sampleRate": {
          "default": 0,
          "description": "它的采样率。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "title": {
          "default": "",
          "description": "它的标题。",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Background": {
      "description": "什么填充了图片未到达的框架。",
      "oneOf": [
        {
          "description": "黑色。",
          "properties": {
            "kind": {
              "const": "none",
              "type": "string"
            }
          },
          "required": [
            "kind"
          ],
          "type": "object"
        },
        {
          "description": "剪辑本身的框架，放大且模糊。",
          "properties": {
            "amount": {
              "description": "多么柔软，`0..=1`。",
              "format": "double",
              "type": "number"
            },
            "kind": {
              "const": "blur",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "amount"
          ],
          "type": "object"
        },
        {
          "description": "一种颜色。",
          "properties": {
            "color": {
              "description": "`#rrggbb`.",
              "type": "string"
            },
            "kind": {
              "const": "color",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "color"
          ],
          "type": "object"
        },
        {
          "description": "垃圾箱里的一张剧照。",
          "properties": {
            "kind": {
              "const": "image",
              "type": "string"
            },
            "mediaId": {
              "description": "垃圾箱项目。",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "mediaId"
          ],
          "type": "object"
        }
      ]
    },
    "BeatMarks": {
      "description": "标记了文件的哪些节拍。",
      "oneOf": [
        {
          "const": "zoom",
          "description": "变焦有多少空间就可以容纳多少。",
          "type": "string"
        },
        {
          "const": "every",
          "description": "每一个节拍。",
          "type": "string"
        },
        {
          "const": "second",
          "description": "每一秒都在跳动。",
          "type": "string"
        },
        {
          "const": "bar",
          "description": "每个小节的第一个。",
          "type": "string"
        }
      ]
    },
    "BrushTool": {
      "description": "四把刷子。",
      "oneOf": [
        {
          "const": "smartBrush",
          "description": "保留可能的主题。",
          "type": "string"
        },
        {
          "const": "brush",
          "description": "将一切都保留在其之下。",
          "type": "string"
        },
        {
          "const": "smartEraser",
          "description": "删除模型不确定的内容。",
          "type": "string"
        },
        {
          "const": "eraser",
          "description": "删除其下的所有内容。",
          "type": "string"
        }
      ]
    },
    "CaptionCue": {
      "description": "要放置的一个标题。",
      "properties": {
        "duration": {
          "description": "它保持了几秒钟。",
          "format": "double",
          "type": "number"
        },
        "start": {
          "description": "时间线上的秒数。",
          "format": "double",
          "type": "number"
        },
        "text": {
          "description": "它说什么。",
          "type": "string"
        }
      },
      "required": [
        "start",
        "duration",
        "text"
      ],
      "type": "object"
    },
    "CaptionLook": {
      "description": "字幕通道上的字幕的外观和位置如何。",
      "properties": {
        "offsetY": {
          "default": 0,
          "description": "距中心有多远，份额的高度，向下为正值。",
          "format": "double",
          "type": "number"
        },
        "style": {
          "$ref": "#/$defs/TextStyle",
          "default": {
            "align": "center",
            "background": "",
            "backgroundPaddingX": 0.0315,
            "backgroundPaddingY": 0.018,
            "backgroundRadius": 0.0135,
            "color": "#ffffff",
            "content": "Your text",
            "fontFamily": "Hanken Grotesk",
            "fontSize": 0.09,
            "fontWeight": 700,
            "italic": false,
            "lineHeight": 1.2,
            "maxHeight": 0,
            "maxWidth": 0,
            "opacity": 1,
            "runs": [],
            "shadow": true,
            "strikethrough": false,
            "strokeColor": "#000000",
            "strokeWidth": 0,
            "textCase": "original",
            "tracking": 0,
            "underline": false
          },
          "description": "每个标题绘制的样式；它的言行不是\n使用过。"
        }
      },
      "type": "object"
    },
    "CaptionSegment": {
      "description": "剪辑中听到的一段讲话：剪辑本身的几秒钟\n声音和言语。",
      "properties": {
        "end": {
          "description": "剪辑声音几秒后结束。",
          "format": "double",
          "type": "number"
        },
        "start": {
          "description": "剪辑声音开始的几秒钟。",
          "format": "double",
          "type": "number"
        },
        "text": {
          "description": "说什么了。",
          "type": "string"
        }
      },
      "required": [
        "start",
        "end",
        "text"
      ],
      "type": "object"
    },
    "ClipBounds": {
      "description": "一个标题或形状的绘制块，以框架的一小部分形式，之前\n剪辑的缩放、拉伸和旋转 - 调用者应用其位置，\n键入或实时，如合成器所做的那样。",
      "properties": {
        "clipId": {
          "description": "文本或形状剪辑。",
          "type": "string"
        },
        "height": {
          "description": "块的高度，框架高度的一部分。",
          "format": "double",
          "type": "number"
        },
        "offsetX": {
          "description": "块的中心距剪辑位置的分数\n框架宽度：零为居中标题，半块为\n一个左对齐。它随剪辑缩放和旋转。",
          "format": "double",
          "type": "number"
        },
        "offsetY": {
          "description": "框架向下也是如此，只是其高度的一小部分。",
          "format": "double",
          "type": "number"
        },
        "width": {
          "description": "块的宽度，帧宽度的一部分。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "clipId",
        "width",
        "height",
        "offsetX",
        "offsetY"
      ],
      "type": "object"
    },
    "ClipLoop": {
      "description": "一个循环。",
      "properties": {
        "amount": {
          "default": 1,
          "description": "有多少。",
          "format": "double",
          "type": "number"
        },
        "kind": {
          "description": "循环的名称。",
          "type": "string"
        },
        "seconds": {
          "default": 1,
          "description": "一圈需要几秒。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "ClipMotion": {
      "description": "剪辑的入口、出口和循环。",
      "properties": {
        "in": {
          "anyOf": [
            {
              "$ref": "#/$defs/MotionMove"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "它是如何发生的。"
        },
        "loop": {
          "anyOf": [
            {
              "$ref": "#/$defs/ClipLoop"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "它一直在做什么。"
        },
        "out": {
          "anyOf": [
            {
              "$ref": "#/$defs/MotionMove"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "它是如何消失的。"
        }
      },
      "type": "object"
    },
    "ClipMove": {
      "description": "拖动的一个剪辑所在的位置。",
      "properties": {
        "clipId": {
          "description": "剪辑。",
          "type": "string"
        },
        "start": {
          "description": "新的开始，几秒钟之内。",
          "format": "double",
          "type": "number"
        },
        "trackId": {
          "description": "它的新车道；被遗漏的保留它自己的。",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "clipId",
        "start"
      ],
      "type": "object"
    },
    "ClipPatch": {
      "description": "对某些剪辑设置的更改。遗漏的字段将被单独保留；\n对于双选件，`null` 取消设置。",
      "properties": {
        "audioStream": {
          "description": "播放哪个音频流； `null` 是文件的第一个。",
          "format": "uint32",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "background": {
          "anyOf": [
            {
              "$ref": "#/$defs/Background"
            },
            {
              "type": "null"
            }
          ],
          "description": "有自己的背景； `null` 遵循时间线。"
        },
        "blend": {
          "description": "混合模式的名称。",
          "type": [
            "string",
            "null"
          ]
        },
        "crop": {
          "anyOf": [
            {
              "$ref": "#/$defs/Crop"
            },
            {
              "type": "null"
            }
          ],
          "description": "作物； `null` 将其取下。"
        },
        "fadeIn": {
          "description": "淡入，几秒钟。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "fadeOut": {
          "description": "淡出，几秒钟。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "filters": {
          "description": "声音过滤器，完整。",
          "items": {
            "$ref": "#/$defs/AppliedFilter"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "flipH": {
          "description": "从左到右镜像。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "flipV": {
          "description": "从上到下镜像。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "masks": {
          "description": "面具，完整。",
          "items": {
            "$ref": "#/$defs/Mask"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "motion": {
          "anyOf": [
            {
              "$ref": "#/$defs/ClipMotion"
            },
            {
              "type": "null"
            }
          ],
          "description": "入口、出口和环路； `null` 把它们脱下来。"
        },
        "muted": {
          "description": "它自己的声音安静了。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "name": {
          "description": "它的名字。",
          "type": [
            "string",
            "null"
          ]
        },
        "opacity": {
          "description": "它的不透明度。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "preservePitch": {
          "description": "声音保持在他们的音调。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "shape": {
          "anyOf": [
            {
              "$ref": "#/$defs/ShapeStyle"
            },
            {
              "type": "null"
            }
          ],
          "description": "形状的形状和油漆。"
        },
        "text": {
          "anyOf": [
            {
              "$ref": "#/$defs/TextStyle"
            },
            {
              "type": "null"
            }
          ],
          "description": "标题的文字和外观。"
        },
        "transitionIn": {
          "anyOf": [
            {
              "$ref": "#/$defs/Transition"
            },
            {
              "type": "null"
            }
          ],
          "description": "过渡就切进去了； `null` 将其取下。"
        },
        "videoEffects": {
          "description": "图片效果，整体。",
          "items": {
            "$ref": "#/$defs/AppliedFilter"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "volume": {
          "description": "它的收获。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "ColorRange": {
      "description": "文件图片跨越的级别。",
      "oneOf": [
        {
          "const": "limited",
          "description": "16-235.",
          "type": "string"
        },
        {
          "const": "full",
          "description": "0-255.",
          "type": "string"
        }
      ]
    },
    "ColorSpace": {
      "description": "图片的颜色。",
      "oneOf": [
        {
          "const": "sdr",
          "description": "推荐。 709，特别提款权。",
          "type": "string"
        },
        {
          "const": "hlg",
          "description": "推荐。 2020 年与 HLG 一起。",
          "type": "string"
        },
        {
          "const": "pq",
          "description": "推荐。 2020 年与 PQ 一起。",
          "type": "string"
        }
      ]
    },
    "ColorSpace2": {
      "description": "记录了什么画面。",
      "oneOf": [
        {
          "const": "sdr",
          "description": "标准范围。",
          "type": "string"
        },
        {
          "const": "hlg",
          "description": "HDR，混合对数伽玛。",
          "type": "string"
        },
        {
          "const": "pq",
          "description": "HDR，感知量化器。",
          "type": "string"
        }
      ]
    },
    "Command": {
      "description": "一次编辑，正如 API 的 JSON 所说。",
      "oneOf": [
        {
          "properties": {
            "item": {
              "$ref": "#/$defs/NewMedia"
            },
            "op": {
              "const": "addMedia",
              "type": "string"
            }
          },
          "required": [
            "op",
            "item"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "removeMedia",
              "type": "string"
            }
          },
          "required": [
            "op",
            "mediaId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "setMediaPlaceholder",
              "type": "string"
            },
            "placeholder": {
              "type": "boolean"
            }
          },
          "required": [
            "op",
            "mediaId",
            "placeholder"
          ],
          "type": "object"
        },
        {
          "properties": {
            "item": {
              "$ref": "#/$defs/NewMedia"
            },
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "fillSlot",
              "type": "string"
            }
          },
          "required": [
            "op",
            "mediaId",
            "item"
          ],
          "type": "object"
        },
        {
          "properties": {
            "commands": {
              "items": {
                "$ref": "#/$defs/Command"
              },
              "type": "array"
            },
            "op": {
              "const": "batch",
              "type": "string"
            }
          },
          "required": [
            "op",
            "commands"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "addClip",
              "type": "string"
            },
            "ripple": {
              "default": false,
              "type": "boolean"
            },
            "start": {
              "format": "double",
              "type": "number"
            },
            "trackId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "mediaId",
            "trackId",
            "start"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "addClipAtFirstFree",
              "type": "string"
            },
            "start": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "mediaId",
            "start"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "op": {
              "const": "addClipsInSequence",
              "type": "string"
            },
            "ripple": {
              "default": false,
              "type": "boolean"
            },
            "start": {
              "format": "double",
              "type": "number"
            },
            "trackId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "mediaIds",
            "start"
          ],
          "type": "object"
        },
        {
          "properties": {
            "above": {
              "default": false,
              "type": "boolean"
            },
            "duration": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "offsetY": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "op": {
              "const": "addTextClip",
              "type": "string"
            },
            "start": {
              "format": "double",
              "type": "number"
            },
            "style": {
              "anyOf": [
                {
                  "$ref": "#/$defs/TextStyle"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "trackId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "start"
          ],
          "type": "object"
        },
        {
          "properties": {
            "above": {
              "default": false,
              "type": "boolean"
            },
            "duration": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "name": {
              "type": "string"
            },
            "op": {
              "const": "addShapeClip",
              "type": "string"
            },
            "start": {
              "format": "double",
              "type": "number"
            },
            "style": {
              "anyOf": [
                {
                  "$ref": "#/$defs/ShapeStyle"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "trackId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "start",
            "name"
          ],
          "type": "object"
        },
        {
          "properties": {
            "cues": {
              "items": {
                "$ref": "#/$defs/CaptionCue"
              },
              "type": "array"
            },
            "look": {
              "$ref": "#/$defs/CaptionLook"
            },
            "op": {
              "const": "placeCaptions",
              "type": "string"
            },
            "trackId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "look",
            "cues"
          ],
          "type": "object"
        },
        {
          "properties": {
            "look": {
              "anyOf": [
                {
                  "$ref": "#/$defs/CaptionLook"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "op": {
              "const": "setCaptionLook",
              "type": "string"
            },
            "trackId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "trackId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "duration": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "effectId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "op": {
              "const": "addLayerClip",
              "type": "string"
            },
            "sound": {
              "default": false,
              "type": "boolean"
            },
            "start": {
              "format": "double",
              "type": "number"
            },
            "trackId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "start",
            "effectId",
            "name"
          ],
          "type": "object"
        },
        {
          "properties": {
            "duration": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "name": {
              "type": "string"
            },
            "op": {
              "const": "addTransitionClip",
              "type": "string"
            },
            "start": {
              "format": "double",
              "type": "number"
            },
            "trackId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "transitionId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "start",
            "transitionId",
            "name"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "curve": {
              "default": null,
              "items": {
                "$ref": "#/$defs/SpeedPoint"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "op": {
              "const": "setClipSpeedCurve",
              "type": "string"
            },
            "ripple": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "ease": {
              "default": [
                0,
                0,
                1,
                1
              ],
              "items": {
                "format": "double",
                "type": "number"
              },
              "maxItems": 4,
              "minItems": 4,
              "type": "array"
            },
            "op": {
              "const": "setClipKey",
              "type": "string"
            },
            "property": {
              "$ref": "#/$defs/KeyProperty"
            },
            "value": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "clipId",
            "property",
            "at",
            "value"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "clearClipKey",
              "type": "string"
            },
            "property": {
              "$ref": "#/$defs/KeyProperty"
            }
          },
          "required": [
            "op",
            "clipId",
            "property",
            "at"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "clearClipKeys",
              "type": "string"
            },
            "property": {
              "$ref": "#/$defs/KeyProperty"
            }
          },
          "required": [
            "op",
            "clipId",
            "property"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "ease": {
              "default": [
                0,
                0,
                1,
                1
              ],
              "items": {
                "format": "double",
                "type": "number"
              },
              "maxItems": 4,
              "minItems": 4,
              "type": "array"
            },
            "entry": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "key": {
              "type": "string"
            },
            "op": {
              "const": "setEffectKey",
              "type": "string"
            },
            "value": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "clipId",
            "entry",
            "key",
            "at",
            "value"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "entry": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "key": {
              "type": "string"
            },
            "op": {
              "const": "clearEffectKey",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId",
            "entry",
            "key",
            "at"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "entry": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "key": {
              "type": "string"
            },
            "op": {
              "const": "clearEffectKeys",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId",
            "entry",
            "key"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "ease": {
              "default": [
                0,
                0,
                1,
                1
              ],
              "items": {
                "format": "double",
                "type": "number"
              },
              "maxItems": 4,
              "minItems": 4,
              "type": "array"
            },
            "maskId": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "op": {
              "const": "setMaskKey",
              "type": "string"
            },
            "value": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "clipId",
            "maskId",
            "number",
            "at",
            "value"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "maskId": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "op": {
              "const": "clearMaskKey",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId",
            "maskId",
            "number",
            "at"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "maskId": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "op": {
              "const": "clearMaskKeys",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId",
            "maskId",
            "number"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "cutout": {
              "anyOf": [
                {
                  "$ref": "#/$defs/Cutout"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "op": {
              "const": "setClipCutout",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "setClipStabilize",
              "type": "string"
            },
            "stabilize": {
              "anyOf": [
                {
                  "$ref": "#/$defs/Stabilize"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "setClipVoice",
              "type": "string"
            },
            "voice": {
              "anyOf": [
                {
                  "$ref": "#/$defs/VoiceMix"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "addCutoutStroke",
              "type": "string"
            },
            "stroke": {
              "$ref": "#/$defs/Stroke"
            }
          },
          "required": [
            "op",
            "clipId",
            "stroke"
          ],
          "type": "object"
        },
        {
          "properties": {
            "moves": {
              "items": {
                "$ref": "#/$defs/ClipMove"
              },
              "type": "array"
            },
            "op": {
              "const": "moveClips",
              "type": "string"
            }
          },
          "required": [
            "op",
            "moves"
          ],
          "type": "object"
        },
        {
          "properties": {
            "bottom": {
              "default": false,
              "type": "boolean"
            },
            "moves": {
              "items": {
                "$ref": "#/$defs/ClipMove"
              },
              "type": "array"
            },
            "op": {
              "const": "moveClipsToNewTrack",
              "type": "string"
            }
          },
          "required": [
            "op",
            "moves"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "delta": {
              "format": "double",
              "type": "number"
            },
            "edge": {
              "$ref": "#/$defs/TrimEdge"
            },
            "op": {
              "const": "trimClip",
              "type": "string"
            },
            "ripple": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": [
            "op",
            "clipId",
            "edge",
            "delta"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "op": {
              "const": "splitClips",
              "type": "string"
            },
            "time": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "clipIds",
            "time"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "op": {
              "const": "duplicateClips",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipIds"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "enhanced": {
              "default": false,
              "type": "boolean"
            },
            "item": {
              "$ref": "#/$defs/NewMedia"
            },
            "offset": {
              "default": 0,
              "format": "double",
              "type": "number"
            },
            "op": {
              "const": "replaceClipMedia",
              "type": "string"
            },
            "sourceStart": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "clipId",
            "item"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "on": {
              "type": "boolean"
            },
            "op": {
              "const": "setClipEnhanced",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId",
            "on"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "duration": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "op": {
              "const": "freezeFrame",
              "type": "string"
            },
            "still": {
              "anyOf": [
                {
                  "$ref": "#/$defs/NewMedia"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "time": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "clipId",
            "time"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "op": {
              "const": "mergeClips",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipIds"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "item": {
              "$ref": "#/$defs/NewMedia"
            },
            "op": {
              "const": "consolidateClips",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipIds",
            "item"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "op": {
              "const": "removeClips",
              "type": "string"
            },
            "ripple": {
              "default": false,
              "type": "boolean"
            }
          },
          "required": [
            "op",
            "clipIds"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "updateClip",
              "type": "string"
            },
            "patch": {
              "$ref": "#/$defs/ClipPatch"
            }
          },
          "required": [
            "op",
            "clipId",
            "patch"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "end": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "op": {
              "const": "styleTextRange",
              "type": "string"
            },
            "patch": {
              "$ref": "#/$defs/RunStyle"
            },
            "start": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "op",
            "clipId",
            "start",
            "end",
            "patch"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "end": {
              "default": null,
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "op": {
              "const": "clearTextStyles",
              "type": "string"
            },
            "start": {
              "default": null,
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "setClipSpeed",
              "type": "string"
            },
            "ripple": {
              "default": false,
              "type": "boolean"
            },
            "speed": {
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "op",
            "clipId",
            "speed"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "offsetX": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "offsetY": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "op": {
              "const": "setClipTransform",
              "type": "string"
            },
            "rotation": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "scale": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "stretchX": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "stretchY": {
              "default": null,
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "at": {
              "default": 0,
              "format": "double",
              "type": "number"
            },
            "clipId": {
              "type": "string"
            },
            "framing": {
              "$ref": "#/$defs/Framing"
            },
            "op": {
              "const": "frameClip",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId",
            "framing"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "detachAudio",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "clipId": {
              "type": "string"
            },
            "op": {
              "const": "reattachAudio",
              "type": "string"
            }
          },
          "required": [
            "op",
            "clipId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "bottom": {
              "default": false,
              "type": "boolean"
            },
            "op": {
              "const": "addTrack",
              "type": "string"
            }
          },
          "required": [
            "op"
          ],
          "type": "object"
        },
        {
          "properties": {
            "op": {
              "const": "removeTrack",
              "type": "string"
            },
            "trackId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "trackId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "flag": {
              "$ref": "#/$defs/TrackFlag"
            },
            "op": {
              "const": "setTrackFlag",
              "type": "string"
            },
            "trackId": {
              "type": "string"
            },
            "value": {
              "type": "boolean"
            }
          },
          "required": [
            "op",
            "trackId",
            "flag",
            "value"
          ],
          "type": "object"
        },
        {
          "properties": {
            "op": {
              "const": "addTimeline",
              "type": "string"
            }
          },
          "required": [
            "op"
          ],
          "type": "object"
        },
        {
          "properties": {
            "op": {
              "const": "removeTimeline",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "timelineId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "op": {
              "const": "setTimelineVideo",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            },
            "video": {
              "$ref": "#/$defs/VideoSettings"
            }
          },
          "required": [
            "op",
            "timelineId",
            "video"
          ],
          "type": "object"
        },
        {
          "properties": {
            "background": {
              "$ref": "#/$defs/Background"
            },
            "op": {
              "const": "setTimelineBackground",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "timelineId",
            "background"
          ],
          "type": "object"
        },
        {
          "properties": {
            "on": {
              "type": "boolean"
            },
            "op": {
              "const": "setTimelineLinkage",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "timelineId",
            "on"
          ],
          "type": "object"
        },
        {
          "properties": {
            "name": {
              "type": "string"
            },
            "op": {
              "const": "renameTimeline",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "timelineId",
            "name"
          ],
          "type": "object"
        },
        {
          "properties": {
            "op": {
              "const": "selectTimeline",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "timelineId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "index": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "op": {
              "const": "moveTimeline",
              "type": "string"
            },
            "timelineId": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "timelineId",
            "index"
          ],
          "type": "object"
        },
        {
          "properties": {
            "cover": {
              "anyOf": [
                {
                  "$ref": "#/$defs/Cover"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "op": {
              "const": "setCover",
              "type": "string"
            }
          },
          "required": [
            "op"
          ],
          "type": "object"
        },
        {
          "properties": {
            "family": {
              "type": "string"
            },
            "op": {
              "const": "addFont",
              "type": "string"
            },
            "path": {
              "type": "string"
            }
          },
          "required": [
            "op",
            "family",
            "path"
          ],
          "type": "object"
        },
        {
          "properties": {
            "family": {
              "type": "string"
            },
            "op": {
              "const": "removeFont",
              "type": "string"
            }
          },
          "required": [
            "op",
            "family"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaId": {
              "type": "string"
            },
            "newPath": {
              "type": "string"
            },
            "op": {
              "const": "updateMediaPath",
              "type": "string"
            }
          },
          "required": [
            "op",
            "mediaId",
            "newPath"
          ],
          "type": "object"
        },
        {
          "properties": {
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "setMediaColorRange",
              "type": "string"
            },
            "range": {
              "anyOf": [
                {
                  "$ref": "#/$defs/ColorRange"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          },
          "required": [
            "op",
            "mediaId"
          ],
          "type": "object"
        },
        {
          "properties": {
            "marks": {
              "anyOf": [
                {
                  "$ref": "#/$defs/BeatMarks"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "mediaId": {
              "type": "string"
            },
            "op": {
              "const": "setMediaBeats",
              "type": "string"
            }
          },
          "required": [
            "op",
            "mediaId"
          ],
          "type": "object"
        }
      ]
    },
    "Cover": {
      "description": "项目的封面是什么。",
      "oneOf": [
        {
          "description": "编辑一帧，`time` 秒。",
          "properties": {
            "kind": {
              "const": "frame",
              "type": "string"
            },
            "time": {
              "description": "秒内。",
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "kind",
            "time"
          ],
          "type": "object"
        },
        {
          "description": "来自磁盘的图片。",
          "properties": {
            "kind": {
              "const": "picture",
              "type": "string"
            },
            "path": {
              "description": "文件。",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "path"
          ],
          "type": "object"
        }
      ]
    },
    "Crop": {
      "description": "作物把每一个边缘都切掉了，就像图片的一部分一样。",
      "properties": {
        "bottom": {
          "description": "离开底部。",
          "format": "double",
          "type": "number"
        },
        "left": {
          "description": "离开左边。",
          "format": "double",
          "type": "number"
        },
        "right": {
          "description": "离开右边。",
          "format": "double",
          "type": "number"
        },
        "top": {
          "description": "离开顶部。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "left",
        "top",
        "right",
        "bottom"
      ],
      "type": "object"
    },
    "Cutout": {
      "description": "照片的背景被模特拿走了。",
      "properties": {
        "feather": {
          "default": 0.01,
          "description": "边缘软化的程度。",
          "format": "double",
          "type": "number"
        },
        "mode": {
          "$ref": "#/$defs/CutoutMode",
          "description": "自动或自定义。"
        },
        "strokes": {
          "default": [],
          "description": "所画的修正。",
          "items": {
            "$ref": "#/$defs/Stroke"
          },
          "type": "array"
        },
        "subject": {
          "$ref": "#/$defs/Subject",
          "default": "auto",
          "description": "模型寻找什么。"
        }
      },
      "required": [
        "mode"
      ],
      "type": "object"
    },
    "CutoutMode": {
      "description": "切口决定保留内容的两种方式。",
      "oneOf": [
        {
          "const": "auto",
          "description": "模特的面具。",
          "type": "string"
        },
        {
          "const": "custom",
          "description": "然后是笔画。",
          "type": "string"
        }
      ]
    },
    "Dirs": {
      "description": "应用程序的目录，作为路径。",
      "properties": {
        "config": {
          "description": "小状态：最近、设置、模板库。",
          "type": "string"
        },
        "data": {
          "description": "大状态：下载模型、画标题。",
          "type": "string"
        }
      },
      "required": [
        "config",
        "data"
      ],
      "type": "object"
    },
    "Done": {
      "description": "空回复是一个对象，因此每个回复都是一个。",
      "type": "object"
    },
    "EditorView": {
      "description": "更改后的项目：其文件中的文档\n表单、是否有需要撤消或重做的内容、设置以及\n创建命令创建的 id。",
      "properties": {
        "canRedo": {
          "description": "是否有需要重做的事情。",
          "type": "boolean"
        },
        "canUndo": {
          "description": "是否有需要撤销的事情。",
          "type": "boolean"
        },
        "createdId": {
          "description": "创建命令创建的 id（如果有）。",
          "type": [
            "string",
            "null"
          ]
        },
        "project": {
          "description": "整个文档，如其文件所写。"
        },
        "settings": {
          "$ref": "#/$defs/SettingsView",
          "description": "项目的名称和显示的时间线框架。"
        }
      },
      "required": [
        "project",
        "canUndo",
        "canRedo",
        "settings"
      ],
      "type": "object"
    },
    "ErrorCode": {
      "description": "为什么程序读取请求时没有回复。 JSON-RPC 编号\n每个映射到 [`ErrorCode::number`]。",
      "oneOf": [
        {
          "const": "parse",
          "description": "该线路不是 JSON。",
          "type": "string"
        },
        {
          "const": "invalid",
          "description": "JSON 不是请求：未知方法、缺失或\n字段类型错误，值超出范围。",
          "type": "string"
        },
        {
          "const": "notOpen",
          "description": "指定的项目尚未开放；先打开它。",
          "type": "string"
        },
        {
          "const": "notFound",
          "description": "指定的作业、模板或包不存在。",
          "type": "string"
        },
        {
          "const": "refused",
          "description": "编辑层说不。消息是窗口的句子\n会显示，并且状态保持原样。",
          "type": "string"
        },
        {
          "const": "busy",
          "description": "一项一次性作业已在运行。",
          "type": "string"
        },
        {
          "const": "cancelled",
          "description": "该作业被 [`Request::ExportCancel`] 停止。",
          "type": "string"
        },
        {
          "const": "unauthorized",
          "description": "运输公司想要一个令牌，但没有得到正确的令牌。从来没有\n由API本身提出。",
          "type": "string"
        },
        {
          "const": "failed",
          "description": "其他一切：无法读取或写入的文件、解码\n失败了，模型无法下载。",
          "type": "string"
        }
      ]
    },
    "Event": {
      "description": "工作中发生的事情。传输将这些转发给每个\n来电者来访；每个人都命名其工作和项目，因此调用者\n保留它要求的那些并忽略其余的。",
      "oneOf": [
        {
          "description": "在出口前发现了一张剪纸面具。",
          "properties": {
            "event": {
              "const": "cutout.progress",
              "type": "string"
            },
            "fetching": {
              "description": "当模型下载时为 true，当模型运行时为 false。",
              "type": "boolean"
            },
            "fraction": {
              "description": "走了多远，`0..=1`。",
              "format": "float",
              "type": "number"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "mediaId": {
              "description": "正在分析的媒体。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "mediaId",
            "fetching",
            "fraction"
          ],
          "type": "object"
        },
        {
          "description": "在导出之前正在测量稳定剪辑的媒体。",
          "properties": {
            "event": {
              "const": "stabilize.progress",
              "type": "string"
            },
            "fraction": {
              "description": "走了多远，`0..=1`。",
              "format": "float",
              "type": "number"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "mediaId": {
              "description": "被测量的介质。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "mediaId",
            "fraction"
          ],
          "type": "object"
        },
        {
          "description": "出口继续进行。",
          "properties": {
            "event": {
              "const": "export.progress",
              "type": "string"
            },
            "frame": {
              "description": "框架完成。",
              "format": "int64",
              "type": "integer"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "stage": {
              "description": "\"video\", \"audio\" or \"mux\".",
              "type": "string"
            },
            "total": {
              "description": "总共帧数。",
              "format": "int64",
              "type": "integer"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "frame",
            "total",
            "stage"
          ],
          "type": "object"
        },
        {
          "description": "导出写入其文件。工作结束了。",
          "properties": {
            "event": {
              "const": "export.done",
              "type": "string"
            },
            "height": {
              "description": "它的图片大小。",
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "output": {
              "description": "文件写好了。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "width": {
              "description": "它的图片大小。",
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "output",
            "width",
            "height"
          ],
          "type": "object"
        },
        {
          "description": "导出未写入其文件。工作结束了。",
          "properties": {
            "error": {
              "$ref": "#/$defs/ApiError",
              "description": "为什么：[`ErrorCode::Cancelled`]当要求停止时，否则什么\n出了问题。"
            },
            "event": {
              "const": "export.failed",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "error"
          ],
          "type": "object"
        },
        {
          "description": "转录继续进行。",
          "properties": {
            "event": {
              "const": "captions.progress",
              "type": "string"
            },
            "fraction": {
              "description": "听力有多远，`0..=1`； 0 在它之前的阶段。",
              "format": "float",
              "type": "number"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "stage": {
              "description": "“读取”声音、“加载”模型或“聆听”。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "stage",
            "fraction"
          ],
          "type": "object"
        },
        {
          "description": "转录完成：听到的内容，准备好\n[`Request::CaptionsPlace`]。工作结束了。",
          "properties": {
            "clipId": {
              "description": "听到的片段。",
              "type": "string"
            },
            "event": {
              "const": "captions.done",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "segments": {
              "description": "所听到的，按顺序；当什么也没说时就空了。",
              "items": {
                "$ref": "#/$defs/CaptionSegment"
              },
              "type": "array"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "clipId",
            "segments"
          ],
          "type": "object"
        },
        {
          "description": "转录尚未完成。工作结束了。",
          "properties": {
            "error": {
              "$ref": "#/$defs/ApiError",
              "description": "为什么：[`ErrorCode::Cancelled`]当要求停止时，否则什么\n出了问题。"
            },
            "event": {
              "const": "captions.failed",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "error"
          ],
          "type": "object"
        },
        {
          "description": "模型的下载继续进行。",
          "properties": {
            "event": {
              "const": "models.progress",
              "type": "string"
            },
            "id": {
              "description": "模型。",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "received": {
              "description": "收到的字节数。",
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "total": {
              "description": "总共字节数，如服务器所说或表估计的那样。",
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "unpacking": {
              "description": "当存档在其字节进入后解压时为真。",
              "type": "boolean"
            }
          },
          "required": [
            "event",
            "job",
            "id",
            "received",
            "total",
            "unpacking"
          ],
          "type": "object"
        },
        {
          "description": "模型已下载并准备就绪。工作结束了。",
          "properties": {
            "event": {
              "const": "models.done",
              "type": "string"
            },
            "id": {
              "description": "模型。",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "id"
          ],
          "type": "object"
        },
        {
          "description": "模型未下载。工作结束了。",
          "properties": {
            "error": {
              "$ref": "#/$defs/ApiError",
              "description": "为什么。"
            },
            "event": {
              "const": "models.failed",
              "type": "string"
            },
            "id": {
              "description": "模型。",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "id",
            "error"
          ],
          "type": "object"
        },
        {
          "description": "大声朗读继续进行。",
          "properties": {
            "event": {
              "const": "speech.progress",
              "type": "string"
            },
            "fraction": {
              "description": "读数有多远，`0..=1`。",
              "format": "float",
              "type": "number"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "stage": {
              "description": "“加载”模型或“读取”。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "stage",
            "fraction"
          ],
          "type": "object"
        },
        {
          "description": "文本被读入文件。工作结束了。",
          "properties": {
            "duration": {
              "description": "它的长度以秒为单位。",
              "format": "double",
              "type": "number"
            },
            "event": {
              "const": "speech.done",
              "type": "string"
            },
            "file": {
              "description": "声音文件写好，准备`media.import`。",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "file",
            "duration"
          ],
          "type": "object"
        },
        {
          "description": "读书没有读完。工作结束了。",
          "properties": {
            "error": {
              "$ref": "#/$defs/ApiError",
              "description": "为什么。"
            },
            "event": {
              "const": "speech.failed",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "error"
          ],
          "type": "object"
        },
        {
          "description": "逆转继续进行。",
          "properties": {
            "clipId": {
              "description": "剪辑被反转。",
              "type": "string"
            },
            "event": {
              "const": "reverse.progress",
              "type": "string"
            },
            "fraction": {
              "description": "副本有多远，`0..=1`。",
              "format": "float",
              "type": "number"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "clipId",
            "fraction"
          ],
          "type": "object"
        },
        {
          "description": "反向副本被写入。工作结束了；将这些字段传递给\n`clips.useReversed` 来显示它。",
          "properties": {
            "clipId": {
              "description": "所要求的剪辑。",
              "type": "string"
            },
            "covered": {
              "description": "它涵盖的文件秒数。",
              "format": "double",
              "type": "number"
            },
            "event": {
              "const": "reverse.done",
              "type": "string"
            },
            "file": {
              "description": "副本。",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "sourceStart": {
              "description": "它的写入起点。",
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "clipId",
            "file",
            "sourceStart",
            "covered"
          ],
          "type": "object"
        },
        {
          "description": "逆转并未结束。工作结束了。",
          "properties": {
            "error": {
              "$ref": "#/$defs/ApiError",
              "description": "为什么。"
            },
            "event": {
              "const": "reverse.failed",
              "type": "string"
            },
            "job": {
              "description": "工作。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "event",
            "job",
            "path",
            "error"
          ],
          "type": "object"
        }
      ]
    },
    "FileKind": {
      "description": "文件是什么，正如 bin 所示。",
      "oneOf": [
        {
          "const": "video",
          "description": "一段时间内的图片，可能还带有声音。",
          "type": "string"
        },
        {
          "const": "audio",
          "description": "独声。",
          "type": "string"
        },
        {
          "const": "image",
          "description": "一张照片。",
          "type": "string"
        }
      ]
    },
    "Fill": {
      "description": "一个模板槽和使用它的文件。",
      "properties": {
        "file": {
          "description": "要放在那里的文件；进去的路上被探查。",
          "type": "string"
        },
        "mediaId": {
          "description": "模板中占位符的媒体 ID。",
          "type": "string"
        }
      },
      "required": [
        "mediaId",
        "file"
      ],
      "type": "object"
    },
    "Framing": {
      "description": "根据框架调整图片大小的两种方法。",
      "oneOf": [
        {
          "const": "fit",
          "description": "一切都在框架内。",
          "type": "string"
        },
        {
          "const": "fill",
          "description": "框架被覆盖。",
          "type": "string"
        }
      ]
    },
    "JobState": {
      "description": "工作在其生活中的位置。",
      "oneOf": [
        {
          "const": "running",
          "description": "还在工作。",
          "type": "string"
        },
        {
          "const": "done",
          "description": "写了它的文件。",
          "type": "string"
        },
        {
          "const": "cancelled",
          "description": "被[`Request::ExportCancel`]阻止。",
          "type": "string"
        },
        {
          "const": "failed",
          "description": "没有文件就结束了； `error` 说出了原因。",
          "type": "string"
        }
      ]
    },
    "JobStatus": {
      "description": "一份工作的情况如何：[`Request::ExportStatus`]的回复。",
      "properties": {
        "error": {
          "anyOf": [
            {
              "$ref": "#/$defs/ApiError"
            },
            {
              "type": "null"
            }
          ],
          "description": "为什么失败，或者被取消。"
        },
        "fraction": {
          "description": "当前阶段有多远，`0..=1`； 1 一旦完成。",
          "format": "double",
          "type": "number"
        },
        "frame": {
          "description": "在视频阶段渲染的帧。",
          "format": "int64",
          "type": "integer"
        },
        "height": {
          "description": "完成后写入文件的图片大小。",
          "format": "uint32",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "job": {
          "description": "职位名称。",
          "type": "string"
        },
        "output": {
          "description": "它写入的文件。",
          "type": "string"
        },
        "path": {
          "description": "它所从事的项目。",
          "type": "string"
        },
        "stage": {
          "description": "它在做什么：在找到掩模时“剪切”，在发现掩模时“稳定”\n测量抖动，然后进行“渲染”、“混合音频”和“复用”；\n当硬件编码器中途停止时“用软件渲染”\n并且视频在 CPU 上从第一帧再次渲染。\n缺席直到它说完。",
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "$ref": "#/$defs/JobState",
          "description": "跑步，或者它是如何结束的。"
        },
        "total": {
          "description": "全部帧，在视频阶段； 0 直到已知。",
          "format": "int64",
          "type": "integer"
        },
        "width": {
          "description": "完成后写入文件的图片大小。",
          "format": "uint32",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "job",
        "path",
        "output",
        "state",
        "frame",
        "total",
        "fraction"
      ],
      "type": "object"
    },
    "KeyProperty": {
      "description": "键位于剪辑的哪个编号上。",
      "oneOf": [
        {
          "const": "scale",
          "description": "它的规模。",
          "type": "string"
        },
        {
          "const": "offsetX",
          "description": "跨越。",
          "type": "string"
        },
        {
          "const": "offsetY",
          "description": "下来。",
          "type": "string"
        },
        {
          "const": "rotation",
          "description": "轮到了。",
          "type": "string"
        },
        {
          "const": "stretchX",
          "description": "它的宽度超出了它的规模。",
          "type": "string"
        },
        {
          "const": "stretchY",
          "description": "它的高度超出了它的规模。",
          "type": "string"
        },
        {
          "const": "opacity",
          "description": "显示了多少。",
          "type": "string"
        },
        {
          "const": "volume",
          "description": "它的水平。",
          "type": "string"
        }
      ]
    },
    "LineHead": {
      "description": "线的末端磨损了什么。",
      "oneOf": [
        {
          "const": "none",
          "description": "它自己的圆端。",
          "type": "string"
        },
        {
          "const": "arrow",
          "description": "两下，打开。",
          "type": "string"
        },
        {
          "const": "triangle",
          "description": "一个填充点。",
          "type": "string"
        },
        {
          "const": "circle",
          "description": "一个点。",
          "type": "string"
        },
        {
          "const": "bar",
          "description": "对面有一家酒吧。",
          "type": "string"
        }
      ]
    },
    "Mask": {
      "description": "剪辑的蒙版之一。",
      "properties": {
        "expand": {
          "default": 0,
          "description": "它的边缘向外移动多远。",
          "format": "double",
          "type": "number"
        },
        "feather": {
          "default": 0,
          "description": "其边缘柔软。",
          "format": "double",
          "type": "number"
        },
        "id": {
          "default": "",
          "description": "它的 ID；被遗漏了，一枚被铸造了。",
          "type": "string"
        },
        "invert": {
          "default": false,
          "description": "保留外面。",
          "type": "boolean"
        },
        "keys": {
          "additionalProperties": {
            "items": {
              "$ref": "#/$defs/ParamKey"
            },
            "type": "array"
          },
          "default": {},
          "description": "骑行的数字，按名字命名。",
          "type": "object"
        },
        "mode": {
          "$ref": "#/$defs/MaskMode",
          "default": "add",
          "description": "它如何连接上面的面具。"
        },
        "name": {
          "default": "",
          "description": "它的名字。",
          "type": "string"
        },
        "opacity": {
          "default": 1,
          "description": "算多少啊。",
          "format": "double",
          "type": "number"
        },
        "rotation": {
          "default": 0,
          "description": "轮到了。",
          "format": "double",
          "type": "number"
        },
        "scale": {
          "default": 1,
          "description": "其大小的一个因素。",
          "format": "double",
          "type": "number"
        },
        "source": {
          "$ref": "#/$defs/MaskSource",
          "default": {
            "height": 0.66,
            "kind": "shape",
            "roundness": 0,
            "shape": "circle",
            "width": 0.66
          },
          "description": "它是从什么中提取出来的。"
        },
        "x": {
          "default": 0,
          "description": "对面居中。",
          "format": "double",
          "type": "number"
        },
        "y": {
          "default": 0,
          "description": "从中心向下。",
          "format": "double",
          "type": "number"
        }
      },
      "type": "object"
    },
    "MaskMode": {
      "description": "面具如何连接其上方的面具。",
      "oneOf": [
        {
          "const": "add",
          "description": "一个工会。",
          "type": "string"
        },
        {
          "const": "subtract",
          "description": "带走。",
          "type": "string"
        },
        {
          "const": "intersect",
          "description": "只保留双方都有的东西。",
          "type": "string"
        },
        {
          "const": "none",
          "description": "没有削减任何东西。",
          "type": "string"
        }
      ]
    },
    "MaskShape": {
      "description": "面具保持哪种形状。",
      "oneOf": [
        {
          "const": "linear",
          "description": "一条线的一侧。",
          "type": "string"
        },
        {
          "const": "mirror",
          "description": "沿着一条线的乐队。",
          "type": "string"
        },
        {
          "const": "circle",
          "description": "一个椭圆。",
          "type": "string"
        },
        {
          "const": "rectangle",
          "description": "一个盒子。",
          "type": "string"
        },
        {
          "const": "heart",
          "description": "一颗心。",
          "type": "string"
        },
        {
          "const": "star",
          "description": "一颗星星。",
          "type": "string"
        }
      ]
    },
    "MaskSource": {
      "description": "面具是从什么中提取出来的。",
      "oneOf": [
        {
          "description": "盒子里的形状。",
          "properties": {
            "height": {
              "default": null,
              "description": "盒子的高度。",
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "kind": {
              "const": "shape",
              "type": "string"
            },
            "roundness": {
              "default": 0,
              "description": "盒子的角有多圆。",
              "format": "double",
              "type": "number"
            },
            "shape": {
              "$ref": "#/$defs/MaskShape",
              "default": "circle",
              "description": "哪种形状。"
            },
            "width": {
              "default": null,
              "description": "盒子的宽度，位于图片的短边。",
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "kind"
          ],
          "type": "object"
        }
      ]
    },
    "MediaKind": {
      "description": "什么是媒体。",
      "oneOf": [
        {
          "const": "video",
          "description": "移动图像，有声或无声。",
          "type": "string"
        },
        {
          "const": "audio",
          "description": "仅声音。",
          "type": "string"
        },
        {
          "const": "image",
          "description": "静止的。",
          "type": "string"
        }
      ]
    },
    "MediaOrigin": {
      "description": "当文件是编辑器而不是导入时，是什么构成了文件。",
      "oneOf": [
        {
          "const": "speech",
          "description": "大声朗读演讲稿。",
          "type": "string"
        },
        {
          "const": "processed",
          "description": "剪辑的声音在播放时呈现。",
          "type": "string"
        }
      ]
    },
    "MediaSummary": {
      "description": "[`probe`] 还回了什么。",
      "properties": {
        "audio": {
          "anyOf": [
            {
              "$ref": "#/$defs/AudioStreamInfo"
            },
            {
              "type": "null"
            }
          ],
          "description": "按文件顺序排列的第一个音频流（如果有）：剪辑播放的内容\n除非它指定了另一个。"
        },
        "audioTracks": {
          "description": "每个音频流，按文件顺序。",
          "items": {
            "$ref": "#/$defs/AudioStreamInfo"
          },
          "type": "array"
        },
        "duration": {
          "description": "当容器状态为 1 时，容器持续时间（以秒为单位）。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "kind": {
          "$ref": "#/$defs/FileKind",
          "description": "文件是什么。"
        },
        "path": {
          "description": "文件，如给定的。",
          "type": "string"
        },
        "video": {
          "anyOf": [
            {
              "$ref": "#/$defs/VideoStreamInfo"
            },
            {
              "type": "null"
            }
          ],
          "description": "第一个视频流（如果有）。"
        }
      },
      "required": [
        "path",
        "kind",
        "audioTracks"
      ],
      "type": "object"
    },
    "ModelInfo": {
      "description": "一种语音模型。",
      "properties": {
        "blurb": {
          "description": "一行就说明了它所交易的东西。",
          "type": "string"
        },
        "downloaded": {
          "description": "是否在本机上并准备好。",
          "type": "boolean"
        },
        "englishOnly": {
          "description": "是否仅听懂英语（转录员）。",
          "type": "boolean"
        },
        "family": {
          "description": "它读出的声音家族：“话匣子”或“系统”；空的\n对于转录员来说。",
          "type": "string"
        },
        "id": {
          "description": "下载、删除和运行它的 ID。",
          "type": "string"
        },
        "label": {
          "description": "它的名字，对于一个人来说。",
          "type": "string"
        },
        "sizeBytes": {
          "description": "关于下载量（以字节为单位）。",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "id",
        "label",
        "blurb",
        "family",
        "englishOnly",
        "sizeBytes",
        "downloaded"
      ],
      "type": "object"
    },
    "ModelsInfo": {
      "description": "提供的语音模型和声音。",
      "properties": {
        "speech": {
          "description": "大声朗读文本的模型。",
          "items": {
            "$ref": "#/$defs/ModelInfo"
          },
          "type": "array"
        },
        "transcribers": {
          "description": "能够听到语音的模型，用于字幕。",
          "items": {
            "$ref": "#/$defs/ModelInfo"
          },
          "type": "array"
        },
        "voices": {
          "description": "语音模型朗读时使用的声音。",
          "items": {
            "$ref": "#/$defs/VoiceItem"
          },
          "type": "array"
        }
      },
      "required": [
        "transcribers",
        "speech",
        "voices"
      ],
      "type": "object"
    },
    "MotionMove": {
      "description": "一个入口或一个出口。",
      "properties": {
        "kind": {
          "description": "动作的名称。",
          "type": "string"
        },
        "seconds": {
          "default": 0.5,
          "description": "需要几秒钟。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    "NewMedia": {
      "description": "一个文件，正如探针所描述的那样。",
      "properties": {
        "audioCodec": {
          "default": null,
          "description": "它的音频编解码器。",
          "type": [
            "string",
            "null"
          ]
        },
        "audioTracks": {
          "default": [],
          "description": "它的音频流。",
          "items": {
            "$ref": "#/$defs/AudioTrack"
          },
          "type": "array"
        },
        "colorSpace": {
          "$ref": "#/$defs/ColorSpace",
          "default": "sdr",
          "description": "它的图片是用什么记录的。"
        },
        "duration": {
          "default": null,
          "description": "当它有一个时，它的长度以秒为单位。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "frameRate": {
          "default": null,
          "description": "它的帧速率，以小数表示。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "frameRateFraction": {
          "default": null,
          "description": "它的帧速率准确地说：“30000/1001”。",
          "type": [
            "string",
            "null"
          ]
        },
        "hasAudio": {
          "description": "是否有声音。",
          "type": "boolean"
        },
        "height": {
          "default": null,
          "description": "它的图片的高度。",
          "format": "uint32",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "kind": {
          "$ref": "#/$defs/MediaKind",
          "description": "它是什么。"
        },
        "name": {
          "description": "它的名字在垃圾桶里。",
          "type": "string"
        },
        "origin": {
          "anyOf": [
            {
              "$ref": "#/$defs/MediaOrigin"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "是什么造就了它，当它是编辑时。"
        },
        "path": {
          "description": "文件。",
          "type": "string"
        },
        "videoCodec": {
          "default": null,
          "description": "它的视频编解码器。",
          "type": [
            "string",
            "null"
          ]
        },
        "width": {
          "default": null,
          "description": "它的图片的宽度。",
          "format": "uint32",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "path",
        "name",
        "kind",
        "hasAudio"
      ],
      "type": "object"
    },
    "PackageInfo": {
      "description": "一个效果包，因为构建链的调用者需要它。",
      "properties": {
        "category": {
          "description": "卡所在的架子。",
          "type": "string"
        },
        "description": {
          "description": "关于它的一句话。",
          "type": "string"
        },
        "id": {
          "description": "id为剪辑连锁店，`author.name`。",
          "type": "string"
        },
        "intensity": {
          "description": "简单视图显示为一个滑块的参数（如果有）。",
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "description": "可取值：\"effect\"、\"filter\"、\"audio\"、\"transition\" 或 \"generator\"。",
          "type": "string"
        },
        "name": {
          "description": "目录卡上写着什么。",
          "type": "string"
        },
        "params": {
          "description": "旋钮，按照检查员显示的顺序排列。",
          "items": {
            "$ref": "#/$defs/ParamInfo"
          },
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "category",
        "description",
        "params"
      ],
      "type": "object"
    },
    "ParamInfo": {
      "description": "包的一个参数。",
      "properties": {
        "animate": {
          "description": "控件是否可以携带关键帧。",
          "type": "boolean"
        },
        "default": {
          "description": "未触及的控件意味着的值。",
          "format": "double",
          "type": "number"
        },
        "key": {
          "description": "链条目 `params` 存储它的密钥。",
          "type": "string"
        },
        "label": {
          "description": "控件的标签是什么。",
          "type": "string"
        },
        "labels": {
          "description": "对于“enum”：每个值的名称，按 `values` 顺序。",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "max": {
          "description": "最高价值。",
          "format": "double",
          "type": "number"
        },
        "min": {
          "description": "最低值。",
          "format": "double",
          "type": "number"
        },
        "step": {
          "description": "滑块增量； 0表示连续。",
          "format": "double",
          "type": "number"
        },
        "type": {
          "description": "可取值：\"float\"、\"int\"、\"bool\"、\"enum\"、\"color\" 或 \"point\"。",
          "type": "string"
        },
        "unit": {
          "description": "显示在号码之后。",
          "type": "string"
        },
        "values": {
          "description": "对于“enum”：文档可能包含的值。",
          "items": {
            "format": "double",
            "type": "number"
          },
          "type": "array"
        }
      },
      "required": [
        "key",
        "label",
        "type",
        "min",
        "max",
        "default",
        "step",
        "unit",
        "animate",
        "values",
        "labels"
      ],
      "type": "object"
    },
    "ParamKey": {
      "description": "效果的一个旋钮上的一个按键，或一个遮罩的一个数字。",
      "properties": {
        "at": {
          "description": "剪辑中的位置，`0..=1`。",
          "format": "double",
          "type": "number"
        },
        "ease": {
          "default": [
            0,
            0,
            1,
            1
          ],
          "description": "如何处理它。",
          "items": {
            "format": "double",
            "type": "number"
          },
          "maxItems": 4,
          "minItems": 4,
          "type": "array"
        },
        "value": {
          "description": "那里的价值。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "at",
        "value"
      ],
      "type": "object"
    },
    "PeaksInfo": {
      "description": "声音的响度轮廓：每 `1 / per_second` 秒一个切片。",
      "properties": {
        "max": {
          "description": "每个切片中的最高样本，以 0..1 为单位。",
          "items": {
            "format": "float",
            "type": "number"
          },
          "type": "array"
        },
        "min": {
          "description": "每个切片中的最低样本，在 -1..0 中。",
          "items": {
            "format": "float",
            "type": "number"
          },
          "type": "array"
        },
        "perSecond": {
          "description": "切片一秒钟。",
          "format": "float",
          "type": "number"
        }
      },
      "required": [
        "min",
        "max",
        "perSecond"
      ],
      "type": "object"
    },
    "Picture": {
      "description": "帧在不接触磁盘的情况下被退回。",
      "properties": {
        "height": {
          "description": "它的图片大小。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "png": {
          "description": "PNG，标准字母表中的 base64，带填充。",
          "type": "string"
        },
        "width": {
          "description": "它的图片大小。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height",
        "png"
      ],
      "type": "object"
    },
    "ProjectInfo": {
      "description": "重新启动项目所需的一切。",
      "properties": {
        "canvas": {
          "default": [
            0,
            0,
            0,
            255
          ],
          "description": "对于项目的第一个项目，显示没有图片覆盖框架的地方\n时间表；参见 `VideoSettings::canvas`。不透明黑色适合近期使用\n条目是在有条目之前写的。",
          "items": {
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "maxItems": 4,
          "minItems": 4,
          "type": "array"
        },
        "height": {
          "description": "输出高度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "name": {
          "description": "标题栏和最近列表中显示的名称。",
          "type": "string"
        },
        "openedAt": {
          "description": "自纪元以来的毫秒数。",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "path": {
          "description": "项目文件夹。",
          "type": "string"
        },
        "rateDen": {
          "description": "帧速率的分母。",
          "format": "int64",
          "type": "integer"
        },
        "rateNum": {
          "description": "帧速率为精确分数；小数永远不会被存储。",
          "format": "int64",
          "type": "integer"
        },
        "width": {
          "description": "输出宽度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "path",
        "name",
        "width",
        "height",
        "rateNum",
        "rateDen",
        "openedAt"
      ],
      "type": "object"
    },
    "Request": {
      "description": "来电者询问什么。每种方法有一个变体，名为 `area.verb`。\n\n每个涉及项目的方法都通过其文件夹来命名它，相同\n路径 [`Request::ProjectOpen`] 采取； API 每个文件夹保留一个会话\n未打开的文件夹上的方法是错误，而不是静默\n打开，因此调用者始终知道它正在编辑什么。",
      "oneOf": [
        {
          "description": "API 的版本、其背后的构建以及构建内容\n服务。首先调用的一个方法：其回复为 `capabilities`\n命名该服务器具有的传输和可选功能，因此\n呼叫者在询问之前就知道要询问什么。",
          "properties": {
            "method": {
              "const": "version",
              "type": "string"
            }
          },
          "required": [
            "method"
          ],
          "type": "object"
        },
        {
          "description": "在`location`下创建工程文件夹，命名为`name`，并打开\n它。拒绝已包含项目的文件夹。",
          "properties": {
            "location": {
              "description": "项目文件夹所在的目录。",
              "type": "string"
            },
            "method": {
              "const": "project.create",
              "type": "string"
            },
            "name": {
              "description": "项目名称；该文件夹以其命名。",
              "type": "string"
            },
            "video": {
              "anyOf": [
                {
                  "$ref": "#/$defs/VideoSettings"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "画面尺寸与帧率；省略时默认为 1080p、30 fps。"
            }
          },
          "required": [
            "method",
            "location",
            "name"
          ],
          "type": "object"
        },
        {
          "description": "打开项目文件夹。打开一个已打开的对象会返回其状态\n就目前情况而言，编辑等等。",
          "properties": {
            "method": {
              "const": "project.open",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "关闭一个打开的项目，在询问时首先保存。未保存的编辑是\n否则就会掉落。",
          "properties": {
            "method": {
              "const": "project.close",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "save": {
              "default": false,
              "description": "是否在关闭前写入文档。",
              "type": "boolean"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "本机最近打开的项目，最新的在前。",
          "properties": {
            "method": {
              "const": "project.list",
              "type": "string"
            }
          },
          "required": [
            "method"
          ],
          "type": "object"
        },
        {
          "description": "开放项目的状态。",
          "properties": {
            "method": {
              "const": "project.get",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "该文件完全就像保存一样会写它。",
          "properties": {
            "method": {
              "const": "project.document",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "将文档写入项目文件夹。",
          "properties": {
            "method": {
              "const": "project.save",
              "type": "string"
            },
            "name": {
              "default": null,
              "description": "重命名时项目的新名称。",
              "type": [
                "string",
                "null"
              ]
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "设置活动时间线的帧和速率，作为可撤消的编辑。",
          "properties": {
            "method": {
              "const": "project.setVideo",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "video": {
              "$ref": "#/$defs/VideoSettings",
              "description": "帧数和速率。"
            }
          },
          "required": [
            "method",
            "path",
            "video"
          ],
          "type": "object"
        },
        {
          "description": "应用一个编辑命令。该命令自己的注释说明了每个命令的含义\n确实；拒绝返回作为窗口将显示的句子。",
          "properties": {
            "command": {
              "$ref": "#/$defs/Command",
              "description": "编辑。装箱是因为命令是最大的东西\n请求携带； JSON 就是命令。"
            },
            "method": {
              "const": "edit.apply",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path",
            "command"
          ],
          "type": "object"
        },
        {
          "description": "将历史记录向后退一步编辑。",
          "properties": {
            "method": {
              "const": "edit.undo",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "将历史记录向前推进一次编辑。",
          "properties": {
            "method": {
              "const": "edit.redo",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "报告媒体文件内的内容而不触及任何项目。",
          "properties": {
            "method": {
              "const": "media.probe",
              "type": "string"
            },
            "path": {
              "description": "文件。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "探测文件并将其添加到项目的 bin 中：删除文件是什么\n窗户上确实如此。已经在 bin 中的路径是空操作。",
          "properties": {
            "file": {
              "description": "要导入的文件。",
              "type": "string"
            },
            "method": {
              "const": "media.import",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path",
            "file"
          ],
          "type": "object"
        },
        {
          "description": "构建知道的每个效果包及其参数，因此\n调用者无需阅读清单即可构建有效的链。",
          "properties": {
            "kind": {
              "default": null,
              "description": "限制为一种：“效果”、“过滤器”、“音频”、“过渡”\n或“发电机”。",
              "type": [
                "string",
                "null"
              ]
            },
            "method": {
              "const": "catalogue.list",
              "type": "string"
            }
          },
          "required": [
            "method"
          ],
          "type": "object"
        },
        {
          "description": "模板库。",
          "properties": {
            "method": {
              "const": "template.list",
              "type": "string"
            }
          },
          "required": [
            "method"
          ],
          "type": "object"
        },
        {
          "description": "从模板制作一个项目，每个插槽都已填充，然后打开\n它。每个槽位都必须被填满；一组留有一个空的集合使得\n什么也没有。",
          "properties": {
            "fills": {
              "description": "每个插槽的文件。",
              "items": {
                "$ref": "#/$defs/Fill"
              },
              "type": "array"
            },
            "location": {
              "description": "项目文件夹所在的目录。",
              "type": "string"
            },
            "method": {
              "const": "template.instantiate",
              "type": "string"
            },
            "name": {
              "description": "项目的名称。",
              "type": "string"
            },
            "template": {
              "description": "模板包文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "template",
            "location",
            "name",
            "fills"
          ],
          "type": "object"
        },
        {
          "description": "将打开的项目打包到新的模板包中。",
          "properties": {
            "method": {
              "const": "template.save",
              "type": "string"
            },
            "name": {
              "description": "模板的名称。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path",
            "name"
          ],
          "type": "object"
        },
        {
          "description": "将打开项目的活动时间线渲染到文件中，与\n窗口的导出功能：分析剪切、稳定剪辑”\n测量相机抖动，绘制标题，然后\n帧循环和混合。立即返回职位名称；的\n渲染在自己的线程上运行并通过 [`Event`] 进行报告，结束\n在[`Event::ExportDone`]或[`Event::ExportFailed`]中。一次出口运行\n一次；第二个被拒绝为 [`ErrorCode::Busy`]。",
          "properties": {
            "codec": {
              "default": null,
              "description": "“h264”、“hevc”或“av1”。 H.264 不存在时 - HEVC 用于 HDR 文件，\nH.264 不携带。",
              "type": [
                "string",
                "null"
              ]
            },
            "colorRange": {
              "default": null,
              "description": "“有限”（16-235，每个玩家和 YouTube 所期望的）或“完整”\n（0-255，对于绑定到读取\n标签）。缺席时受到限制。\nhttps://github.com/jub0t/Concat/issues/103",
              "type": [
                "string",
                "null"
              ]
            },
            "crf": {
              "default": null,
              "description": "恒定速率因子；越低越好，越大。 20 缺勤时。",
              "format": "uint8",
              "maximum": 255,
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "hdr": {
              "default": null,
              "description": "对于 HDR 时间线：以 10 位写为 HDR、其自己的 HLG 或 PQ\n（true，默认值），或色调映射到 SDR (false)。没有什么适合\n特别提款权时间表。",
              "type": [
                "boolean",
                "null"
              ]
            },
            "height": {
              "default": null,
              "description": "输出高度；时间线是缺席时的。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "method": {
              "const": "export.run",
              "type": "string"
            },
            "output": {
              "description": "要写入的文件。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "preset": {
              "default": null,
              "description": "x264 预设名称。缺席时为“中”。",
              "type": [
                "string",
                "null"
              ]
            },
            "rateDen": {
              "default": null,
              "description": "帧率分母；时间线是缺席时的。",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "rateNum": {
              "default": null,
              "description": "帧率分子；时间线是缺席时的。",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "tenBit": {
              "default": null,
              "description": "每个通道十位。缺席时八点。",
              "type": [
                "boolean",
                "null"
              ]
            },
            "width": {
              "default": null,
              "description": "输出宽度；时间线是缺席时的。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "method",
            "path",
            "output"
          ],
          "type": "object"
        },
        {
          "description": "在下一帧停止正在运行的导出。然后工作结束\n[`Event::ExportFailed`]携带[`ErrorCode::Cancelled`]。",
          "properties": {
            "job": {
              "description": "作业名为 [`Started`]。",
              "type": "string"
            },
            "method": {
              "const": "export.cancel",
              "type": "string"
            }
          },
          "required": [
            "method",
            "job"
          ],
          "type": "object"
        },
        {
          "description": "一份工作的情况：正在进行中，进行了多远，或者如何结束。的\n对于没有在听的呼叫者来说，事件带来了同样的消息\n当它到来时；最后完成的几项工作都会被记住。",
          "properties": {
            "job": {
              "description": "作业名为 [`Started`]。",
              "type": "string"
            },
            "method": {
              "const": "export.status",
              "type": "string"
            }
          },
          "required": [
            "method",
            "job"
          ],
          "type": "object"
        },
        {
          "description": "听到一个剪辑中所说的内容，其语音模型是\n安装，作为一项工作：[`Event::CaptionsProgress`] 进行中，结束\n在[`Event::CaptionsDone`]中听到或\n[`Event::CaptionsFailed`]。尚未放置任何内容：\n[`Request::CaptionsPlace`] 就是这样做的，因此可以读取这些单词并\n先纠正一下。一次运行一个转录。",
          "properties": {
            "clipId": {
              "description": "听到声音的剪辑：视频或声音剪辑。",
              "type": "string"
            },
            "language": {
              "default": null,
              "description": "所说的语言，作为代码（“en”，“pt”）；通过耳朵发现时\n缺席。纯英语模型会忽略它。",
              "type": [
                "string",
                "null"
              ]
            },
            "method": {
              "const": "captions.transcribe",
              "type": "string"
            },
            "model": {
              "description": "语音模型的 ID，如模型列表中的名称所示。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path",
            "clipId",
            "model"
          ],
          "type": "object"
        },
        {
          "description": "将听到的单词作为剪辑的字幕放在时间线上，每个单词\n标题中写道：一步撤消。",
          "properties": {
            "clipId": {
              "description": "剪辑中听到了这句话。",
              "type": "string"
            },
            "method": {
              "const": "captions.place",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "placement": {
              "default": null,
              "description": "“顶部”、“中间”或“底部”；缺席时位于底部。",
              "type": [
                "string",
                "null"
              ]
            },
            "segments": {
              "description": "所听到的内容，如 [`Event::CaptionsDone`] 所给出或纠正的。",
              "items": {
                "$ref": "#/$defs/CaptionSegment"
              },
              "type": "array"
            },
            "size": {
              "default": null,
              "description": "“小”、“中”或“大”；缺席时为中等。",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "method",
            "path",
            "clipId",
            "segments"
          ],
          "type": "object"
        },
        {
          "description": "停止正在运行的转录。它的工作然后结束于\n[`Event::CaptionsFailed`]携带[`ErrorCode::Cancelled`]。",
          "properties": {
            "job": {
              "description": "作业名为 [`Started`]。",
              "type": "string"
            },
            "method": {
              "const": "captions.cancel",
              "type": "string"
            }
          },
          "required": [
            "method",
            "job"
          ],
          "type": "object"
        },
        {
          "description": "视频文件中的一条 `count` 图片，并排位于\n`height` 像素，均匀分布在 `from`..`to` 秒内（整个\n文件（不存在时）：时间轴上剪辑主体的平铺内容。\n无法解码的图块会获取其最近邻居的图片。",
          "properties": {
            "count": {
              "description": "有多少张图片，1到60张。",
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "file": {
              "description": "视频文件。",
              "type": "string"
            },
            "from": {
              "default": null,
              "description": "几秒钟后，剧情开始了；缺席时为 0。",
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "height": {
              "description": "它们的高度（以像素为单位）为 16 到 240。",
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "method": {
              "const": "media.filmstrip",
              "type": "string"
            },
            "to": {
              "default": null,
              "description": "几秒钟后，剧情结束了；当缺席时它就结束了。",
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "method",
            "file",
            "count",
            "height"
          ],
          "type": "object"
        },
        {
          "description": "文件声音的响度轮廓：最低和最高\n在它的每个切片中进行采样，`per_second` 切片一秒钟，多棒啊\n波形是从.当 `path` 时缓存在项目的文件夹中\n命名一个开放项目。",
          "properties": {
            "file": {
              "description": "文件。",
              "type": "string"
            },
            "method": {
              "const": "media.peaks",
              "type": "string"
            },
            "path": {
              "default": null,
              "description": "其缓存保留大纲（如果有）的打开项目。",
              "type": [
                "string",
                "null"
              ]
            },
            "perSecond": {
              "default": null,
              "description": "切片一秒，1 为文件自己的分辨率； 20 缺勤时。",
              "format": "float",
              "type": [
                "number",
                "null"
              ]
            },
            "stream": {
              "default": null,
              "description": "哪个声音流，按索引；第一个缺席时。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "method",
            "file"
          ],
          "type": "object"
        },
        {
          "description": "该项目的封面为 PNG：图片 `edit.apply` `setCover`\n选择它所命名的框架，或者在编辑早期没有选择任何框架。\n投影屏幕的卡片和手机的封面方块显示了什么。",
          "properties": {
            "height": {
              "default": null,
              "description": "图片高度；时间线是缺席时的。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "method": {
              "const": "project.cover",
              "type": "string"
            },
            "output": {
              "description": "要写入的文件。",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "width": {
              "default": null,
              "description": "图片宽度；时间线是缺席时的。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "method",
            "path",
            "output"
          ],
          "type": "object"
        },
        {
          "description": "根据画家的测量，绘制每个标题和形状：\n变换框是由什么绘制的，所以它位于单词上\n而不是猜测它们。尺寸位于剪辑自身比例之前。",
          "properties": {
            "method": {
              "const": "clips.bounds",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path"
          ],
          "type": "object"
        },
        {
          "description": "贴纸页面：每一张人物卡片，按顺序排列，每张都有外观\n它放置。呼叫者拨打 `edit.apply` `addShapeClip`，\n卡的 `style` 作为命令的，因此它会像窗口一样着陆。",
          "properties": {
            "method": {
              "const": "shapes.list",
              "type": "string"
            }
          },
          "required": [
            "method"
          ],
          "type": "object"
        },
        {
          "description": "提供的每种语音模型，用于听力（字幕）和阅读\naloud（语音），是否每个都被下载，以及声音。",
          "properties": {
            "method": {
              "const": "models.list",
              "type": "string"
            }
          },
          "required": [
            "method"
          ],
          "type": "object"
        },
        {
          "description": "下载一个模型，作为一项工作：[`Event::ModelsProgress`] 作为\n字节到来，以 [`Event::ModelsDone`] 结尾或\n[`Event::ModelsFailed`]。每种类型一次运行一次下载。",
          "properties": {
            "id": {
              "description": "模型的 ID，如 [`Request::ModelsList`] 所命名。",
              "type": "string"
            },
            "kind": {
              "description": "\"transcriber\" (captions) or \"speech\".",
              "type": "string"
            },
            "method": {
              "const": "models.download",
              "type": "string"
            }
          },
          "required": [
            "method",
            "kind",
            "id"
          ],
          "type": "object"
        },
        {
          "description": "删除下载的模型，除非该模型正在使用中。",
          "properties": {
            "id": {
              "description": "模型的 ID。",
              "type": "string"
            },
            "kind": {
              "description": "\"transcriber\" or \"speech\".",
              "type": "string"
            },
            "method": {
              "const": "models.delete",
              "type": "string"
            }
          },
          "required": [
            "method",
            "kind",
            "id"
          ],
          "type": "object"
        },
        {
          "description": "将文本朗读到项目文件夹中的声音文件中，作为\n工作：[`Event::SpeechProgress`] 就这样，结束于\n[`Event::SpeechDone`] 与文件，或 [`Event::SpeechFailed`]。\n未放置任何内容：导入文件并将其放在时间线上。",
          "properties": {
            "method": {
              "const": "speech.speak",
              "type": "string"
            },
            "model": {
              "description": "语音模型的 id。",
              "type": "string"
            },
            "path": {
              "description": "文件所在的项目文件夹。",
              "type": "string"
            },
            "speed": {
              "default": null,
              "description": "语速，1.0 语音本身；缺席时为 1.0。",
              "format": "float",
              "type": [
                "number",
                "null"
              ]
            },
            "text": {
              "description": "说什么。",
              "type": "string"
            },
            "voice": {
              "description": "声音的 ID，模特的家人用来阅读的 ID。",
              "format": "int32",
              "type": "integer"
            }
          },
          "required": [
            "method",
            "path",
            "text",
            "model",
            "voice"
          ],
          "type": "object"
        },
        {
          "description": "停止正在运行的读数。它的工作然后结束于\n[`Event::SpeechFailed`]携带[`ErrorCode::Cancelled`]。",
          "properties": {
            "job": {
              "description": "作业名为 [`Started`]。",
              "type": "string"
            },
            "method": {
              "const": "speech.cancel",
              "type": "string"
            }
          },
          "required": [
            "method",
            "job"
          ],
          "type": "object"
        },
        {
          "description": "保存视频或图像剪辑在 `time` 处显示的图片：剪辑\n在那里被分开，仍然放在两半之间，其余的\n它的车道通过保持移动 - 一个撤消步骤。视频的帧是\n首先写入项目的缓存中。在回复看来，\nHold 是该通道上从 `time` 开始的剪辑。",
          "properties": {
            "clipId": {
              "description": "视频或图像剪辑。",
              "type": "string"
            },
            "duration": {
              "default": null,
              "description": "保持持续多长时间，以秒为单位； 1 缺席时。",
              "format": "double",
              "type": [
                "number",
                "null"
              ]
            },
            "method": {
              "const": "clips.freeze",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "time": {
              "description": "要保存的时间线瞬间，以秒为单位；严格在\n剪辑。",
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "method",
            "path",
            "clipId",
            "time"
          ],
          "type": "object"
        },
        {
          "description": "将剪辑指向另一个文件，探查导入方式：\n剪辑保持其位置、长度、效果和外观，并显示新的\n文件从相同的入点（或从它的开始，当新文件是\n比那短） - 一个撤消步骤。",
          "properties": {
            "clipId": {
              "description": "剪辑。",
              "type": "string"
            },
            "file": {
              "description": "新文件。",
              "type": "string"
            },
            "method": {
              "const": "clips.replace",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path",
            "clipId",
            "file"
          ],
          "type": "object"
        },
        {
          "description": "向后写入视频或声音剪辑显示其文件的跨度，\n进入项目的缓存，作为一项作业：[`Event::ReverseProgress`]\n继续，以 [`Event::ReverseDone`] 或 [`Event::ReverseFailed`] 结尾。\n剪辑还没碰过：[`Request::ClipsUseReversed`]指点一下\n在副本。导入的文件永远不会改变，并且写入一个跨度\nbefore 是再次找到而不是写两次。一反向运行\n一次。",
          "properties": {
            "clipId": {
              "description": "视频或声音剪辑。",
              "type": "string"
            },
            "method": {
              "const": "clips.reverse",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            }
          },
          "required": [
            "method",
            "path",
            "clipId"
          ],
          "type": "object"
        },
        {
          "description": "将剪辑指向名为 [`Event::ReverseDone`] 的反向副本，其\n副本开始处的入点：一个撤消步骤。剪辑时拒绝\n自反向开始以来已移动其文件 - 然后副本覆盖\n剪辑不再显示跨度，并再次询问相反的情况。",
          "properties": {
            "clipId": {
              "description": "要求提供反面的剪辑。",
              "type": "string"
            },
            "covered": {
              "description": "副本涵盖的文件秒数，如事件所示。",
              "format": "double",
              "type": "number"
            },
            "file": {
              "description": "副本，如 [`Event::ReverseDone`] 所提供。",
              "type": "string"
            },
            "method": {
              "const": "clips.useReversed",
              "type": "string"
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "sourceStart": {
              "description": "正如事件所给出的那样，副本是从其中写入的。",
              "format": "double",
              "type": "number"
            }
          },
          "required": [
            "method",
            "path",
            "clipId",
            "file",
            "sourceStart",
            "covered"
          ],
          "type": "object"
        },
        {
          "description": "停止反向运行。它的工作然后结束于\n[`Event::ReverseFailed`]携带[`ErrorCode::Cancelled`]。",
          "properties": {
            "job": {
              "description": "作业名为 [`Started`]。",
              "type": "string"
            },
            "method": {
              "const": "reverse.cancel",
              "type": "string"
            }
          },
          "required": [
            "method",
            "job"
          ],
          "type": "object"
        },
        {
          "description": "瞬间合成真实帧。写为 PNG 格式\n`output` 当有一个时，并作为内联交回\n[`Picture`] 否则，对于套接字远端的调用者。",
          "properties": {
            "height": {
              "default": null,
              "description": "框架高度；时间线是缺席时的。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "method": {
              "const": "preview.frame",
              "type": "string"
            },
            "output": {
              "default": null,
              "description": "要写入的文件；缺席意味着图片以内联方式返回。",
              "type": [
                "string",
                "null"
              ]
            },
            "path": {
              "description": "项目文件夹。",
              "type": "string"
            },
            "time": {
              "description": "时间轴是即时的，以秒为单位。",
              "format": "double",
              "type": "number"
            },
            "width": {
              "default": null,
              "description": "框架宽度；时间线是缺席时的。",
              "format": "uint32",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "method",
            "path",
            "time"
          ],
          "type": "object"
        }
      ]
    },
    "RunStyle": {
      "description": "运行样式的字段，用于 `styleTextRange`。",
      "properties": {
        "color": {
          "default": null,
          "description": "填充颜色。",
          "type": [
            "string",
            "null"
          ]
        },
        "fontScale": {
          "default": null,
          "description": "大小为倍数。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "fontWeight": {
          "default": null,
          "description": "重量。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "italic": {
          "default": null,
          "description": "斜体。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "strikethrough": {
          "default": null,
          "description": "击穿了。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "strokeColor": {
          "default": null,
          "description": "轮廓颜色。",
          "type": [
            "string",
            "null"
          ]
        },
        "underline": {
          "default": null,
          "description": "带下划线。",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "SettingsView": {
      "description": "调用者读取会话设置。",
      "properties": {
        "height": {
          "description": "输出高度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "name": {
          "description": "项目名称。",
          "type": "string"
        },
        "rateDen": {
          "description": "帧速率分母。",
          "format": "int64",
          "type": "integer"
        },
        "rateNum": {
          "description": "帧速率分子。",
          "format": "int64",
          "type": "integer"
        },
        "width": {
          "description": "输出宽度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "name",
        "width",
        "height",
        "rateNum",
        "rateDen"
      ],
      "type": "object"
    },
    "ShapeCard": {
      "description": "贴纸页面上有一张卡片。",
      "properties": {
        "id": {
          "description": "卡的 id，稳定：`ShapeStyle` 命名为预设。",
          "type": "string"
        },
        "style": {
          "$ref": "#/$defs/ShapeStyle",
          "description": "看卡位，为`addShapeClip`的`style`。"
        }
      },
      "required": [
        "id",
        "style"
      ],
      "type": "object"
    },
    "ShapeGradient": {
      "description": "从填充混合到第二种颜色。",
      "properties": {
        "angle": {
          "default": 90,
          "description": "直接混合运行的方式。",
          "format": "double",
          "type": "number"
        },
        "color": {
          "default": "#000000",
          "description": "它结束时的颜色。",
          "type": "string"
        },
        "radial": {
          "default": false,
          "description": "从中间出来。",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "ShapeKind": {
      "description": "一个形状画出哪个图形。",
      "oneOf": [
        {
          "const": "square",
          "description": "一个长方形。",
          "type": "string"
        },
        {
          "const": "circle",
          "description": "一个椭圆。",
          "type": "string"
        },
        {
          "const": "triangle",
          "description": "点向上。",
          "type": "string"
        },
        {
          "const": "parallelogram",
          "description": "向右倾斜。",
          "type": "string"
        },
        {
          "const": "trapezoid",
          "description": "顶部较窄。",
          "type": "string"
        },
        {
          "const": "line",
          "description": "中风。",
          "type": "string"
        },
        {
          "const": "arrow",
          "description": "一条线，有一个头。",
          "type": "string"
        },
        {
          "const": "polygon",
          "description": "正多边形。",
          "type": "string"
        },
        {
          "const": "star",
          "description": "一颗星星。",
          "type": "string"
        },
        {
          "const": "heart",
          "description": "一颗心。",
          "type": "string"
        }
      ]
    },
    "ShapeShadow": {
      "description": "阴影或光芒。",
      "properties": {
        "angle": {
          "default": 135,
          "description": "往哪边掉。",
          "format": "double",
          "type": "number"
        },
        "blur": {
          "default": 0.02,
          "description": "多么柔软啊。",
          "format": "double",
          "type": "number"
        },
        "color": {
          "default": "#00000080",
          "description": "它的颜色。",
          "type": "string"
        },
        "distance": {
          "default": 0.01,
          "description": "多远。",
          "format": "double",
          "type": "number"
        }
      },
      "type": "object"
    },
    "ShapeStyle": {
      "description": "如何绘制形状。省略的字段是默认字段。",
      "properties": {
        "cornerRadius": {
          "default": 0,
          "description": "它的角有多圆。",
          "format": "double",
          "type": "number"
        },
        "dash": {
          "$ref": "#/$defs/StrokeDash",
          "default": "solid",
          "description": "轮廓的图案。"
        },
        "endHead": {
          "anyOf": [
            {
              "$ref": "#/$defs/LineHead"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "线的末端穿什么。"
        },
        "fill": {
          "default": "#ffffff",
          "description": "内部的颜色；仅用于大纲的空。",
          "type": "string"
        },
        "gradient": {
          "anyOf": [
            {
              "$ref": "#/$defs/ShapeGradient"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "混合成第二种颜色。"
        },
        "height": {
          "default": 0,
          "description": "它的高度；其自身比例为零。",
          "format": "double",
          "type": "number"
        },
        "innerRadius": {
          "default": 0.45,
          "description": "星星的内角距离有多远。",
          "format": "double",
          "type": "number"
        },
        "kind": {
          "$ref": "#/$defs/ShapeKind",
          "default": "square",
          "description": "图。"
        },
        "points": {
          "default": 5,
          "description": "一颗星的积分。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "shadow": {
          "anyOf": [
            {
              "$ref": "#/$defs/ShapeShadow"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "阴影或光芒。"
        },
        "sides": {
          "default": 6,
          "description": "多边形的边。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "startHead": {
          "anyOf": [
            {
              "$ref": "#/$defs/LineHead"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "线条的开头是怎样的。"
        },
        "stroke": {
          "default": "",
          "description": "轮廓的颜色；空无一物。",
          "type": "string"
        },
        "strokeAlign": {
          "$ref": "#/$defs/StrokeAlign",
          "default": "center",
          "description": "轮廓所在的位置。"
        },
        "strokeWidth": {
          "default": 0.012,
          "description": "轮廓的粗细。",
          "format": "double",
          "type": "number"
        },
        "trimEnd": {
          "default": 1,
          "description": "结束的地方。",
          "format": "double",
          "type": "number"
        },
        "trimStart": {
          "default": 0,
          "description": "轮廓开始的地方，0 到 1。",
          "format": "double",
          "type": "number"
        },
        "width": {
          "default": 0.35,
          "description": "它的宽度，作为框架高度的一部分。",
          "format": "double",
          "type": "number"
        }
      },
      "type": "object"
    },
    "SlotInfo": {
      "description": "用户媒体将替换的一个占位符。",
      "properties": {
        "kind": {
          "$ref": "#/$defs/FileKind",
          "description": "插槽需要什么样的文件。"
        },
        "mediaId": {
          "description": "模板文档中占位符文件的 ID。",
          "type": "string"
        },
        "name": {
          "description": "占位符的名称，正如创建者所标记的那样。",
          "type": "string"
        },
        "seconds": {
          "description": "时间轴秒了这个插槽所涵盖的内容，并对其剪辑进行了总结。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "mediaId",
        "name",
        "kind",
        "seconds"
      ],
      "type": "object"
    },
    "SpeedPoint": {
      "description": "速度曲线上的一点。",
      "properties": {
        "at": {
          "description": "剪辑中的位置，`0..=1`。",
          "format": "double",
          "type": "number"
        },
        "slope": {
          "default": null,
          "description": "那里的变化有多快？每个点上都有一个，曲线就会弯曲。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "speed": {
          "description": "那里的速度。",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "at",
        "speed"
      ],
      "type": "object"
    },
    "Stabilize": {
      "description": "剪辑的稳定性。",
      "properties": {
        "keepRotation": {
          "default": false,
          "description": "将卷保留为拍摄状态。",
          "type": "boolean"
        },
        "maxZoom": {
          "default": 1.2,
          "description": "图片最多可缩放。",
          "format": "double",
          "type": "number"
        },
        "smoothness": {
          "default": 0.5,
          "description": "有多少运动被平滑掉了。",
          "format": "double",
          "type": "number"
        },
        "tripod": {
          "default": false,
          "description": "锁定框架。",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "Started": {
      "description": "API 的一项工作已开始。有关它的每个事件都带有 `job`。",
      "properties": {
        "job": {
          "description": "作业名称，在 API 的生命周期中是唯一的：“j1”、“j2”、...",
          "type": "string"
        },
        "output": {
          "description": "它将写入的文件。",
          "type": "string"
        },
        "path": {
          "description": "它所从事的项目。",
          "type": "string"
        }
      },
      "required": [
        "job",
        "path",
        "output"
      ],
      "type": "object"
    },
    "Stroke": {
      "description": "一笔一划。",
      "properties": {
        "at": {
          "default": null,
          "description": "第二个它被绘制的来源。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "points": {
          "description": "路径，作为源图片的份额。",
          "items": {
            "items": {
              "format": "double",
              "type": "number"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "type": "array"
        },
        "size": {
          "description": "刷子的直径。",
          "format": "double",
          "type": "number"
        },
        "tool": {
          "$ref": "#/$defs/BrushTool",
          "description": "它有什么作用。"
        }
      },
      "required": [
        "tool",
        "size",
        "points"
      ],
      "type": "object"
    },
    "StrokeAlign": {
      "description": "轮廓所在的地方。",
      "oneOf": [
        {
          "const": "center",
          "description": "跨过边缘。",
          "type": "string"
        },
        {
          "const": "inside",
          "description": "里面。",
          "type": "string"
        },
        {
          "const": "outside",
          "description": "其外。",
          "type": "string"
        }
      ]
    },
    "StrokeDash": {
      "description": "轮廓的图案。",
      "oneOf": [
        {
          "const": "solid",
          "description": "不间断。",
          "type": "string"
        },
        {
          "const": "dashed",
          "description": "破折号。",
          "type": "string"
        },
        {
          "const": "dotted",
          "description": "点。",
          "type": "string"
        }
      ]
    },
    "Subject": {
      "description": "剪纸保留了什么。",
      "oneOf": [
        {
          "const": "auto",
          "description": "哪个合适就用哪个。",
          "type": "string"
        },
        {
          "const": "person",
          "description": "一个人。",
          "type": "string"
        },
        {
          "const": "object",
          "description": "对象。",
          "type": "string"
        }
      ]
    },
    "TemplateInfo": {
      "description": "正如画廊所见，一个模板。",
      "properties": {
        "hasPoster": {
          "description": "捆绑包是否带有海报。",
          "type": "boolean"
        },
        "height": {
          "description": "输出高度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "name": {
          "description": "模板的名称。",
          "type": "string"
        },
        "path": {
          "description": "捆绑文件夹。",
          "type": "string"
        },
        "rateDen": {
          "description": "帧速率分母。",
          "format": "int64",
          "type": "integer"
        },
        "rateNum": {
          "description": "帧速率分子。",
          "format": "int64",
          "type": "integer"
        },
        "slots": {
          "description": "要填充的槽位，按照它们在时间线上首次出现的顺序排列。",
          "items": {
            "$ref": "#/$defs/SlotInfo"
          },
          "type": "array"
        },
        "width": {
          "description": "输出宽度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "path",
        "name",
        "width",
        "height",
        "rateNum",
        "rateDen",
        "slots",
        "hasPoster"
      ],
      "type": "object"
    },
    "TextAlign": {
      "description": "标题的台词如何排列。",
      "oneOf": [
        {
          "const": "left",
          "description": "左边缘。",
          "type": "string"
        },
        {
          "const": "center",
          "description": "居中。",
          "type": "string"
        },
        {
          "const": "right",
          "description": "右边缘。",
          "type": "string"
        }
      ]
    },
    "TextCase": {
      "description": "标题的显示框。",
      "oneOf": [
        {
          "const": "upper",
          "description": "全部上。",
          "type": "string"
        },
        {
          "const": "lower",
          "description": "都低了。",
          "type": "string"
        },
        {
          "const": "sentence",
          "description": "句案。",
          "type": "string"
        },
        {
          "const": "original",
          "description": "正如所输入的。",
          "type": "string"
        }
      ]
    },
    "TextRun": {
      "description": "标题文字的延伸，具有自己的外观。",
      "properties": {
        "color": {
          "default": null,
          "description": "填充颜色。",
          "type": [
            "string",
            "null"
          ]
        },
        "end": {
          "description": "过去了最后一个。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "fontScale": {
          "default": null,
          "description": "大小为标题的倍数。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "fontWeight": {
          "default": null,
          "description": "重量。",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "italic": {
          "default": null,
          "description": "斜体。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "start": {
          "description": "第一个角色。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "strikethrough": {
          "default": null,
          "description": "击穿了。",
          "type": [
            "boolean",
            "null"
          ]
        },
        "strokeColor": {
          "default": null,
          "description": "轮廓颜色。",
          "type": [
            "string",
            "null"
          ]
        },
        "underline": {
          "default": null,
          "description": "带下划线。",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "start",
        "end"
      ],
      "type": "object"
    },
    "TextStyle": {
      "description": "标题的文字和外观。省略的字段是默认字段。",
      "properties": {
        "align": {
          "$ref": "#/$defs/TextAlign",
          "default": "center",
          "description": "线条如何排列。"
        },
        "background": {
          "default": "",
          "description": "车牌后面有字样，`#rrggbb[aa]`；空无一物。",
          "type": "string"
        },
        "backgroundPaddingX": {
          "default": 0.0315,
          "description": "板两侧都有空气。",
          "format": "double",
          "type": "number"
        },
        "backgroundPaddingY": {
          "default": 0.018,
          "description": "板上方和下方的空气。",
          "format": "double",
          "type": "number"
        },
        "backgroundRadius": {
          "default": 0.0135,
          "description": "盘子的角。",
          "format": "double",
          "type": "number"
        },
        "color": {
          "default": "#ffffff",
          "description": "填充颜色。",
          "type": "string"
        },
        "content": {
          "default": "Your text",
          "description": "的话。",
          "type": "string"
        },
        "fontFamily": {
          "default": "Hanken Grotesk",
          "description": "家人。",
          "type": "string"
        },
        "fontSize": {
          "default": 0.09,
          "description": "上限高度占框架高度的比例。",
          "format": "double",
          "type": "number"
        },
        "fontWeight": {
          "default": 700,
          "description": "字重，范围为 100 到 900。",
          "format": "double",
          "type": "number"
        },
        "italic": {
          "default": false,
          "description": "斜体。",
          "type": "boolean"
        },
        "lineHeight": {
          "default": 1.2,
          "description": "线高。",
          "format": "double",
          "type": "number"
        },
        "maxHeight": {
          "default": 0,
          "description": "最高；零表示没有限制。",
          "format": "double",
          "type": "number"
        },
        "maxWidth": {
          "default": 0,
          "description": "街区最宽；零表示没有限制。",
          "format": "double",
          "type": "number"
        },
        "opacity": {
          "default": 1,
          "description": "整个标题的不透明度。",
          "format": "double",
          "type": "number"
        },
        "runs": {
          "default": [],
          "description": "言语有自己的样子。",
          "items": {
            "$ref": "#/$defs/TextRun"
          },
          "type": "array"
        },
        "shadow": {
          "default": true,
          "description": "一个投影。",
          "type": "boolean"
        },
        "strikethrough": {
          "default": false,
          "description": "击穿了。",
          "type": "boolean"
        },
        "strokeColor": {
          "default": "#000000",
          "description": "轮廓颜色。",
          "type": "string"
        },
        "strokeWidth": {
          "default": 0,
          "description": "轮廓厚度。",
          "format": "double",
          "type": "number"
        },
        "textCase": {
          "$ref": "#/$defs/TextCase",
          "default": "original",
          "description": "显示器外壳。"
        },
        "tracking": {
          "default": 0,
          "description": "字母间距。",
          "format": "double",
          "type": "number"
        },
        "underline": {
          "default": false,
          "description": "带下划线。",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "TrackFlag": {
      "description": "一条车道有两个开关。",
      "oneOf": [
        {
          "const": "visible",
          "description": "它画的图画。",
          "type": "string"
        },
        {
          "const": "muted",
          "description": "其声无声。",
          "type": "string"
        }
      ]
    },
    "Transition": {
      "description": "剪切到剪辑中的过渡。",
      "properties": {
        "duration": {
          "default": 1,
          "description": "它涵盖的秒数。",
          "format": "double",
          "type": "number"
        },
        "id": {
          "description": "包裹。",
          "type": "string"
        },
        "params": {
          "additionalProperties": {
            "format": "double",
            "type": "number"
          },
          "default": {},
          "description": "它的旋钮。",
          "type": "object"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "TrimEdge": {
      "description": "修剪拖动剪辑的哪一端。",
      "oneOf": [
        {
          "const": "start",
          "description": "头。",
          "type": "string"
        },
        {
          "const": "end",
          "description": "尾巴。",
          "type": "string"
        }
      ]
    },
    "VersionInfo": {
      "description": "构建和它所说的合同。",
      "properties": {
        "apiVersion": {
          "description": "[`API_VERSION`].",
          "type": "string"
        },
        "capabilities": {
          "description": "此构建的作用是调用者测试成员资格：\nAPI 本身在每个版本中提供什么，`events` 以及什么\n只有某些版本会这样做，当框架复合在一个上时，`gpu`；然后呢\n周围的交通添加了 `json-rpc` 和 `unix-socket`\n每个套接字传输监听。缺席的名字\n无论构建如何，都不会提供该列表；后来添加的名字是\n不是版本碰撞，因此调用者会忽略它不知道的名称。",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "concat": {
          "description": "守密人剪辑器 版本。",
          "type": "string"
        },
        "dirs": {
          "$ref": "#/$defs/Dirs",
          "description": "这台机器保存最近的内容、模板和模型的地方。"
        }
      },
      "required": [
        "apiVersion",
        "concat",
        "dirs",
        "capabilities"
      ],
      "type": "object"
    },
    "VideoSettings": {
      "description": "时间线的框架、速率和颜色。",
      "properties": {
        "canvas": {
          "description": "什么显示没有图片覆盖框架的地方，`#rrggbb[aa]`；\n排除时呈不透明黑色。",
          "type": [
            "string",
            "null"
          ]
        },
        "colorSpace": {
          "$ref": "#/$defs/ColorSpace",
          "default": "sdr",
          "description": "时间线以什么形式输出。"
        },
        "height": {
          "description": "输出高度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "rateDen": {
          "description": "帧速率分母。",
          "format": "int64",
          "type": "integer"
        },
        "rateNum": {
          "description": "帧速率分子。",
          "format": "int64",
          "type": "integer"
        },
        "width": {
          "description": "输出宽度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height",
        "rateNum",
        "rateDen"
      ],
      "type": "object"
    },
    "VideoStreamInfo": {
      "description": "UI 所看到的视频流。",
      "properties": {
        "codec": {
          "description": "编解码器简称。",
          "type": "string"
        },
        "colorRange": {
          "description": "流表示其数字跨越的级别，“有限”或“完整”，\n或者当文件什么也没说时缺席 - 玩家然后采取\n对于有限的。",
          "type": [
            "string",
            "null"
          ]
        },
        "colorSpace": {
          "$ref": "#/$defs/ColorSpace2",
          "description": "图片录制格式：HDR 为 HLG 或 PQ，SDR 则不存在。"
        },
        "frameRate": {
          "description": "十进制 fps，仅用于显示。",
          "format": "double",
          "type": "number"
        },
        "frameRateFraction": {
          "description": "发动机实际工作的确切分数，例如“30000/1001”。",
          "type": "string"
        },
        "height": {
          "description": "显示高度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "index": {
          "description": "文件内的流索引。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "width": {
          "description": "显示宽度（以像素为单位）。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "index",
        "codec",
        "width",
        "height",
        "frameRate",
        "frameRateFraction",
        "colorSpace"
      ],
      "type": "object"
    },
    "VoiceItem": {
      "description": "语音模型用一种声音来朗读。",
      "properties": {
        "family": {
          "description": "与它一起阅读的模型系列。",
          "type": "string"
        },
        "id": {
          "description": "id为[`Request::SpeechSpeak`]。",
          "format": "int32",
          "type": "integer"
        },
        "name": {
          "description": "它的名字。",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "family"
      ],
      "type": "object"
    },
    "VoiceKind": {
      "description": "两种声音隔离。",
      "oneOf": [
        {
          "const": "vocals",
          "description": "除了音乐之外，还有唱歌。",
          "type": "string"
        },
        {
          "const": "speech",
          "description": "言语与噪音无关。",
          "type": "string"
        }
      ]
    },
    "VoiceMix": {
      "description": "对剪辑的声音进行声音隔离。",
      "properties": {
        "background": {
          "default": 0,
          "description": "其他一切都是收获。",
          "format": "double",
          "type": "number"
        },
        "kind": {
          "$ref": "#/$defs/VoiceKind",
          "default": "speech",
          "description": "声音与什么分开。"
        },
        "voice": {
          "default": 1,
          "description": "声音的增益。",
          "format": "double",
          "type": "number"
        }
      },
      "type": "object"
    },
    "Written": {
      "description": "API 写入的文件。",
      "properties": {
        "height": {
          "description": "它的图片大小。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "path": {
          "description": "文件的路径。",
          "type": "string"
        },
        "width": {
          "description": "它的图片大小。",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "path",
        "width",
        "height"
      ],
      "type": "object"
    }
  },
  "$id": "https://concat.standalones.org/concat-api.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "apiVersion": "0.2",
  "concat": "0.2.14",
  "error": {
    "$ref": "#/$defs/ApiError"
  },
  "errorCode": {
    "$ref": "#/$defs/ErrorCode"
  },
  "event": {
    "$ref": "#/$defs/Event"
  },
  "replies": {
    "captions.cancel": {
      "$ref": "#/$defs/Done"
    },
    "captions.place": {
      "$ref": "#/$defs/EditorView"
    },
    "captions.transcribe": {
      "$ref": "#/$defs/Started"
    },
    "catalogue.list": {
      "items": {
        "$ref": "#/$defs/PackageInfo"
      },
      "type": "array"
    },
    "clips.bounds": {
      "items": {
        "$ref": "#/$defs/ClipBounds"
      },
      "type": "array"
    },
    "clips.freeze": {
      "$ref": "#/$defs/EditorView"
    },
    "clips.replace": {
      "$ref": "#/$defs/EditorView"
    },
    "clips.reverse": {
      "$ref": "#/$defs/Started"
    },
    "clips.useReversed": {
      "$ref": "#/$defs/EditorView"
    },
    "edit.apply": {
      "$ref": "#/$defs/EditorView"
    },
    "edit.redo": {
      "$ref": "#/$defs/EditorView"
    },
    "edit.undo": {
      "$ref": "#/$defs/EditorView"
    },
    "export.cancel": {
      "$ref": "#/$defs/Done"
    },
    "export.run": {
      "$ref": "#/$defs/Started"
    },
    "export.status": {
      "$ref": "#/$defs/JobStatus"
    },
    "media.filmstrip": {
      "$ref": "#/$defs/Picture"
    },
    "media.import": {
      "$ref": "#/$defs/EditorView"
    },
    "media.peaks": {
      "$ref": "#/$defs/PeaksInfo"
    },
    "media.probe": {
      "$ref": "#/$defs/MediaSummary"
    },
    "models.delete": {
      "$ref": "#/$defs/Done"
    },
    "models.download": {
      "$ref": "#/$defs/Started"
    },
    "models.list": {
      "$ref": "#/$defs/ModelsInfo"
    },
    "preview.frame": {
      "description": "当请求命名为`output`时写入的文件；当图片本身不存在时。",
      "oneOf": [
        {
          "$ref": "#/$defs/Written"
        },
        {
          "$ref": "#/$defs/Picture"
        }
      ]
    },
    "project.close": {
      "$ref": "#/$defs/Done"
    },
    "project.cover": {
      "$ref": "#/$defs/Written"
    },
    "project.create": {
      "$ref": "#/$defs/EditorView"
    },
    "project.document": {
      "description": "按照目前的情况，保存时会写入 `concat.json`。",
      "type": "object"
    },
    "project.get": {
      "$ref": "#/$defs/EditorView"
    },
    "project.list": {
      "items": {
        "$ref": "#/$defs/ProjectInfo"
      },
      "type": "array"
    },
    "project.open": {
      "$ref": "#/$defs/EditorView"
    },
    "project.save": {
      "$ref": "#/$defs/Done"
    },
    "project.setVideo": {
      "$ref": "#/$defs/EditorView"
    },
    "reverse.cancel": {
      "$ref": "#/$defs/Done"
    },
    "shapes.list": {
      "items": {
        "$ref": "#/$defs/ShapeCard"
      },
      "type": "array"
    },
    "speech.cancel": {
      "$ref": "#/$defs/Done"
    },
    "speech.speak": {
      "$ref": "#/$defs/Started"
    },
    "template.instantiate": {
      "$ref": "#/$defs/EditorView"
    },
    "template.list": {
      "items": {
        "$ref": "#/$defs/TemplateInfo"
      },
      "type": "array"
    },
    "template.save": {
      "$ref": "#/$defs/TemplateInfo"
    },
    "version": {
      "$ref": "#/$defs/VersionInfo"
    }
  },
  "request": {
    "$ref": "#/$defs/Request"
  },
  "title": "shoumirencut API"
}