{
  "openapi": "3.1.0",
  "info": {
    "title": "TakeAI Public API",
    "version": "1.0.0",
    "description": "Upload, edit, render, download and share videos using your TakeAI account. Create personal keys in Account settings. The same ownership, collaboration roles, subscription limits and processing queue apply as in the apps. Account deletion, credential management, billing mutations and admin operations require the website and are not part of this API. Times in edit documents are seconds; timestamps in account/library records are Unix seconds. Input schemas are derived from Rust DTOs; catalogue values and edit documents should be read from the API before modification."
  },
  "servers": [
    {
      "url": "https://usetake.ai/api/v1"
    }
  ],
  "security": [
    {
      "PersonalApiKey": []
    }
  ],
  "paths": {
    "/account": {
      "get": {
        "operationId": "get_account",
        "summary": "Me",
        "tags": [
          "account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/account/stats": {
      "get": {
        "operationId": "get_account_stats",
        "summary": "Get",
        "tags": [
          "account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/onboarding": {
      "get": {
        "operationId": "get_onboarding",
        "summary": "Get",
        "tags": [
          "onboarding"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_onboarding",
        "summary": "Save",
        "tags": [
          "onboarding"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/onboarding_Progress"
              }
            }
          }
        }
      }
    },
    "/onboarding/preview": {
      "post": {
        "operationId": "post_onboarding_preview",
        "summary": "Preview",
        "tags": [
          "onboarding"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/onboarding_Progress"
              }
            }
          }
        }
      }
    },
    "/handles/{handle}": {
      "get": {
        "operationId": "get_handles_handle",
        "summary": "Handle available",
        "tags": [
          "handles"
        ],
        "parameters": [
          {
            "name": "handle",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/billing/plans": {
      "get": {
        "operationId": "get_billing_plans",
        "summary": "Plans",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects": {
      "get": {
        "operationId": "get_projects",
        "summary": "Projects",
        "tags": [
          "projects"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_projects",
        "summary": "Upload",
        "tags": [
          "projects"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "description": "Single-request upload. For large recordings use POST /uploads and the resumable chunk protocol."
      }
    },
    "/uploads": {
      "post": {
        "operationId": "post_uploads",
        "summary": "Start",
        "tags": [
          "uploads"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/uploads_Start"
              }
            }
          }
        }
      }
    },
    "/uploads/{id}": {
      "get": {
        "operationId": "get_uploads_id",
        "summary": "Status",
        "tags": [
          "uploads"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "delete": {
        "operationId": "delete_uploads_id",
        "summary": "Abort",
        "tags": [
          "uploads"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/uploads/{id}/takes/{index}": {
      "put": {
        "operationId": "put_uploads_id_takes_index",
        "summary": "Chunk",
        "tags": [
          "uploads"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "index",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/uploads/{id}/complete": {
      "post": {
        "operationId": "post_uploads_id_complete",
        "summary": "Complete",
        "tags": [
          "uploads"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/uploads/{id}/audio": {
      "post": {
        "operationId": "post_uploads_id_audio",
        "summary": "Audio",
        "tags": [
          "uploads"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/projects/{id}": {
      "get": {
        "operationId": "get_projects_id",
        "summary": "Project",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "delete": {
        "operationId": "delete_projects_id",
        "summary": "Delete project",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "permanent",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/folders": {
      "get": {
        "operationId": "get_folders",
        "summary": "List",
        "tags": [
          "folders"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_folders",
        "summary": "Create",
        "tags": [
          "folders"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/library_FolderBody"
              }
            }
          }
        }
      }
    },
    "/folders/{id}": {
      "patch": {
        "operationId": "patch_folders_id",
        "summary": "Update",
        "tags": [
          "folders"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/library_FolderBody"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "put_folders_id",
        "summary": "Update",
        "tags": [
          "folders"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/library_FolderBody"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_folders_id",
        "summary": "Delete",
        "tags": [
          "folders"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/move": {
      "post": {
        "operationId": "post_projects_move",
        "summary": "Move projects",
        "tags": [
          "projects"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/library_Move"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/restore": {
      "post": {
        "operationId": "post_projects_id_restore",
        "summary": "Restore",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/trash": {
      "get": {
        "operationId": "get_trash",
        "summary": "Trash",
        "tags": [
          "trash"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/shared": {
      "get": {
        "operationId": "get_shared",
        "summary": "Shared with me",
        "tags": [
          "shared"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/share": {
      "get": {
        "operationId": "get_projects_id_share",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "put": {
        "operationId": "put_projects_id_share",
        "summary": "Put",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sharing_LinkBody"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/members": {
      "post": {
        "operationId": "post_projects_id_members",
        "summary": "Invite",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sharing_Invite"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/members/{member}": {
      "patch": {
        "operationId": "patch_projects_id_members_member",
        "summary": "Update",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "member",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sharing_RoleBody"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "put_projects_id_members_member",
        "summary": "Update",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "member",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sharing_RoleBody"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_projects_id_members_member",
        "summary": "Remove",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "member",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/share/{token}": {
      "get": {
        "operationId": "get_share_token",
        "summary": "Public",
        "tags": [
          "share"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "security": []
      }
    },
    "/share/{token}/media/{kind}": {
      "get": {
        "operationId": "get_share_token_media_kind",
        "summary": "Public media",
        "tags": [
          "share"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Range",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "bytes=0-1023"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          },
          "206": {
            "description": "Partial media content."
          }
        },
        "security": []
      }
    },
    "/projects/{id}/render": {
      "post": {
        "operationId": "post_projects_id_render",
        "summary": "Render",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/main_Render"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/retry": {
      "post": {
        "operationId": "post_projects_id_retry",
        "summary": "Retry",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/media/{kind}": {
      "get": {
        "operationId": "get_projects_id_media_kind",
        "summary": "Media",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Range",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "bytes=0-1023"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          },
          "206": {
            "description": "Partial media content."
          }
        }
      }
    },
    "/projects/{id}/events": {
      "get": {
        "operationId": "get_projects_id_events",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "description": "Long-poll seconds (0–30, default 25)."
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "`json` forces the long-poll answer even with an SSE Accept header."
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "text/event-stream"
          },
          {
            "name": "Last-Event-ID",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "Resume the event stream after this event id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/choices": {
      "get": {
        "operationId": "get_projects_id_choices",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_projects_id_choices",
        "summary": "Post",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/choices_Pick"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/choices/{option}/{kind}": {
      "get": {
        "operationId": "get_projects_id_choices_option_kind",
        "summary": "Media",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "option",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/plan": {
      "get": {
        "operationId": "get_projects_id_plan",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_projects_id_plan",
        "summary": "Post",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/plan_Post"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/post-caption": {
      "get": {
        "operationId": "get_projects_id_post_caption",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "refresh",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/censor": {
      "post": {
        "operationId": "post_projects_id_censor",
        "summary": "Censor",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tools_CensorRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/reframe": {
      "post": {
        "operationId": "post_projects_id_reframe",
        "summary": "Reframe",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tools_ReframeRequest"
              }
            }
          }
        }
      }
    },
    "/broll": {
      "get": {
        "operationId": "get_broll",
        "summary": "List",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "folder_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "A folder's clips; `none` (or `unfiled`): the clips in no folder."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_broll",
        "summary": "Start",
        "tags": [
          "broll"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/broll_Start"
              }
            }
          }
        }
      }
    },
    "/broll/folders": {
      "get": {
        "operationId": "get_broll_folders",
        "summary": "Folders",
        "tags": [
          "broll"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_broll_folders",
        "summary": "Create folder",
        "tags": [
          "broll"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/broll_FolderBody"
              }
            }
          }
        }
      }
    },
    "/broll/folders/{id}": {
      "patch": {
        "operationId": "patch_broll_folders_id",
        "summary": "Rename folder",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/broll_FolderBody"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "put_broll_folders_id",
        "summary": "Rename folder",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/broll_FolderBody"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_broll_folders_id",
        "summary": "Delete folder",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "clips",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "`keep` (the default: its clips stay in the library, unfiled) or `delete` (its clips and their media go too)."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/broll/move": {
      "post": {
        "operationId": "post_broll_move",
        "summary": "Move clips",
        "tags": [
          "broll"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/broll_Move"
              }
            }
          }
        }
      }
    },
    "/broll/{id}": {
      "get": {
        "operationId": "get_broll_id",
        "summary": "Get",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "put": {
        "operationId": "put_broll_id",
        "summary": "Chunk",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_broll_id",
        "summary": "Delete",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/broll/{id}/complete": {
      "post": {
        "operationId": "post_broll_id_complete",
        "summary": "Complete",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/broll/import": {
      "post": {
        "operationId": "post_broll_import",
        "summary": "Import",
        "tags": [
          "broll"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/broll_Import"
              }
            }
          }
        }
      }
    },
    "/broll/{id}/{kind}": {
      "get": {
        "operationId": "get_broll_id_kind",
        "summary": "Media",
        "tags": [
          "broll"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/references": {
      "get": {
        "operationId": "get_references",
        "summary": "List",
        "tags": [
          "references"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_references",
        "summary": "Create",
        "tags": [
          "references"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reference_Create"
              }
            }
          }
        }
      }
    },
    "/references/uploads": {
      "post": {
        "operationId": "post_references_uploads",
        "summary": "Upload start",
        "tags": [
          "references"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reference_Start"
              }
            }
          }
        }
      }
    },
    "/references/uploads/{id}": {
      "put": {
        "operationId": "put_references_uploads_id",
        "summary": "Upload chunk",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/references/uploads/{id}/complete": {
      "post": {
        "operationId": "post_references_uploads_id_complete",
        "summary": "Upload complete",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/references/{id}": {
      "get": {
        "operationId": "get_references_id",
        "summary": "Get",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "patch": {
        "operationId": "patch_references_id",
        "summary": "Rename",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reference_Rename"
              }
            }
          }
        }
      },
      "put": {
        "operationId": "put_references_id",
        "summary": "Rename",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reference_Rename"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_references_id",
        "summary": "Delete",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/references/{id}/retry": {
      "post": {
        "operationId": "post_references_id_retry",
        "summary": "Retry",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/references/{id}/{kind}": {
      "get": {
        "operationId": "get_references_id_kind",
        "summary": "Media",
        "tags": [
          "references"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/reference": {
      "get": {
        "operationId": "get_projects_id_reference",
        "summary": "Project get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "put": {
        "operationId": "put_projects_id_reference",
        "summary": "Project put",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reference_ProjectRefs"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_projects_id_reference",
        "summary": "Project delete",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/editor/catalog": {
      "get": {
        "operationId": "get_editor_catalog",
        "summary": "Catalog",
        "tags": [
          "editor"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/editor/effects": {
      "get": {
        "operationId": "get_editor_effects",
        "summary": "Effects catalog",
        "tags": [
          "editor"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/editor/music": {
      "get": {
        "operationId": "get_editor_music",
        "summary": "Search",
        "tags": [
          "editor"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "mood",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "energy",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "bpm_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "bpm_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "vocals",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "`none` (instrumental), `lead`, `presence`."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "`epidemic` or `local` (default: epidemic when available)."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/editor/music/status": {
      "get": {
        "operationId": "get_editor_music_status",
        "summary": "Status",
        "tags": [
          "editor"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/editor/music/{track}/preview": {
      "get": {
        "operationId": "get_editor_music_track_preview",
        "summary": "Preview",
        "tags": [
          "editor"
        ],
        "parameters": [
          {
            "name": "track",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/editor/sfx": {
      "get": {
        "operationId": "get_editor_sfx",
        "summary": "Sfx",
        "tags": [
          "editor"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "mood",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "energy",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "bpm_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "bpm_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "vocals",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "`none` (instrumental), `lead`, `presence`."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "`epidemic` or `local` (default: epidemic when available)."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/account/preferences": {
      "get": {
        "operationId": "get_account_preferences",
        "summary": "Get",
        "tags": [
          "account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "put": {
        "operationId": "put_account_preferences",
        "summary": "Put",
        "tags": [
          "account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/prefs_Put"
              }
            }
          }
        }
      }
    },
    "/account/safelisting": {
      "get": {
        "operationId": "get_account_safelisting",
        "summary": "Safelisting",
        "tags": [
          "account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_account_safelisting",
        "summary": "Safelist",
        "tags": [
          "account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/music_Safelist"
              }
            }
          }
        }
      }
    },
    "/account/safelisting/{license}": {
      "delete": {
        "operationId": "delete_account_safelisting_license",
        "summary": "Unsafelist",
        "tags": [
          "account"
        ],
        "parameters": [
          {
            "name": "license",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/ai-actions": {
      "get": {
        "operationId": "get_projects_id_ai_actions",
        "summary": "Ai actions",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/ai-actions/undo-all": {
      "post": {
        "operationId": "post_projects_id_ai_actions_undo_all",
        "summary": "Undo all",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_ActionRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/ai-actions/{action}/undo": {
      "post": {
        "operationId": "post_projects_id_ai_actions_action_undo",
        "summary": "Undo action",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_ActionRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/ai-actions/{action}/redo": {
      "post": {
        "operationId": "post_projects_id_ai_actions_action_redo",
        "summary": "Redo action",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_ActionRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/suggestions": {
      "get": {
        "operationId": "get_projects_id_suggestions",
        "summary": "Suggestions",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/suggestions/{action}": {
      "post": {
        "operationId": "post_projects_id_suggestions_action",
        "summary": "Answer suggestion",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_SuggestionAnswer"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/requests": {
      "get": {
        "operationId": "get_projects_id_requests",
        "summary": "Requests",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/requests/{request}": {
      "post": {
        "operationId": "post_projects_id_requests_request",
        "summary": "Answer",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "request",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/requests_Answer"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/assistant": {
      "get": {
        "operationId": "get_projects_id_assistant",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_projects_id_assistant",
        "summary": "Ask",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assistant_Ask"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/music": {
      "post": {
        "operationId": "post_projects_id_music",
        "summary": "Set music",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_MusicRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/captions/edit-preview": {
      "post": {
        "operationId": "post_projects_id_captions_edit_preview",
        "summary": "Preview",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/caption_edit_Request"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/edit/dead-air-preview": {
      "post": {
        "operationId": "post_projects_id_edit_dead_air_preview",
        "summary": "Preview",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/dead_air_Request"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/edit/range-preview": {
      "post": {
        "operationId": "post_projects_id_edit_range_preview",
        "summary": "Preview",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/range_edit_Request"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/export-report": {
      "post": {
        "operationId": "post_projects_id_export_report",
        "summary": "Export report",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/music_ExportReport"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/style": {
      "post": {
        "operationId": "post_projects_id_style",
        "summary": "Restyle",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_StyleRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/edit/style": {
      "post": {
        "operationId": "post_projects_id_edit_style",
        "summary": "Restyle",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_StyleRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/clean": {
      "post": {
        "operationId": "post_projects_id_clean",
        "summary": "Clean",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_CleanRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/captions/regenerate": {
      "post": {
        "operationId": "post_projects_id_captions_regenerate",
        "summary": "Regenerate captions",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_ActionRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/edit": {
      "get": {
        "operationId": "get_projects_id_edit",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "put": {
        "operationId": "put_projects_id_edit",
        "summary": "Put",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "Quoted current revision, e.g. \"4\". May also be supplied as revision in the JSON body."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_Save"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/edit/render": {
      "post": {
        "operationId": "post_projects_id_edit_render",
        "summary": "Render",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/studio_RenderRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/favorite": {
      "put": {
        "operationId": "put_projects_id_favorite",
        "summary": "Favorite",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sync_FavoriteRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/edit/revisions": {
      "get": {
        "operationId": "get_projects_id_edit_revisions",
        "summary": "Revisions",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/edit/revisions/{revision}": {
      "get": {
        "operationId": "get_projects_id_edit_revisions_revision",
        "summary": "Revision",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revision",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/edit/restore": {
      "post": {
        "operationId": "post_projects_id_edit_restore",
        "summary": "Restore",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sync_RestoreRequest"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/assets": {
      "get": {
        "operationId": "get_projects_id_assets",
        "summary": "List",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      },
      "post": {
        "operationId": "post_projects_id_assets",
        "summary": "Start",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assets_Start"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/assets/{asset}": {
      "put": {
        "operationId": "put_projects_id_assets_asset",
        "summary": "Chunk",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "asset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "delete_projects_id_assets_asset",
        "summary": "Delete",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "asset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/assets/{asset}/complete": {
      "post": {
        "operationId": "post_projects_id_assets_asset_complete",
        "summary": "Complete",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "asset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/assets/{asset}/media": {
      "get": {
        "operationId": "get_projects_id_assets_asset_media",
        "summary": "Media",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "asset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/web-images": {
      "get": {
        "operationId": "get_projects_id_web_images",
        "summary": "Search",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/web-images/import": {
      "post": {
        "operationId": "post_projects_id_web_images_import",
        "summary": "Import",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/webimages_ImportBody"
              }
            }
          }
        }
      }
    },
    "/projects/{id}/web-images/thumb": {
      "get": {
        "operationId": "get_projects_id_web_images_thumb",
        "summary": "Thumb",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/projects/{id}/takes": {
      "get": {
        "operationId": "get_projects_id_takes",
        "summary": "Get",
        "tags": [
          "projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    },
    "/billing": {
      "get": {
        "operationId": "get_billing",
        "summary": "Status",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response. Media routes return binary data; event routes also support text/event-stream.",
            "content": {
              "application/json": {
                "schema": {}
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "201": {
            "description": "Resource created."
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "429": {
            "$ref": "#/components/responses/Capacity"
          },
          "503": {
            "$ref": "#/components/responses/Capacity"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "PersonalApiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "tak_live_…"
      }
    },
    "schemas": {
      "onboarding_Progress": {
        "type": "object",
        "properties": {
          "step": {
            "type": "integer",
            "minimum": 0
          },
          "creator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "frequency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "handle": {
            "type": "string"
          },
          "completed": {
            "type": "boolean"
          },
          "niches": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Niche ids from `NICHES`; multi-select."
          },
          "editing": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Daily editing time id from `EDITING`."
          },
          "name": {
            "type": "string",
            "description": "Studio owner's display name, as entered during onboarding."
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Recording language id from `LANGUAGES`."
          },
          "styles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Editing style ids from `styles::PRESETS`, primary first; the default for new projects' automatic edits."
          },
          "content": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Workflow quiz v2; niches retain their original topic meaning for older clients."
          },
          "pains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "referral_code": {
            "type": "string"
          }
        },
        "required": [
          "step",
          "handle",
          "completed",
          "niches",
          "name",
          "styles",
          "content",
          "pains",
          "referral_code"
        ]
      },
      "uploads_Start": {
        "type": "object",
        "properties": {
          "takes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/uploads_TakeSpec"
            }
          },
          "ai_edit": {
            "type": "boolean"
          },
          "overlap_audio": {
            "type": "boolean"
          },
          "use_broll": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Let the AI cut away to the account's B-roll library."
          },
          "review_plan": {
            "type": "boolean",
            "description": "Pause for the creator to review the edit plan."
          },
          "intent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "\"Describe your edit\" (≤ 500 characters)."
          },
          "supports_choices": {
            "type": "boolean",
            "description": "The client can show \"Which style?\" (`needs_choice`); see clients.rs."
          },
          "reference_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Reference videos to edit it like (reference.rs; ≤ 3, the account's)."
          }
        },
        "required": [
          "takes"
        ]
      },
      "uploads_TakeSpec": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "size"
        ]
      },
      "uploads_Offset": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "offset"
        ]
      },
      "library_DeleteQuery": {
        "type": "object",
        "properties": {
          "permanent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "library_FolderBody": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_id": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "The folder it goes in; `null` (or absent on create) = the top level."
          }
        }
      },
      "library_Move": {
        "type": "object",
        "properties": {
          "project_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The folder to move them into; `null` = the top level."
          }
        }
      },
      "sharing_LinkBody": {
        "type": "object",
        "properties": {
          "link": {
            "type": "boolean"
          }
        },
        "required": [
          "link"
        ]
      },
      "sharing_Invite": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "sharing_RoleBody": {
        "type": "object",
        "properties": {
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "main_Render": {
        "type": "object",
        "properties": {
          "segments": {
            "type": "array",
            "items": {
              "description": "Structured JSON value. Use the corresponding GET response or editor catalogue for supported values."
            }
          },
          "captions": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "description": "Structured JSON value. Use the corresponding GET response or editor catalogue for supported values."
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "captions_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "overlap_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "caption_style": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "texts": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/overlay_TextOverlay"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "zooms": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/edit_Zoom"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "segments"
        ]
      },
      "overlay_TextOverlay": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              },
              "text": {
                "type": "string"
              },
              "style": {
                "type": "string"
              },
              "color": {
                "type": "string"
              },
              "background": {
                "type": "boolean"
              },
              "align": {
                "type": "string"
              },
              "y": {
                "type": "number"
              }
            },
            "required": [
              "start",
              "end",
              "text"
            ]
          },
          {
            "$ref": "#/components/schemas/overlay_TextStyle",
            "description": "Edit document v2 (see docs/takeai/editor-contract.md §2.8). All absent means the text renders exactly like a v1 overlay."
          }
        ]
      },
      "overlay_TextStyle": {
        "type": "object",
        "properties": {
          "depth": {
            "$ref": "#/components/schemas/overlay_TextDepth",
            "description": "Behind-subject text requires a keyed/matted subject and a backdrop. Absent depth preserves the existing foreground text composition."
          },
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "font": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "x": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "rotation": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "opacity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "stroke": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/overlay_Stroke"
              },
              {
                "type": "null"
              }
            ]
          },
          "shadow": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/overlay_Shadow"
              },
              {
                "type": "null"
              }
            ]
          },
          "box": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/overlay_Plate"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_width": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "animation_in": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/overlay_Animation"
              },
              {
                "type": "null"
              }
            ]
          },
          "animation_out": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/overlay_Animation"
              },
              {
                "type": "null"
              }
            ]
          },
          "blend": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How the text mixes with the picture under it (`document::BLEND_MODES`; absent or `normal` = drawn over it)."
          },
          "keyframes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_Keyframe"
            },
            "description": "Text-local seconds; `x`, `y`, `scale` (× the size), `rotation`, `opacity` (`document::TEXT_KEYED`), linear like layer keyframes."
          },
          "recipe": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The editor's effects recipe that added the text (stored only)."
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The editor's name for it (\"Rename overlay\"): 1–60 characters, trimmed; stored only."
          },
          "hidden": {
            "type": "boolean",
            "description": "Not drawn in the export; kept in the edit."
          }
        }
      },
      "overlay_TextDepth": {
        "oneOf": [
          {
            "type": "string",
            "const": "front"
          },
          {
            "type": "string",
            "const": "behind_subject"
          }
        ]
      },
      "overlay_Stroke": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "width": {
            "type": "number"
          }
        }
      },
      "overlay_Shadow": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "opacity": {
            "type": "number"
          },
          "blur": {
            "type": "number"
          },
          "dx": {
            "type": "number"
          },
          "dy": {
            "type": "number"
          }
        }
      },
      "overlay_Plate": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "opacity": {
            "type": "number"
          },
          "radius": {
            "type": "number"
          }
        }
      },
      "overlay_Animation": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "duration": {
            "type": "number"
          }
        },
        "required": [
          "type"
        ]
      },
      "document_Keyframe": {
        "type": "object",
        "properties": {
          "time": {
            "type": "number"
          },
          "scale": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "x": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "y": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "rotation": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "volume": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "opacity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "0–1: a layer's or text's opacity, a clip's fade (contract §2.2)."
          }
        },
        "required": [
          "time"
        ]
      },
      "edit_Zoom": {
        "type": "object",
        "properties": {
          "start": {
            "type": "number"
          },
          "end": {
            "type": "number"
          },
          "scale": {
            "type": "number"
          }
        },
        "required": [
          "start",
          "end"
        ]
      },
      "events_Params": {
        "type": "object",
        "properties": {
          "after": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "wait": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "Long-poll seconds (0–30, default 25)."
          },
          "format": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`json` forces the long-poll answer even with an SSE Accept header."
          }
        }
      },
      "choices_Pick": {
        "type": "object",
        "properties": {
          "option_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "skip": {
            "type": "boolean"
          },
          "reference_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "With `option_id: \"reference\"`: reference videos the creator picked in the sheet (any of theirs, not only the one offered)."
          }
        }
      },
      "plan_Post": {
        "type": "object",
        "properties": {
          "toggles": {
            "$ref": "#/components/schemas/plan_Overrides"
          }
        }
      },
      "plan_Overrides": {
        "type": "object",
        "properties": {
          "trim_fillers": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "trim_pauses": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "style": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "intensity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "broll": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "popups": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "music": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "music_mood": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "captions": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "post_Refresh": {
        "type": "object",
        "properties": {
          "refresh": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "tools_CensorRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "render": {
            "type": "boolean"
          },
          "mode": {
            "type": "string"
          },
          "words": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "include_mild": {
            "type": "boolean"
          }
        }
      },
      "tools_ReframeRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "render": {
            "type": "boolean"
          },
          "aspect": {
            "type": "string"
          }
        },
        "required": [
          "aspect"
        ]
      },
      "broll_ListQuery": {
        "type": "object",
        "properties": {
          "folder_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A folder's clips; `none` (or `unfiled`): the clips in no folder."
          }
        }
      },
      "broll_Start": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "minimum": 0
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "kind",
          "size"
        ]
      },
      "broll_FolderBody": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "broll_DeleteFolder": {
        "type": "object",
        "properties": {
          "clips": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`keep` (the default: its clips stay in the library, unfiled) or `delete` (its clips and their media go too)."
          }
        }
      },
      "broll_Move": {
        "type": "object",
        "properties": {
          "clip_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The folder to move them into; `null` (or \"none\") unfiles them."
          }
        }
      },
      "broll_Offset": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "offset"
        ]
      },
      "broll_Import": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "url"
        ]
      },
      "reference_Create": {
        "type": "object",
        "properties": {
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "asset_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "reference_Start": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "size"
        ]
      },
      "reference_Offset": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "offset"
        ]
      },
      "reference_Rename": {
        "type": "object",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "reference_ProjectRefs": {
        "type": "object",
        "properties": {
          "reference_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reference_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "render": {
            "type": "boolean"
          },
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "music_MusicQuery": {
        "type": "object",
        "properties": {
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mood": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "energy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "bpm_min": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "bpm_max": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "vocals": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`none` (instrumental), `lead`, `presence`."
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`epidemic` or `local` (default: epidemic when available)."
          }
        }
      },
      "music_PreviewQuery": {
        "type": "object",
        "properties": {
          "format": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "prefs_Put": {
        "type": "object",
        "properties": {
          "preferences": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/prefs_Preferences"
              },
              {
                "type": "null"
              }
            ],
            "description": "The whole preference object (fields left out are cleared), or…"
          },
          "patch": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "description": "…a partial update (fields set to null are cleared)."
          },
          "reset": {
            "type": "boolean",
            "description": "Forget everything learned."
          }
        }
      },
      "prefs_Preferences": {
        "type": "object",
        "properties": {
          "caption_size": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Caption size relative to the style's (0.6–1.8)."
          },
          "caption_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Caption text colour `#RRGGBB`."
          },
          "caption_highlight": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Keyword / karaoke highlight colour."
          },
          "caption_position": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`auto` (smart placement), `top` or `bottom`."
          },
          "caption_font": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "caption_uppercase": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "caption_outline": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Caption edge: `border`, `none` or `shadow` (`captions.outline`), learned when the creator picks one in the editor."
          },
          "captions": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Captions on new edits at all."
          },
          "emoji": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "`false` = never add emoji."
          },
          "popups": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Automatic popups: `none`, `fewer`, `normal`, `more`."
          },
          "zooms": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Punch-in zooms: `none`, `fewer`, `normal`, `more`."
          },
          "cuts": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pacing: `gentle`, `normal`, `tight`."
          },
          "transitions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Transitions: `none` or `normal`."
          },
          "music": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Background music on new edits: only Some(true) opts in; None stays off."
          },
          "music_mood": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "music_volume": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Music level 0–1 (0.5 = default bed)."
          },
          "sfx": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sound effects on popups and transitions."
          },
          "filter": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Colour look preset (looks.rs) or `none`."
          },
          "video_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "\"What I usually make\": biases the video-type classifier."
          },
          "treatments": {
            "type": "object",
            "additionalProperties": true,
            "description": "How each kind of video is edited (video type → treatment id from choices.rs), learned from the creator's answers to \"Which style?\"; the AI stops asking for a type once it knows."
          },
          "brand_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Brand colour `#RRGGBB`: caption highlights and the AI's cards / pills use it (only where it stays readable), plus an optional second one."
          },
          "brand_color_secondary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "removals": {
            "type": "object",
            "additionalProperties": true,
            "description": "What to do without asking with a removal the AI is unsure of, by kind (`warm_up`, `stumble`, `aside`, `retake`, `unfinished`, `visual`): `cut` or `keep`, learned from the creator's answers to the \"Check these\" suggestions (`learn_from_suggestion`)."
          },
          "media_requests": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "\"Add what you're showing\" requests (requests.rs): `none`, `fewer` or `normal`, learned from the creator's answers."
          },
          "broll_offers": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Offers of library B-roll below the auto-placement bar: `none`, `fewer`, `normal` or `more`, learned from Use / Skip."
          },
          "use_broll": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "The send page's defaults, carried to the creator's other devices (each upload still says what it wants): cut to the B-roll library, and pause to review the plan before editing. Not given to planners."
          },
          "review_plan": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/prefs_Note"
            },
            "description": "Free-form learned statements shown in settings and given to the planners (\"Prefers bigger yellow captions\")."
          },
          "signals": {
            "type": "object",
            "additionalProperties": true,
            "description": "Correction counters (internal; e.g. `popup_undone`)."
          }
        }
      },
      "prefs_Note": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "description": "`chat`, `undo`, `edit`, `settings`."
          },
          "key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "integer"
          }
        }
      },
      "music_Safelist": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "description": "`youtube`, `instagram`, `facebook`, `tiktok`, `twitch`, `podcast`, `website`."
          },
          "url": {
            "type": "string"
          },
          "kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`channel` (default) or `video` (YouTube only)."
          }
        },
        "required": [
          "platform",
          "url"
        ]
      },
      "studio_ActionRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "render": {
            "type": "boolean"
          }
        }
      },
      "studio_SuggestionAnswer": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "description": "`cut` or `keep` (`decision` is accepted too)."
          },
          "apply": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "true (default): change the saved edit (a new revision). false: only record the answer (the app already changed its local draft)."
          },
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "render": {
            "type": "boolean"
          }
        }
      },
      "requests_Answer": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "description": "`provide` (with `asset_ids`), `use` (an offer) or `skip`."
          },
          "asset_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Project assets (`POST /projects/{id}/assets`) to place, in order."
          },
          "layout": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`auto` (default), `cutaway`, `pip`, `sequence`, `grid`."
          },
          "apply": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "false: only record a skip (no new revision). Placing always saves."
          },
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "document": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_EditDocument"
              },
              {
                "type": "null"
              }
            ],
            "description": "The client's current (possibly unsaved) edit to apply the answer to (like the assistant); absent = the saved edit."
          },
          "render": {
            "type": "boolean"
          }
        }
      },
      "document_EditDocument": {
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "minimum": 0
          },
          "canvas": {
            "$ref": "#/components/schemas/document_Canvas"
          },
          "clips": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_Clip"
            }
          },
          "overlap_audio": {
            "type": "boolean"
          },
          "zooms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/edit_Zoom"
            }
          },
          "effects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/effects_EffectItem"
            },
            "description": "The Effects track: video and body effects on the output timeline (effects.rs), applied in order after the document look."
          },
          "adjust": {
            "$ref": "#/components/schemas/looks_Adjust"
          },
          "filter": {
            "$ref": "#/components/schemas/looks_FilterSpec"
          },
          "captions": {
            "$ref": "#/components/schemas/document_Captions"
          },
          "texts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/overlay_TextOverlay"
            }
          },
          "layers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_Layer"
            }
          },
          "audio": {
            "$ref": "#/components/schemas/document_DocAudio"
          },
          "audio_tracks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_AudioTrack"
            }
          },
          "export": {
            "$ref": "#/components/schemas/document_Export"
          },
          "style": {
            "$ref": "#/components/schemas/document_StyleState",
            "description": "Editing style presets applied to this edit (styles.rs). Informational for clients plus the letterbox and auto-popup switches; changing the ids here does nothing by itself — `POST /edit/style` re-applies them."
          },
          "backdrop": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_Backdrop"
              },
              {
                "type": "null"
              }
            ],
            "description": "Background replacement behind the person in main-track clips (`background_replace` is accepted as an alias): chroma-keyed clips show it through the key, other clips are cut out with the server's person matte (matte.rs)."
          },
          "ai_actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/actions_AiAction"
            },
            "description": "Everything the AI changed on its own, oldest first (actions.rs): each entry can be undone / redone through the ai-actions routes."
          },
          "holds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/holds_Hold"
            },
            "description": "Speechless action on camera (a try-on, a demo, a reveal) in source seconds, from the video model's watch (holds.rs): pacing never cuts a hold."
          }
        },
        "required": [
          "clips"
        ]
      },
      "document_Canvas": {
        "type": "object",
        "properties": {
          "aspect": {
            "type": "string"
          },
          "background": {
            "$ref": "#/components/schemas/document_Background"
          }
        }
      },
      "document_Background": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "blur": {
            "type": "number"
          }
        }
      },
      "document_Clip": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "source_start": {
                "type": "number"
              },
              "source_end": {
                "type": "number"
              },
              "duration": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Freeze-frame length; ignored for video clips."
              },
              "speed": {
                "type": "number"
              },
              "reverse": {
                "type": "boolean"
              },
              "volume": {
                "type": "number"
              },
              "mute": {
                "type": "boolean"
              },
              "fade_in": {
                "type": "number"
              },
              "fade_out": {
                "type": "number"
              },
              "transform": {
                "$ref": "#/components/schemas/document_Transform"
              },
              "crop": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/document_Crop"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "adjust": {
                "$ref": "#/components/schemas/looks_Adjust"
              },
              "filter": {
                "$ref": "#/components/schemas/looks_FilterSpec"
              },
              "keyframes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/document_Keyframe"
                }
              },
              "transition": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/document_Transition"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "chroma_key": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/document_ChromaKey"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Green-screen key (the backdrop, else the canvas background, shows through)."
              },
              "animation_in": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/overlay_Animation"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Entrance at the clip's start / exit at its end (`CLIP_ANIMATIONS`)."
              },
              "animation_out": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/overlay_Animation"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pitch": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Semitones (−12…12) the sound is shifted, whatever the speed."
              },
              "enhance_voice": {
                "type": "boolean",
                "description": "Voice clean-up of this clip's sound (`audio::ENHANCE_VOICE`)."
              },
              "background": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "`original` (absent) or `remove`: the person cut out over the canvas background (the person matte, like behind-subject items)."
              },
              "pitch_link": {
                "type": "boolean",
                "description": "The sound's pitch follows its speed like tape (speed 2 = an octave up): a resample instead of the `atempo` chain. Not with `pitch`, not on freeze frames."
              },
              "hold_frames": {
                "type": "boolean",
                "description": "The picture changes only `HOLD_FPS` times a second (each frame held, a stop-motion look); sound, speed and timing are unchanged."
              },
              "blend": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "How the picture mixes with the canvas background (and behind-subject items) under it: `BLEND_MODES`, absent or `normal` = drawn over it."
              },
              "asset_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A project upload of kind video the clip plays instead of the footage, with its own sound (contract §2.2 \"Replace\"): `source_start` / `source_end` are that upload's seconds. Footage and word tools leave such clips alone, like freeze frames."
              },
              "hidden": {
                "type": "boolean",
                "description": "The picture is not drawn (the canvas background shows there); the clip keeps its time and its sound."
              }
            },
            "required": [
              "id",
              "source_start"
            ]
          },
          {
            "$ref": "#/components/schemas/document_PictureStyle",
            "description": "Mask, drop shadow, rounded corners and border of the picture."
          }
        ]
      },
      "document_Transform": {
        "type": "object",
        "properties": {
          "scale": {
            "type": "number"
          },
          "x": {
            "type": "number"
          },
          "y": {
            "type": "number"
          },
          "rotation": {
            "type": "number"
          },
          "scale_x": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Per-axis multipliers (0.1–4) on top of `scale`, along the picture's own axes (before rotation); absent = 1."
          },
          "scale_y": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "flip_x": {
            "type": "boolean",
            "description": "Mirror the (cropped) picture left to right / top to bottom about its own centre, before its mask, border, rotation and shadow."
          },
          "flip_y": {
            "type": "boolean"
          }
        }
      },
      "document_Crop": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number"
          },
          "y": {
            "type": "number"
          },
          "w": {
            "type": "number"
          },
          "h": {
            "type": "number"
          }
        },
        "required": [
          "x",
          "y",
          "w",
          "h"
        ]
      },
      "looks_Adjust": {
        "type": "object",
        "properties": {
          "brightness": {
            "type": "number"
          },
          "contrast": {
            "type": "number"
          },
          "saturation": {
            "type": "number"
          },
          "exposure": {
            "type": "number"
          },
          "temperature": {
            "type": "number"
          },
          "tint": {
            "type": "number"
          },
          "sharpen": {
            "type": "number"
          },
          "vignette": {
            "type": "number"
          },
          "fade": {
            "type": "number"
          }
        }
      },
      "looks_FilterSpec": {
        "type": "object",
        "properties": {
          "preset": {
            "type": "string"
          },
          "intensity": {
            "type": "number"
          }
        }
      },
      "document_Transition": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "duration": {
            "type": "number"
          }
        },
        "required": [
          "type"
        ]
      },
      "document_ChromaKey": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "similarity": {
            "type": "number"
          },
          "smoothness": {
            "type": "number"
          },
          "spill": {
            "type": "number"
          }
        }
      },
      "document_PictureStyle": {
        "type": "object",
        "properties": {
          "mask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_Mask"
              },
              {
                "type": "null"
              }
            ]
          },
          "shadow": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_DropShadow"
              },
              {
                "type": "null"
              }
            ]
          },
          "corner_radius": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Rounded corners: radius as a fraction (0–0.5) of the picture's shorter side."
          },
          "border": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_Border"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "document_Mask": {
        "type": "object",
        "properties": {
          "shape": {
            "type": "string"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`text` masks: 1–24 characters, drawn on one line in `MASK_FONT`."
          },
          "feather": {
            "type": "number",
            "description": "Edge softness, 0–0.2 of the picture's shorter side."
          }
        },
        "required": [
          "shape"
        ]
      },
      "document_DropShadow": {
        "type": "object",
        "properties": {
          "opacity": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "x": {
            "type": "number",
            "description": "Offset, −1…1 of 5 % of the frame width (0, 0 = straight behind)."
          },
          "y": {
            "type": "number"
          },
          "blur": {
            "type": "number",
            "description": "CSS blur radius in px at a 1080 px wide frame (0–100)."
          }
        }
      },
      "document_Border": {
        "type": "object",
        "properties": {
          "width": {
            "type": "number",
            "description": "Fraction (0–0.05) of the frame width."
          },
          "color": {
            "type": "string"
          }
        }
      },
      "effects_EffectItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "effect_id": {
            "type": "string"
          },
          "start": {
            "type": "number"
          },
          "end": {
            "type": "number"
          },
          "params": {
            "type": "object",
            "additionalProperties": true
          },
          "intensity": {
            "type": "number"
          }
        },
        "required": [
          "id",
          "effect_id",
          "start",
          "end"
        ]
      },
      "document_Captions": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "style": {
            "type": "string"
          },
          "karaoke": {
            "type": "boolean"
          },
          "highlight_color": {
            "type": "string"
          },
          "y": {
            "type": "number",
            "description": "Bottom edge of the caption text as a fraction of the height."
          },
          "x": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Centre of the caption text across the frame, as a fraction of the width (0.1–0.9); absent = centred. Applies to every caption."
          },
          "size": {
            "type": "number"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_CaptionItem"
            }
          },
          "font": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Catalog font id; absent = the style's font (Classic: TikTok Sans)."
          },
          "uppercase": {
            "type": "boolean",
            "description": "Draw captions in capitals (the stored text keeps its case)."
          },
          "lowercase": {
            "type": "boolean",
            "description": "Draw captions in lower case (Talking-head, Cinematic and the commentary captions; the stored text keeps its case). `uppercase` wins when both are set. See `shown`."
          },
          "keep_caps": {
            "type": "boolean",
            "description": "With `lowercase`: the pronoun I and acronyms (AI, CEO) keep their capitals (\"the scariest AI\", \"I can't lie\"); without it everything is lower case (\"i love living in nyc\")."
          },
          "emphasis_font": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Catalog font id the emphasis words are drawn in, in the text colour (Cinematic: a bold key phrase inside a light caption, \"to **moving out** to\"). Absent = emphasis words take the highlight colour (never when `plain`)."
          },
          "max_words": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "Most words a caption chunk shows (the style's phrase length, set with the style; qa::caption_max_words): clients that split long captions into chunks (the iOS preview and export) use the same."
          },
          "stroke": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Outline width as a fraction of the font size (0–0.3); absent = the style's thin outline."
          },
          "animation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How each caption appears: `none` (default) or `pop` / `bounce`."
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Text colour (`#RRGGBB`); absent = white."
          },
          "placement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`auto`: each item's `y` (the AI's smart placement, placement.rs) overrides `y`; absent or `fixed`: every caption sits at `y`."
          },
          "callouts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_CaptionCallout"
            },
            "description": "Call-to-action keywords (\"comment MAGIC\", cta.rs): a caption item whose whole text is one of these is drawn as a callout — capitals, `scale` × the caption size, bold, in `color` (else the highlight colour), popping in. Both renderers read this (contract §26)."
          },
          "outline": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Edge treatment of Classic caption text: `border` (black outline, `stroke` wide), `none` (bare text) or `shadow` (a subtle soft drop shadow). Absent = the original look (thin outline plus a soft shadow). See `CAPTION_OUTLINES`."
          },
          "plain": {
            "type": "boolean",
            "description": "Plain captions (the UGC editing styles): every word in the text colour and nothing animates — emphasis words, the karaoke word and CTA callouts are never drawn in `highlight_color`, and no caption (nor callout) pops or bounces in. A callout is still bigger and bold."
          }
        }
      },
      "document_CaptionItem": {
        "type": "object",
        "properties": {
          "appearance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_CaptionAppearance"
              },
              {
                "type": "null"
              }
            ],
            "description": "An individual caption's look; absent fields inherit the track."
          },
          "start": {
            "type": "number"
          },
          "end": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "emphasis": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "words": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/document_WordTime"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Karaoke timing override (output seconds)."
          },
          "y": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Bottom edge for this caption when `captions.placement` is `auto`."
          },
          "hidden": {
            "type": "boolean",
            "description": "Not drawn in the export; kept in the edit."
          }
        },
        "required": [
          "start",
          "end",
          "text"
        ]
      },
      "document_CaptionAppearance": {
        "type": "object",
        "properties": {
          "full_text": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Manual split/merge groups draw as one block in clients that otherwise chunk legacy captions. The server already renders an item as one block."
          },
          "style": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "font": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "outline": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "document_WordTime": {
        "type": "object",
        "properties": {
          "start": {
            "type": "number"
          },
          "end": {
            "type": "number"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "start",
          "end",
          "text"
        ]
      },
      "document_CaptionCallout": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The keyword as said (\"magic\"); matched against caption items' text, ignoring case and punctuation."
          },
          "start": {
            "type": "number",
            "description": "Output seconds the keyword is on screen (a hint; the match is by text)."
          },
          "end": {
            "type": "number"
          },
          "scale": {
            "type": "number",
            "description": "Size relative to the caption size (1–2, default 1.5)."
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`#RRGGBB`; absent = the captions' highlight colour."
          },
          "animation": {
            "type": "string",
            "description": "Entrance: `pop` (default), `bounce` or `none`."
          },
          "verb": {
            "type": "string",
            "description": "What was asked: `comment`, `dm`, `type`, `search`, `reply`, `text`."
          }
        },
        "required": [
          "text",
          "start",
          "end"
        ]
      },
      "document_Layer": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "asset_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "emoji": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              },
              "source_start": {
                "type": "number"
              },
              "x": {
                "type": "number"
              },
              "y": {
                "type": "number"
              },
              "scale": {
                "type": "number"
              },
              "rotation": {
                "type": "number"
              },
              "opacity": {
                "type": "number"
              },
              "volume": {
                "type": "number"
              },
              "keyframes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/document_Keyframe"
                }
              },
              "animation_in": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/overlay_Animation"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "animation_out": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/overlay_Animation"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "template": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "`popup` layers: template id (popups.rs) and its content. The popup is drawn to an image `scale` × canvas width wide, then placed like an image layer."
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "highlight": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Words of `text` drawn in `accent`."
              },
              "font": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "color": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "accent": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "direction": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Arrow / callout pointer: `up`, `down`, `left`, `right`."
              },
              "chroma_key": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/document_ChromaKey"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Green-screen key for video and image layers."
              },
              "crop": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/document_Crop"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Video and image layers: the part of the picture shown (fractions of the frame, like a clip's crop); `scale` sizes the cropped picture."
              },
              "blend": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "How the layer mixes with the picture under it (`BLEND_MODES`; absent or `normal` = drawn over it)."
              },
              "depth": {
                "$ref": "#/components/schemas/overlay_TextDepth",
                "description": "`behind_subject`: drawn on the backdrop before the keyed / matted subject, like behind-subject text (contract §2.8)."
              },
              "recipe": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The editor's effects recipe that added the layer (stored only)."
              },
              "scale_x": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Video and image layers: per-axis multipliers (0.1–4) on top of `scale`: width `scale` × W × `scale_x`, height the picture's at `scale` × W × `scale_y`."
              },
              "scale_y": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "flip_x": {
                "type": "boolean",
                "description": "Video and image layers: the picture mirrored left to right / top to bottom about its own centre (after its crop, before everything else)."
              },
              "flip_y": {
                "type": "boolean"
              },
              "hidden": {
                "type": "boolean",
                "description": "Not drawn (nor heard) in the export; kept in the edit."
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The editor's name for it (\"Rename overlay\"): 1–`MAX_NAME_CHARS` characters, trimmed; stored only."
              }
            },
            "required": [
              "id",
              "kind",
              "start",
              "end"
            ]
          },
          {
            "$ref": "#/components/schemas/document_PictureStyle",
            "description": "Video and image layers: mask, drop shadow, corners and border."
          }
        ]
      },
      "document_DocAudio": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "ducking": {
                "type": "number"
              }
            }
          },
          {
            "$ref": "#/components/schemas/audio_AudioPlan"
          }
        ]
      },
      "audio_AudioPlan": {
        "type": "object",
        "properties": {
          "denoise": {
            "type": "boolean",
            "description": "Apply FFT denoise before normalisation."
          },
          "noise_floor_db": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "10th-percentile short-term RMS of the source, in dBFS."
          },
          "speech_db": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "90th-percentile short-term RMS (speech level), in dBFS."
          },
          "normalize": {
            "type": "boolean",
            "description": "Two-pass loudness normalisation to -14 LUFS."
          }
        }
      },
      "document_AudioTrack": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "asset_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "library_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "start": {
            "type": "number"
          },
          "source_start": {
            "type": "number"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "volume": {
            "type": "number"
          },
          "fade_in": {
            "type": "number"
          },
          "fade_out": {
            "type": "number"
          },
          "loop": {
            "type": "boolean"
          },
          "duck": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "keyframes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/document_Keyframe"
            }
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Display name and artist of a library / catalogue track."
          },
          "artist": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "length": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Length of the whole sound in seconds (catalogue tracks, `es:` ids, are validated against it)."
          },
          "hidden": {
            "type": "boolean",
            "description": "Silent in the export; kept in the edit."
          }
        },
        "required": [
          "id"
        ]
      },
      "document_Export": {
        "type": "object",
        "properties": {
          "resolution": {
            "type": "string"
          },
          "fps": {
            "type": "integer",
            "minimum": 0
          },
          "quality": {
            "type": "string"
          }
        }
      },
      "document_StyleState": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Style preset ids, primary first."
          },
          "letterbox": {
            "type": "number",
            "description": "Black bars top and bottom, each this fraction of the height (0–0.15)."
          },
          "auto_popups": {
            "type": "boolean",
            "description": "Let the AI add hook / keyword / call-to-action popups."
          },
          "video_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The video type the edit recipe was chosen for (videotype.rs)."
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Format templates the edit is built on (formats.rs, contract §28): `ranking_board`, `split_interview`, `app_card`, `brand_post`. Informational; their layers and texts carry `fmt-` ids."
          }
        }
      },
      "document_Backdrop": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "`color`, `image` (asset), `video` (asset, looped) or `blur` (the clip itself, blurred)."
          },
          "color": {
            "type": "string"
          },
          "asset_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "blur": {
            "type": "number"
          },
          "clip_ids": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Main-track clips it applies to; absent = every clip."
          },
          "feather": {
            "type": "number",
            "description": "Edge softness of the person cut-out, 0–1."
          },
          "clip_assets": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "description": "Per-clip background images (clip id → image asset id), overriding `asset_id` for those clips: green-screen commentary shows what is being talked about behind the speaker, changing with the topic."
          }
        }
      },
      "actions_AiAction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "description": "`cut`, `silence`, `filler`, `retake`, `hook`, `caption_fix`, `captions`, `caption_style`, `caption_placement`, `zoom`, `popup`, `sticker`, `text`, `transition`, `music`, `sfx`, `look`, `style`, `denoise`, `normalize`, `background`, `chroma_key`, `speed`, `volume`, `aspect`, `video_type`, `note`, `edit` (assistant)."
          },
          "label": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "description": "Why, in plain language."
          },
          "target": {
            "$ref": "#/components/schemas/actions_Target"
          },
          "payload": {
            "description": "The operation that makes the change (`Op` as JSON)."
          },
          "applied": {
            "type": "boolean",
            "description": "The change is currently in the edit."
          },
          "undoable": {
            "type": "boolean",
            "description": "False for notes (e.g. \"recognised a product ad\")."
          },
          "origin": {
            "type": "string",
            "description": "`auto` (first edit), `style`, `clean`, `assistant`, `placement`."
          },
          "created_at": {
            "type": "integer"
          },
          "suggestion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/actions_Suggestion"
              },
              {
                "type": "null"
              }
            ],
            "description": "Set on a suggested cut (\"Check these\"): a removal the AI was unsure of, recorded not applied; `redo` makes the cut, `undo` puts it back."
          },
          "request": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/requests_Request"
              },
              {
                "type": "null"
              }
            ],
            "description": "Set on a media request or B-roll offer (requests.rs): recorded not applied; answering places media (then undo / redo work on it)."
          }
        },
        "required": [
          "id",
          "kind"
        ]
      },
      "actions_Target": {
        "type": "object",
        "properties": {
          "start": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "end": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_start": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_end": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "clip_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "layer_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "track_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "text_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "heard": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Caption fixes: what speech recognition heard and what is shown."
          },
          "shown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scale": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Zoom scale (punch-ins)."
          }
        }
      },
      "actions_Suggestion": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "`warm_up`, `stumble`, `aside`, `retake`, `unfinished`, `visual`."
          },
          "text": {
            "type": "string",
            "description": "The words it would cut."
          },
          "confidence": {
            "type": "number",
            "description": "How sure the AI was that they should go (0-1)."
          },
          "status": {
            "type": "string",
            "description": "`pending`, `keep` or `cut` (the creator's answer)."
          }
        }
      },
      "requests_Request": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "`media` or `broll_offer`."
          },
          "media": {
            "type": "string",
            "description": "What to add: `image`, `video`, `screen_recording` or `any` (media); the clip's kind (offers)."
          },
          "quote": {
            "type": "string",
            "description": "The words (\"look at these four posts\")."
          },
          "subject": {
            "type": "string",
            "description": "What it's about (\"posts\")."
          },
          "expected": {
            "type": "integer",
            "minimum": 0,
            "description": "How many things were mentioned (1 for \"this\"); 0 = not said."
          },
          "exact": {
            "type": "boolean",
            "description": "The number was said (\"four posts\")."
          },
          "status": {
            "type": "string",
            "description": "`pending`, `provided` (media placed), `used` (offer placed), `skipped`."
          },
          "confidence": {
            "type": "number"
          },
          "clip_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Offers: the library clip."
          },
          "clip_name": {
            "type": "string"
          },
          "matched": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Words of the line the clip matched (offers)."
          },
          "asset_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "What an answer placed."
          },
          "layout": {
            "type": "string",
            "description": "`cutaway`, `pip`, `sequence` or `grid` once placed."
          }
        }
      },
      "holds_Hold": {
        "type": "object",
        "properties": {
          "start": {
            "type": "number",
            "description": "Where the action happens without words."
          },
          "end": {
            "type": "number"
          },
          "hold_start": {
            "type": "number",
            "description": "The part the edit keeps (all of it up to `HOLD_MAX` s, centred)."
          },
          "hold_end": {
            "type": "number"
          },
          "after": {
            "type": "number",
            "description": "The end of the word before (or the take's start) and the start of the word after (or the take's end): a clip reaching either edge of the silence can be extended over the hold without taking a word."
          },
          "before": {
            "type": "number"
          },
          "note": {
            "type": "string",
            "description": "What happens, as the video model described it (\"ties the halter\")."
          }
        }
      },
      "assistant_Ask": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/attachments_Attachment"
            },
            "description": "Images sent with the message (project image assets), ≤ 4."
          },
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "document": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/document_EditDocument"
              },
              {
                "type": "null"
              }
            ],
            "description": "The client's current (possibly unsaved) document to apply the request to; it must be based on the saved `revision`."
          },
          "render": {
            "type": "boolean"
          }
        },
        "required": [
          "message"
        ]
      },
      "attachments_Attachment": {
        "type": "object",
        "properties": {
          "asset_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "height": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "studio_MusicRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "track_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A `/v1/editor/music` id (`es:…` or a library id); absent with `remove: true` takes the music out."
          },
          "remove": {
            "type": "boolean"
          },
          "level": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "0–1, 0.5 = a normal bed under the voice."
          },
          "start": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds into the track to start from."
          },
          "render": {
            "type": "boolean"
          }
        }
      },
      "caption_edit_Request": {
        "type": "object",
        "properties": {
          "captions": {
            "$ref": "#/components/schemas/document_Captions"
          },
          "duration": {
            "type": "number"
          },
          "index": {
            "type": "integer",
            "minimum": 0
          },
          "operation": {
            "$ref": "#/components/schemas/caption_edit_Operation"
          }
        },
        "required": [
          "captions",
          "duration",
          "index",
          "operation"
        ]
      },
      "caption_edit_Operation": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "cursor": {
                "type": "integer",
                "minimum": 0
              },
              "type": {
                "type": "string",
                "const": "split"
              }
            },
            "required": [
              "cursor",
              "type"
            ]
          },
          {
            "type": "object",
            "properties": {
              "previous": {
                "type": "boolean"
              },
              "type": {
                "type": "string",
                "const": "merge"
              }
            },
            "required": [
              "previous",
              "type"
            ]
          },
          {
            "type": "object",
            "properties": {
              "appearance": {
                "$ref": "#/components/schemas/document_CaptionAppearance"
              },
              "all": {
                "type": "boolean"
              },
              "type": {
                "type": "string",
                "const": "appearance"
              }
            },
            "required": [
              "appearance",
              "all",
              "type"
            ]
          },
          {
            "type": "object",
            "properties": {
              "word": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "highlight"
              }
            },
            "required": [
              "word",
              "type"
            ]
          }
        ]
      },
      "dead_air_Request": {
        "type": "object",
        "properties": {
          "document": {
            "$ref": "#/components/schemas/document_EditDocument"
          },
          "peaks": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "clip_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Original plain clip ids; excludes speed ramps expanded by the client."
          }
        },
        "required": [
          "document",
          "peaks",
          "clip_ids"
        ]
      },
      "range_edit_Request": {
        "type": "object",
        "properties": {
          "document": {
            "$ref": "#/components/schemas/document_EditDocument"
          },
          "op": {
            "type": "string",
            "description": "`remove` or `restore`."
          },
          "source_start": {
            "type": "number"
          },
          "source_end": {
            "type": "number"
          }
        },
        "required": [
          "document",
          "op",
          "source_start",
          "source_end"
        ]
      },
      "music_ExportReport": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "description": "`tiktok`, `instagram`, `youtube`, `facebook`, `twitter`, `twitch`, `other` or `local` (saved to the device)."
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The published video URL (YouTube videos can be safelisted)."
          }
        },
        "required": [
          "platform"
        ]
      },
      "studio_StyleRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "style": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "One style id (the app's switcher)…"
          },
          "styles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "…or several, primary first. Neither = the account's onboarding styles."
          },
          "auto_popups": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "letterbox": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "render": {
            "type": "boolean",
            "description": "Also export the new revision (like `POST /edit/render`)."
          }
        }
      },
      "studio_CleanRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "aggressiveness": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "description": "0 (gentle) … 1 (aggressive), or `gentle` / `normal` / `aggressive`."
          },
          "render": {
            "type": "boolean"
          }
        }
      },
      "studio_Save": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "document": {
            "$ref": "#/components/schemas/document_EditDocument"
          },
          "merge": {
            "type": "boolean",
            "description": "Saved on a stale revision: combine with what another device saved since when the two changed different parts (sync.rs); otherwise the 409 names the parts both changed."
          }
        },
        "required": [
          "document"
        ]
      },
      "studio_RenderRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "sync_FavoriteRequest": {
        "type": "object",
        "properties": {
          "favorite": {
            "type": "boolean"
          },
          "changed_at": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the creator made the change (Unix seconds; a device sending a change made offline). An older change than the stored one is ignored and the stored state returned, so the latest choice wins everywhere."
          }
        },
        "required": [
          "favorite"
        ]
      },
      "sync_RestoreRequest": {
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0,
            "description": "The kept revision to bring back."
          },
          "base": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The revision the client last read (or `If-Match`); default: the saved one."
          }
        },
        "required": [
          "revision"
        ]
      },
      "assets_Start": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "kind",
          "size"
        ]
      },
      "assets_Offset": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "offset"
        ]
      },
      "webimages_ImportBody": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "id"
        ]
      },
      "webimages_ThumbQuery": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "id"
        ]
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Invalid input. The JSON error field explains what to correct.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Missing, invalid, expired or revoked API key.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Your account, role or plan does not allow this operation.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Resource not found or not accessible to this account.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Conflict": {
        "description": "Stale revision, upload offset mismatch or resource not ready. Reload the current state before retrying.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Capacity": {
        "description": "Usage limit or server capacity reached. Honor Retry-After when present; use bounded exponential backoff.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
