{"openapi":"3.1.1","info":{"title":"MetaGhost Cloud API","version":"0.2.0","description":"Authenticate with a Cloud API key from your MetaGhost account. Use /capabilities for available operations and /quotes for current credit costs."},"servers":[{"url":"https://api.metaghost.io/api/cloud/v1","description":"Production"}],"security":[{"CloudKey":[]}],"paths":{"/drive/connections/{connectionId}/outputs":{"post":{"operationId":"createDriveOutput","description":"Deliver 1–1000 owned assets, results, Studio exports or processing job results to an explicit Drive folder. A job source can be registered before completion: status waiting freezes each successful result as it appears, then delivers the collection when all selected jobs finish. Failed jobs keep per-item errors. Delivery never starts, reruns or cancels processing, and never changes its credits. Late transfer quota failures require delivery recovery; successful processing remains charged. Requires drive:read and the corresponding source scopes. Sources and traffic budgets freeze atomically before folder writes. mirror defaults true; false flattens paths and rejects duplicate names. At most 32 folder levels and 2000 folders; the complete manifest stays within 2 MiB. reuse_unique reuses exactly one visible matching folder; create_new creates folders with durable fixed IDs. Names are NFC normalized and compared without case. Drive listings are not atomic and app visibility can be limited. Exports always create new files, never overwrite existing files by name. No user credits; storage, server and network costs apply. Work 24 hours, metadata 30 days.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveOutputCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveOutput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/outputs/{collectionId}":{"get":{"operationId":"readDriveOutput","description":"Read the owned collection receipt. A planned remote ID is not proof of delivery; completed means every child passed full remote-byte verification. Receipts are historical and do not prevent later external edits.","x-required-scope":"drive:read","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveOutput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"delete":{"operationId":"cancelDriveOutput","description":"Stop unfinished delivery; keep completed files and all remote folders. Requires drive:read. An in-flight request may finish and is reconciled during explicit recovery. Never deletes Google data or reruns processing.","x-required-scope":"drive:write","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveOutput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/outputs/{collectionId}/items":{"get":{"operationId":"readDriveOutputItems","description":"Read per-file transfer receipts or folder receipts. kind defaults files; cursor defaults 0; limit defaults 100. Returned paths are labels, not local filesystem paths.","x-required-scope":"drive:read","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"kind","in":"query","schema":{"type":"string","enum":["files","folders"]}},{"name":"cursor","in":"query","schema":{"type":"integer","minimum":0,"maximum":1999}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveOutputItems"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/outputs/{collectionId}/recover":{"post":{"operationId":"recoverDriveOutput","description":"Explicitly resume an incomplete delivery after leases drain. Same owner, Google account and OAuth binding; current source scopes required. readOnly verifies known remote IDs without uploading or requiring source bytes. Writable recovery requires remaining live owned sources. At most 3 recoveries within the original 24 hours; neither traffic budget nor upload/folder attempt counts reset. Completed children remain unchanged. Never reruns media processing or charges its credits again.","x-required-scope":"drive:write","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransferRecover"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveOutput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/connections/{connectionId}/inputs":{"post":{"operationId":"createDriveInput","description":"Prepare imports from 1–1000 explicit file IDs, a completed owned files Picker, or a folder with explicit recursive choice. Requires drive:read and assets:write. Enumerates only app-granted visibility, never an atomic Drive snapshot; a reported incomplete search fails before download. At most 1000 files, 2000 folders, 32 folder levels and 100 list pages per folder, with a complete manifest within 2 MiB. Names/paths are display labels, IDs deduplicate entries. All accepted files reserve storage/network atomically before any binary download, subject to lower account quotas (default 64 assets/1 GiB). Each file is then downloaded and natively inspected by the existing transfer workflow. Skipped/failed items remain inspectable. No user credits; host/storage/network costs apply. Original 24-hour work deadline and 30-day metadata retention.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveInputCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveInput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read","assets:write"]}},"/drive/inputs/{collectionId}":{"get":{"operationId":"readDriveInput","description":"Read owned enumeration/import status and counts. imported counts only completed transfers; partial means some imports succeeded and some failed. Completed assets retain their independent storage expiry.","x-required-scope":"drive:read","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveInput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"delete":{"operationId":"cancelDriveInput","description":"Stop enumeration and unfinished child transfers. Requires drive:read. Already completed assets are retained; cancellation never deletes Google files. In-flight calls can drain but cannot publish cancelled imports.","x-required-scope":"drive:write","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveInput"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/inputs/{collectionId}/items":{"get":{"operationId":"readDriveInputItems","description":"Page through discovered folder/file labels and per-file transfer receipts, including skipped or failed entries. Cursor is an integer index, default 0, and limit is 1–100. Receipt metadata does not imply that an asset remains unexpired.","x-required-scope":"drive:read","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"cursor","in":"query","schema":{"type":"integer","minimum":0,"maximum":2999}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveInputItems"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/connections/{connectionId}/transfers":{"post":{"operationId":"createDriveTransfer","description":"Queue one binary Drive import or export. Requires drive:read plus assets:write for imports/assets, jobs:read for results or projects:read for Studio exports. Imports become assets only after native inspection. Exports create a new file using a fixed ID and resumable upload, then reread and hash every remote byte before delivery=verified. The trusted profile bounds files to 25 MiB or 500 MiB; source feature limits still apply. No user credits; bounded storage/network quotas apply. Work expires after 24 hours.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransferCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/transfers/{transferId}":{"get":{"operationId":"readDriveTransfer","description":"Read the owned receipt and byte progress, retained for 30 days. A remoteFileId is planned and does not by itself prove delivery. completed/verified is a historical receipt; subsequent external edits are not prevented. No credentials, source keys or upload-session URL are returned.","x-required-scope":"drive:read","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"delete":{"operationId":"cancelDriveTransfer","description":"Stop pending work and prevent import publication. Requires drive:read. An in-flight network call can finish; cancellation does not delete or undo a Google file. An uncertain export can be recovered after its lease expires. Completed receipts stay unchanged.","x-required-scope":"drive:write","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/transfers/{transferId}/recover":{"post":{"operationId":"recoverDriveTransfer","description":"Recover an uncertain export with the same actor, Google account and OAuth application. Requires drive:read and the original source scope. readOnly=true only verifies existing remote bytes and does not require the source to remain stored; false resumes bounded upload to the same file ID and revalidates the source. At most three recoveries within the original deadline; attempts and byte budgets never reset.","x-required-scope":"drive:write","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransferRecover"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/connections/{connectionId}/mutations":{"post":{"operationId":"createDriveMutation","description":"Queue one owned Google Drive file action, requiring drive:read. Current file version is required except for folder creation; copy requires a name and destination and does not recursively copy folders. Permanent deletion requires confirmPermanent=true and may remove folder contents. No credits. Poll the durable receipt. Retries with the same Idempotency-Key return the original receipt without repeating the action. Version checks precede dispatch; they are not an atomic lock against external Google edits.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveMutationCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveMutation"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/mutations/{mutationId}":{"get":{"operationId":"readDriveMutation","description":"Read an owned file-action receipt for up to 30 days. completed records the verified outcome at that time; read file metadata for current state. review means the external outcome could not be confirmed; do not repeat the original action blindly.","x-required-scope":"drive:read","parameters":[{"name":"mutationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveMutation"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"delete":{"operationId":"cancelDriveMutation","description":"Cancel only before external dispatch. Issued or uncertain actions cannot be undone by cancellation. No remote file mutation. Requires drive:read.","x-required-scope":"drive:write","parameters":[{"name":"mutationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveMutation"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/mutations/{mutationId}/reconcile":{"post":{"operationId":"reconcileDriveMutation","description":"Recheck an uncertain action using the same connected Google account. This only reads Google and never repeats the original mutation. Requires drive:read. A newer scoped key owned by the same actor may request recovery.","x-required-scope":"drive:write","parameters":[{"name":"mutationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveMutationReconcile"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveMutation"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/connections/{connectionId}/thumbnail":{"get":{"operationId":"readDriveThumbnail","description":"Read a fresh, bounded 320 px thumbnail through the authenticated server. Null means Google supplies no accessible image/video thumbnail. Raster bytes are base64, at most 512 KiB; credentials and private Google thumbnail URLs are never returned. No persistent thumbnail cache.","x-required-scope":"drive:read","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"fileId","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DriveFileId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveThumbnail"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/connections/{connectionId}/pickers":{"post":{"operationId":"createDrivePicker","description":"Create a temporary official Google web Picker session, requiring drive:read. Open pickerUrl without exposing a Cloud key in the browser. Files default to media=all and maxItems=500; output-folder mode permits one writable folder. The browser capability expires after 10 minutes; submitted IDs are verified asynchronously, within 24 hours. Metadata is retained for at most 30 days.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrivePickerCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrivePicker"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/pickers/{pickerId}":{"get":{"operationId":"readDrivePicker","description":"Read an owned selection status and retained selected/verified counts. No Google token, capability, browser secret or issuer key is returned. Poll until completed before reading items. Cancelled/failed/expired selections discard their retained items.","x-required-scope":"drive:read","parameters":[{"name":"pickerId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrivePicker"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"delete":{"operationId":"cancelDrivePicker","description":"Cancel a pending/open/verifying selection without contacting Google. Requires drive:read and a valid scoped key even if admission is disabled. Completed selections are unchanged. Idempotent by picker ID.","x-required-scope":"drive:write","parameters":[{"name":"pickerId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrivePicker"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/pickers/{pickerId}/items":{"get":{"operationId":"readDrivePickerItems","description":"Read verified items only after completion, while the original Google connection remains current. Use an integer cursor (default 0) and limit 1–100 (default 100). Metadata is a selection snapshot; transfer/file actions must revalidate current access.","x-required-scope":"drive:read","parameters":[{"name":"pickerId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"cursor","in":"query","schema":{"type":"integer","minimum":0,"maximum":999}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrivePickerItems"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/connections/{connectionId}/favorites":{"get":{"operationId":"listDriveFavorites","description":"Read up to 50 folder bookmarks for this actor and Google account. Labels are saved hints, not proof of current permission. Reconnecting the same Google account retains its bookmarks; a different account does not inherit them.","x-required-scope":"drive:read","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFavorites"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"put":{"operationId":"saveDriveFavorite","description":"Bookmark an accessible, non-trashed folder after fresh metadata verification. Requires drive:read. Idempotency receipts last 30 days and record the original outcome; read favorites for current state. No Google file or credit mutation.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFavoriteWrite"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFavoriteReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]},"delete":{"operationId":"removeDriveFavorite","description":"Remove a bookmark without contacting Google, including when the folder was deleted or access was revoked. Requires drive:read and a current owned connection. Idempotency receipts last 30 days; an old save replay never recreates a subsequently removed bookmark.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFavoriteWrite"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFavoriteReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/connections/{connectionId}/files/query":{"post":{"operationId":"browseDriveFiles","description":"Read up to 100 files in an accessible folder under the connected drive.file grant. Use root for the account root. Search is literal name matching; optional foldersOnly and opaque pageToken. POST permits bounded page tokens without putting them in URLs; it has no remote or credit mutation, and retries read current state. Parent and file permissions are revalidated. Incomplete indicates Google reported an incomplete search.","x-required-scope":"drive:read","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveBrowse"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFilePage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/connections/{connectionId}/file":{"get":{"operationId":"readDriveFile","description":"Read fresh metadata for one accessible file or folder, with explicit conservative capabilities. No download, thumbnail, credential or raw Google payload is returned.","x-required-scope":"drive:read","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"fileId","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DriveFileId"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFileResult"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/authorizations":{"post":{"operationId":"authorizeDrive","description":"Start an actor-bound, offline drive.file connection. Requires drive:read. Open the returned Google authorizationUrl to grant consent; poll authorization status. A newly verified Google account supersedes the previous connection without reassigning its transfers.","x-required-scope":"drive:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveAuthorizationCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveAuthorization"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/drive/authorizations/{authorizationId}":{"get":{"operationId":"readDriveAuthorization","description":"Read owned authorization status. Verifiers, OAuth state, tokens and Google response payloads are never returned by this read.","x-required-scope":"drive:read","parameters":[{"name":"authorizationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveAuthorization"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/connection":{"get":{"operationId":"readCurrentDriveConnection","description":"Read the current actor-owned Google Drive connection; null means no active connection. Google accounts are never shared through Team membership.","x-required-scope":"drive:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveConnectionResult"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]}},"/drive/connections/{connectionId}":{"get":{"operationId":"readDriveConnection","description":"Read an owned connection, including a superseded or disconnected connection.","x-required-scope":"drive:read","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveConnectionResult"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:read"]},"delete":{"operationId":"disconnectDrive","description":"Forget this owned connection and close pending authorizations. Requires drive:read; available to a valid key even after processing entitlement ends. Does not revoke the Google application grant or delete any Drive file. Resource-idempotent by connection ID.","x-required-scope":"drive:write","parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveConnectionResult"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["drive:write","drive:read"]}},"/team/activity":{"get":{"operationId":"readTeamActivity","description":"Read the shared Desktop/Cloud processing history. Requires activity.view. from/to are UTC ISO milliseconds, default last 7 days, at most 90 days. Optional member UUID, feature, status and te_ cursor. Reuse returned from/to when paging; 50 entries per page. Counts represent final published files, not attempts or intermediate JSON.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamActivityPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]}},"/team/activity/status":{"get":{"operationId":"readCloudTeamActivityStatus","description":"Read this actor current Team Cloud collector counts. pending means durable completion awaiting acknowledgement, unconfirmed means admitted work without a terminal receipt, missing means activity admission failed. Does not describe the Desktop local queue.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamActivityStatus"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]}},"/team/members":{"get":{"operationId":"listTeamMembers","description":"List current Team members with identity and monthly budget availability. Requires members.manage. Limit 1–100, UUID cursor order. Missing credit-cycle data is explicitly unavailable, never zero usage.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMembers"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]}},"/team/invitations":{"get":{"operationId":"listTeamInvitations","description":"List Team invitation metadata, newest first, with limit 1–100 and nextCursor. Requires members.manage. Expired invitations are identified at read time. Tokens and hashes are never exposed.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamInvitations"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]}},"/team/permissions":{"get":{"operationId":"readTeamPermissions","description":"Read the current public permission matrix. Requires owner/admin role and settings.advanced; defaults are overlaid by this Team overrides. This endpoint changes no permissions.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPermissions"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]}},"/team/audit":{"get":{"operationId":"readTeamAudit","description":"Read chronological Team audit identifiers, actors and action types. Requires audit.view. Limit 1–300, newest first, with nextCursor. Category is all, members, presets, permissions or team. Sensitive raw audit metadata and non-UUID target references are omitted.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAuditPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]}},"/team/presets":{"get":{"operationId":"listTeamPresets","description":"List shared Team preset summaries. Current active membership and Team rollout are required. Accepts limit 1–100 and nextCursor; options are returned by the individual read.","x-required-scope":"teams:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]},"post":{"operationId":"createTeamPreset","description":"Create an existing-format shared Team preset, visible in Desktop. Requires teams:read and presets.create. Options are inert JSON, not a render request. Body limit 256 KiB. No compute charge. Mutation receipts are retained for 30 days.","x-required-scope":"teams:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:write","teams:read"]}},"/team/presets/{presetId}":{"get":{"operationId":"getTeamPreset","description":"Read a current Team preset. Copy revision verbatim into expectedRevision; it preserves database microseconds and is not a JavaScript timestamp.","x-required-scope":"teams:read","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPreset"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:read"]},"patch":{"operationId":"updateTeamPreset","description":"Update with current presets.edit authority and exact revision. Locked presets also require presets.lock. The media type cannot change. Maximum body 256 KiB; a write key also requires teams:read.","x-required-scope":"teams:write","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetUpdate"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:write","teams:read"]},"delete":{"operationId":"deleteTeamPreset","description":"Delete with current presets.delete authority and exact revision. Locked presets also require presets.lock. Replays within 30 days return the original receipt after current membership and permission checks.","x-required-scope":"teams:write","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetDelete"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:write","teams:read"]}},"/team/presets/{presetId}/lock":{"post":{"operationId":"lockTeamPreset","description":"Set a shared preset lock with presets.lock authority and an exact expectedRevision. All writes retain the existing Team audit trail.","x-required-scope":"teams:write","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetLock"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["teams:write","teams:read"]}},"/download-sessions":{"post":{"operationId":"createDownloadSession","description":"Import an owned Instagram Netscape cookie session into encrypted storage. No Desktop or local browser is required. Active means stored and unexpired; import does not prove that Instagram accepts the credentials. The default maximum lifetime is 30 days, capped by cookie expiry. Credentials are never returned.","x-required-scope":"assets:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadSessionCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadSession"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]},"get":{"operationId":"listDownloadSessions","description":"List owned session metadata, newest first. Accepts limit (1–100, default 20) and the previous nextCursor. Credentials are never returned.","x-required-scope":"assets:write","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadSessions"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/download-sessions/{sessionId}":{"get":{"operationId":"getDownloadSession","description":"Read owned session metadata and its current expiry/revocation state.","x-required-scope":"assets:write","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadSession"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]},"delete":{"operationId":"revokeDownloadSession","description":"Revoke an owned session, erase its encrypted credentials and cancel its queued/running downloads. Already completed assets retain their normal private retention. Repeated revocation is safe.","x-required-scope":"assets:write","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadSession"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/jobs/{jobId}/caption-review":{"get":{"operationId":"getReelCaptionReview","description":"Read the editable transcript of a paused Short Maker job. The private intermediate video is not a downloadable result.","x-required-scope":"jobs:read","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReelCaptionReview"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]},"patch":{"operationId":"updateReelCaptionReview","description":"Edit captions at the expected revision while the job awaits review. Also requires jobs:read.","x-required-scope":"batches:write","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReelCaptionReviewUpdate"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReelCaptionReview"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["batches:write","jobs:read"]}},"/jobs/{jobId}/caption-review/submit":{"post":{"operationId":"submitReelCaptionReview","description":"Freeze the reviewed revision and resume rendering, or explicitly skip captions. Also requires jobs:read. The existing credit hold covers the accepted job.","x-required-scope":"batches:write","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReelCaptionReviewSubmit"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReelCaptionReview"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["batches:write","jobs:read"]}},"/library-rebuilds":{"post":{"operationId":"createLibraryRebuild","description":"Verify retained source bytes and regenerate private previews in a durable CPU queue. Empty selector snapshots all visible items; kind or libraryId selects a subset. Included utility, with native and storage quotas. Also requires projects:read.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryRebuildCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryRebuild"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/library-rebuilds/{rebuildId}":{"get":{"operationId":"getLibraryRebuild","description":"Read per-item verification progress; source files are preserved even when invalid.","x-required-scope":"projects:read","parameters":[{"name":"rebuildId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryRebuild"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"delete":{"operationId":"cancelLibraryRebuild","description":"Stop queued checks and drain the active bounded check without publishing its preview.","x-required-scope":"projects:write","parameters":[{"name":"rebuildId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryRebuild"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/library-items/{libraryId}/preview":{"get":{"operationId":"getLibraryPreview","description":"Read a short-lived private preview URL, an explicit audio-without-preview result, or missing. Request a rebuild to generate or repair it.","x-required-scope":"projects:read","parameters":[{"name":"libraryId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryPreview"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/library-items":{"post":{"operationId":"importLibraryItem","description":"Retain an owned, natively inspected immutable asset in Studio or an overlay collection. Deduplicates by content within each collection. Also requires projects:read. No local path or arbitrary URL; zero compute credits.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryImport"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryItem"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]},"get":{"operationId":"listLibraryItems","description":"List owned library items, newest first, with optional collection and media-family filters.","x-required-scope":"projects:read","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"kind","in":"query","schema":{"$ref":"#/components/schemas/LibraryKind"}},{"name":"media","in":"query","schema":{"enum":["image","video","audio"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/library-uploads":{"post":{"operationId":"createLibraryUpload","description":"Allocate a purpose-bound local library source upload. Requires assets:write and the qualified Desktop byte profile. Studio and video overlays accept 2 GiB; image overlays accept 100 MiB. The bounded PUT grant can last twelve hours. Finalize, wait for native inspection, then import the ready reference with /library-items. No user compute credits; physical storage admission still applies.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryUploadCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetUpload"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read","assets:write"]}},"/library-uploads/{assetId}/finalize":{"post":{"operationId":"finalizeLibraryUpload","description":"Finalize only an owned library-purpose upload. Requires assets:write; size and SHA-256 must match the original grant. Native inspection must finish before library import.","x-required-scope":"projects:write","parameters":[{"name":"assetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryUploadFinalize"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read","assets:write"]}},"/library-items/stats":{"get":{"operationId":"getLibraryStats","description":"Count owned items by media family and collection. Retained bytes count shared content once across collections; null maxItems/maxBytes means no additional logical library quota.","x-required-scope":"projects:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryStats"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/library-items/{libraryId}":{"get":{"operationId":"getLibraryItem","description":"Resolve a retained library reference to its inspected immutable asset.","x-required-scope":"projects:read","parameters":[{"name":"libraryId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryItem"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"patch":{"operationId":"renameLibraryItem","description":"Rename an owned item at its expected revision without changing its bytes.","x-required-scope":"projects:write","parameters":[{"name":"libraryId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryRename"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryItem"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]},"delete":{"operationId":"deleteLibraryItem","description":"Remove the item at its expected revision and release only its library retention pin. Other saved templates, collections and active jobs retain their own pins.","x-required-scope":"projects:write","parameters":[{"name":"libraryId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryDelete"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/library-items/{libraryId}/content":{"get":{"operationId":"getLibraryContent","description":"Return a private content URL valid for at most ten minutes; never exposes storage paths or credentials.","x-required-scope":"projects:read","parameters":[{"name":"libraryId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryContent"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/translations":{"post":{"operationId":"createTranslation","description":"Queue translation of an owned saved caption project, Studio template, Cloner result or versioned built-in template. Also requires projects:read and Short Maker permission, plus jobs:read for a Cloner result. Source text is checked before provider dispatch. Zero compute-credit charge; shared provider quotas apply.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationTask"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/translations/{translationId}":{"get":{"operationId":"getTranslation","description":"Read durable section progress without exposing incomplete variants.","x-required-scope":"projects:read","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationTask"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"delete":{"operationId":"deleteTranslation","description":"Cancel an owned translation or discard its result. Source projects and templates are unchanged.","x-required-scope":"projects:write","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationTask"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/translations/{translationId}/result":{"get":{"operationId":"getTranslationResult","description":"Read all three validated translation variants after completion. Text changes remain reviewable; source documents are not changed automatically.","x-required-scope":"projects:read","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationReport"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/download-batches":{"post":{"operationId":"createDownloadBatch","description":"Atomically queue 1–1000 public sources within the 64 KiB request and current account/storage quotas. Supply either urls or items containing url and optional Instagram carouselItemIndex (1–20). Exact duplicate selections share one child, preserving first order; different slides stay distinct. maxItemsPerUrl (1–35) applies to whole sources; a selected slide always returns at most one file. No compute-credit charge. All admission succeeds or none is queued.","x-required-scope":"assets:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadBatchCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadBatch"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/download-batches/{batchId}":{"get":{"operationId":"getDownloadBatch","description":"Read compact per-URL progress. Read each child download and result for metadata and private file links. A completed batch can contain failed children.","x-required-scope":"assets:write","parameters":[{"name":"batchId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadBatch"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]},"delete":{"operationId":"cancelDownloadBatch","description":"Cancel pending children while preserving already completed files. Repeated cancellation is safe; an already settled batch is unchanged.","x-required-scope":"assets:write","parameters":[{"name":"batchId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadBatch"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/downloads":{"post":{"operationId":"createDownload","description":"Queue an owned public URL download, metadata inspection or bounded profile listing after explicit external-network consent. Download/inspect maxItems is 1–35 (default 1), additionally bounded by Desktop platform policy. carouselItemIndex selects an original Instagram post position (1–20), with maxItems 1 and download/inspect mode only. Photos require a downloadable extractor format. No compute-credit charge; account quotas and isolated extraction apply.","x-required-scope":"assets:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadTask"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/downloads/{downloadId}":{"get":{"operationId":"getDownload","description":"Read durable progress and independently inspected asset references. Profile listings and inspection produce metadata only. Uses the existing asset-management scope.","x-required-scope":"assets:write","parameters":[{"name":"downloadId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadTask"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]},"delete":{"operationId":"deleteDownload","description":"Cancel an owned request or discard its result. Media retained by saved projects, quotes or jobs remain pinned.","x-required-scope":"assets:write","parameters":[{"name":"downloadId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadTask"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/downloads/{downloadId}/result":{"get":{"operationId":"getDownloadFiles","description":"Create temporary private download links for a completed request. Only retained, inspected assets owned by this actor are returned. Uses the existing asset-management scope.","x-required-scope":"assets:write","parameters":[{"name":"downloadId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadFiles"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/studio-imports":{"post":{"operationId":"createStudioImport","description":"Allocate a private bounded archive upload. Also requires assets:write. Parsing and media inspection run asynchronously in an isolated utility worker, with no compute-credit charge.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioImportCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTransferUpload"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read","assets:write"]}},"/studio-transfers/{transferId}":{"get":{"operationId":"getStudioTransfer","description":"Read durable progress. A completed import exposes an editable document only after all media have been inspected and published atomically.","x-required-scope":"projects:read","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"delete":{"operationId":"deleteStudioTransfer","description":"Discard an owned transfer, request cancellation of active work and release its own retention pins. Import transfers additionally require projects:write. Saved templates and accepted jobs retain their own media.","x-required-scope":"projects:read","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/studio-transfers/{transferId}/finalize":{"post":{"operationId":"finalizeStudioImport","description":"Finish the declared upload and queue the immutable hash for inspection. Also requires assets:write. Repeated requests cannot change the upload identity.","x-required-scope":"projects:write","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioImportFinalize"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read","assets:write"]}},"/studio-transfers/{transferId}/result":{"get":{"operationId":"downloadStudioBundle","description":"Return a temporary private download link for a completed, retained export, after current ownership checks.","x-required-scope":"projects:read","parameters":[{"name":"transferId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioBundleResult"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/studio-templates/{templateId}/export":{"post":{"operationId":"exportStudioTemplate","description":"Snapshot the expected template revision and pin its media for an asynchronous portable ZIP export. Later edits do not change this export. No compute-credit charge.","x-required-scope":"projects:read","parameters":[{"name":"templateId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioExportCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTransfer"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/studio-templates":{"get":{"operationId":"listStudioTemplates","description":"List owned saved Short Maker templates without loading their timelines.","x-required-scope":"projects:read","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplatePage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"post":{"operationId":"createStudioTemplate","description":"Save both authored V1 and V2 documents and retain private media, including hidden tracks. No processing or credit charge.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplateCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplateReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/studio-templates/{templateId}/preview":{"get":{"operationId":"getStudioPreview","description":"Read the original analyzed video retained as a saved template preview. Returns null before attachment or a private URL valid for 60 seconds. Deleting the template releases its retention pin.","x-required-scope":"projects:read","parameters":[{"name":"templateId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioPreview"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"put":{"operationId":"attachClonerPreview","description":"Attach the video of an owned, completed Cloner analysis to a saved custom template at the expected revision. Also requires projects:read and jobs:read. The server derives the source asset; no path or URL is accepted. The preview is immutable. Idempotent retries return the original receipt and never dispatch OCR or charge credits.","x-required-scope":"projects:write","parameters":[{"name":"templateId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioPreviewWrite"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioPreviewReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read","jobs:read"]}},"/studio-templates/{templateId}":{"get":{"operationId":"getStudioTemplate","description":"Read both saved representations and owned immutable media references.","x-required-scope":"projects:read","parameters":[{"name":"templateId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplate"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"patch":{"operationId":"updateStudioTemplate","description":"Replace both representations at the expected revision, preserving the authored template identity.","x-required-scope":"projects:write","parameters":[{"name":"templateId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplateUpdate"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplateReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]},"delete":{"operationId":"deleteStudioTemplate","description":"Delete at the expected revision and release media retention pins.","x-required-scope":"projects:write","parameters":[{"name":"templateId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplateDelete"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioTemplateReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/presets/import":{"post":{"operationId":"reviewPortablePresets","description":"Review a Desktop metaghost-image-presets or metaghost-video-presets JSON file (maximum 5 MiB, 250 presets). Returns sanitized inert JSON, removal warnings and a canonical checksum. Saves nothing and never loads file paths, downloads media or runs a recipe. Bind media through owned assets and explicitly save selected recipes with POST /presets.","x-required-scope":"projects:read","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetPortableBundle"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetPortableFile"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/presets/export":{"post":{"operationId":"exportPortablePresets","description":"Build a Desktop-compatible preset file from supplied options indexed by name. Save JSON.stringify(response.bundle) as filename; byteLength and sha256 describe these compact UTF-8 bytes. Include exportedAt explicitly if wanted. Machine-local settings/watermark references are removed; media is not embedded. Pure conversion, no persistent mutation or compute charge.","x-required-scope":"projects:read","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetPortableBundle"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetPortableFile"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/presets":{"get":{"operationId":"listPresets","description":"List actor-private image and video presets. Simple and Advanced modes are explicit.","x-required-scope":"projects:read","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"post":{"operationId":"createPreset","description":"Save a named recipe and retain its owned immutable media. Names cannot overwrite another preset. Saving does not dispatch processing or charge credits.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/presets/{presetId}":{"get":{"operationId":"getPreset","description":"Read the saved recipe without modifying its options.","x-required-scope":"projects:read","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preset"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"patch":{"operationId":"updatePreset","description":"Replace a complete recipe at its expected revision; media type cannot change.","x-required-scope":"projects:write","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetUpdate"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]},"delete":{"operationId":"deletePreset","description":"Delete a preset at its expected revision and release its media retention pins.","x-required-scope":"projects:write","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetDelete"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/presets/{presetId}/rename":{"post":{"operationId":"renamePreset","description":"Rename at the expected revision without changing options or overwriting another name.","x-required-scope":"projects:write","parameters":[{"name":"presetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetRename"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/catalog":{"get":{"operationId":"getProductCatalog","description":"Read the versioned built-in Short Maker templates and bundled-media references, caption styles and metadata countries. Custom saved documents are separate. No media path, provider call or credit charge.","x-required-scope":"jobs:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCatalog"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/caption-projects":{"get":{"operationId":"listCaptionProjects","description":"List owned saved caption projects without replaying transcription.","x-required-scope":"projects:read","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"post":{"operationId":"createCaptionProject","description":"Save edited words and styles against an inspected owned immutable video. The project retains its source until deletion; storage quotas still apply. No credit charge.","x-required-scope":"projects:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/caption-projects/{projectId}":{"get":{"operationId":"getCaptionProject","description":"Read one owned project and its current revision.","x-required-scope":"projects:read","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProject"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]},"patch":{"operationId":"updateCaptionProject","description":"Save a complete edited recipe only when expectedRevision matches; concurrent edits return 409. Replayed mutation keys never overwrite later edits.","x-required-scope":"projects:write","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectUpdate"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]},"delete":{"operationId":"deleteCaptionProject","description":"Delete an owned project at its expected revision and release its source retention pin. Accepted jobs and other projects keep their own pins.","x-required-scope":"projects:write","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectDelete"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionProjectReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:write","projects:read"]}},"/caption-projects/{projectId}/subtitles":{"post":{"operationId":"exportCaptionSubtitles","description":"Export the current saved words as literal SRT or WebVTT text. No GPU dispatch or credit charge.","x-required-scope":"projects:read","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtitleExport"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtitleFile"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["projects:read"]}},"/capabilities":{"get":{"operationId":"getCapabilities","description":"Read complete Desktop target coverage and the currently enrolled cloud engines. Pending operations and auxiliary actions are explicit. An implemented contract does not imply deployment or authorization.","x-required-scope":"jobs:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Capabilities"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/transcripts":{"post":{"operationId":"createTranscriptSession","description":"Resolve an owned inspected video by actor, byte hash, ceil(duration*1000) and requested language. Reuse a saved report or join active work; replaceTranscript starts a replacement after active work finishes. Requires assets:write and jobs:read. A new quote reserves no credits. Use this workflow for Desktop-style saved reuse; the raw captions.transcribe primitive always requests a new computation.","x-required-scope":"quotes:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptSessionCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptSession"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["quotes:write","assets:write","jobs:read"]}},"/transcripts/{transcriptId}":{"get":{"operationId":"getTranscriptSession","description":"Read the active generation, or an explicit generation. Current saved reports remain reusable until deletion; older generations retain report access for thirty days. Reports keep their original immutable source reference; byte identity permits reuse after reupload.","x-required-scope":"jobs:read","parameters":[{"name":"transcriptId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"generation","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":2147483647}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptSession"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]},"delete":{"operationId":"deleteTranscriptSession","description":"Forget this saved transcript and its replacement history. Existing compute jobs and credit receipts remain separate; cancel active work through its batch endpoint. Object cleanup still requires confirmed deletion.","x-required-scope":"quotes:write","parameters":[{"name":"transcriptId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptSessionReceipt"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["quotes:write"]}},"/transcripts/{transcriptId}/start":{"post":{"operationId":"startTranscriptSession","description":"Start only the reviewed generation and quote after explicit confirmCredits and maxCredits. Requires jobs:read. Concurrent calls join the same job and never reserve twice. Saved reuse reserves zero new credits.","x-required-scope":"batches:write","parameters":[{"name":"transcriptId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptSessionStart"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptSession"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["batches:write","jobs:read"]}},"/assets":{"post":{"operationId":"createAsset","description":"Allocate a private, quota-limited staging upload. Client MIME/size/hash are claims until server inspection. No compute charge.","x-required-scope":"assets:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetUpload"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/assets/{assetId}":{"get":{"operationId":"getAsset","description":"Read an owned asset. A ready version identifies immutable verified content.","x-required-scope":"assets:write","parameters":[{"name":"assetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]},"delete":{"operationId":"deleteAsset","description":"Tombstone an owned asset only when no unexpired quote, accepted job or active inspection pins it. Byte deletion follows private retention and quarantine; existing upload URL lifetimes are not extended and storage quota is not freed early. Resource-idempotent; the required header is validated, while the asset ID determines replay.","x-required-scope":"assets:write","parameters":[{"name":"assetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/assets/{assetId}/finalize":{"post":{"operationId":"finalizeAsset","description":"Inspect actual bytes and media, then publish immutable content at a separate key. An unexpired upload URL cannot overwrite ready content. No processing until state=ready. Resource-idempotent on asset ID and immutable size/hash; the required header does not permit replacing content.","x-required-scope":"assets:write","parameters":[{"name":"assetId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetFinalize"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["assets:write"]}},"/quotes":{"post":{"operationId":"createQuote","description":"Resolve immutable inputs/options, authority, engine and price version on the server. Freeze the full request until expiry. Enforce sum(variants)<=1000 plus stricter account/runtime limits. No hold, top-up or charge. Versioned media-usage prices return usageBilling: native processing and canonical IA components, frozen per output. Legacy output/second quotes retain their existing optional billing shape. Accept maxCredits before admission; a changed IA price requires a fresh quote. image.synthid and video.synthid additionally require projects:read and options {presetId, expectedRevision}. The saved Advanced preset must match the media and enable diffusion. The transaction freezes its recipe and resources and uses the corresponding Advanced engine and approved price; accepted jobs keep this snapshot after preset edits or deletion. For video SynthID, including Advanced with diffusionEnabled and applicable Spoof Pro profiles, the synthidVideoMaxSeconds capability applies to the inspected source. Longer inputs are refused with CLOUD_SYNTHID_VIDEO_DURATION_LIMIT before credits are held. spoof-pro resolves a versioned Desktop profile to the matching Advanced recipe, engine and approved price. See /catalog for profiles and /capabilities for availability. Social profiles require spoof-pro.social and diffusion.gpu; Dating also requires spoof-pro.dating. Optional adversarial requires its separately qualified capability and route. No client override may remove mandatory profile layers. video.convert GIF output requires video.gif. The pinned engine applies its qualified framerate and scale ranges and the Desktop two-pass palette policy. Results remain private image/gif files with verified animation; animated Studio resources additionally require the archive inspection receipt. short-maker.captions requires its own approved price, a short-maker.review engine and a registered caption provider. It composes once, pauses for revisioned caption review, then resumes without a second hold. Silent checkpoints skip provider inference. No private intermediate download is exposed.","x-required-scope":"quotes:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteCreate"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["quotes:write"]}},"/quotes/{quoteId}":{"get":{"operationId":"getQuote","description":"Read an owned immutable quote.","x-required-scope":"jobs:read","parameters":[{"name":"quoteId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/batches":{"post":{"operationId":"createBatch","description":"Atomically validate quote/authority and reserve its bounded credits with durable dispatch. Reusing a key with changed payload returns 409; replay returns the original batch. A quote can admit at most one batch, including across keys. Never auto-top-up implicitly. No direct provider call in the request transaction.","x-required-scope":"batches:write","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchCreate"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["batches:write","jobs:read"]}},"/batches/{batchId}":{"get":{"operationId":"getBatch","description":"Read durable progress independently of the client connection. Parent batches have no separate charge.","x-required-scope":"jobs:read","parameters":[{"name":"batchId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/batches/{batchId}/jobs":{"get":{"operationId":"listBatchJobs","description":"List children in stable input/variant order. The ordinal does not depend on execution/completion order.","x-required-scope":"jobs:read","parameters":[{"name":"batchId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"cursor","in":"query","schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPage"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/batches/{batchId}/cancel":{"post":{"operationId":"cancelBatch","description":"Request cancellation. Remain cancelling until execution is resolved; preserve already committed outputs and settle each child once. Resource-idempotent on batch ID; the required header does not create another cancellation.","x-required-scope":"batches:write","parameters":[{"name":"batchId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cancel"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["batches:write","jobs:read"]}},"/jobs/{jobId}":{"get":{"operationId":"getJob","description":"Read one owned job. Success requires a verified durable output.","x-required-scope":"jobs:read","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/results/{resultId}":{"get":{"operationId":"getResult","description":"Return a short-lived download link only after checking current authority and result ownership. Never expose an internal storage key.","x-required-scope":"jobs:read","parameters":[{"name":"resultId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Result"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/credits":{"get":{"operationId":"getCredits","description":"Read current wallet availability; the quote/admission service remains authoritative. No mutation or top-up. Informational wallet snapshot shared with Desktop; expiry reconciliation and Team caps can reduce actual admission. This response is not a spending authorization.","x-required-scope":"credits:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credits"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["credits:read"]}},"/captions/font-preview":{"post":{"operationId":"previewCaptionFont","description":"Resolve the same script fallback and glyph coverage as the requested active engine. The qualified font registry must match its immutable worker artifact. Null preserves the authored family; missing means the renderer has no matching fallback. Private font URLs last 60 seconds. No job, credit hold, provider execution or user text persistence. POST keeps bounded text out of URLs; retries read current availability.","x-required-scope":"jobs:read","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionFontPreviewCreate"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionFontPreview"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}},"/performance":{"get":{"operationId":"getPerformanceSnapshot","description":"Read this actor durable job states, pending admission count and configured limits. Awaiting review is separate from the runnable queue. Dispatch enabled describes configuration, not observed provider health; running counts are job states, not CPU utilization. This snapshot never reserves capacity, predicts waiting time or exposes other actors.","x-required-scope":"jobs:read","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerformanceSnapshot"}}}},"400":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Bounded error; 404 also covers resources owned by another actor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["jobs:read"]}}},"components":{"securitySchemes":{"CloudKey":{"type":"http","scheme":"bearer","description":"Dedicated revocable scoped cloud key. Desktop local API keys are not accepted."}},"schemas":{"DriveOutputCreate":{"type":"object","properties":{"parentId":{"anyOf":[{"const":"root"},{"$ref":"#/components/schemas/DriveFileId"}]},"items":{"type":"array","items":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["asset","result","studio"]},"id":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"job"},"id":{"type":"string","pattern":"^cj_[a-f0-9]{32}$","maxLength":35}},"required":["kind","id"],"additionalProperties":false}]},"path":{"type":"array","items":{"type":"string","minLength":1,"maxLength":240},"minItems":1,"maxItems":33}},"required":["source","path"],"additionalProperties":false},"minItems":1,"maxItems":1000},"mirror":{"type":"boolean"},"folderPolicy":{"type":"string","enum":["reuse_unique","create_new"]}},"required":["parentId","items"],"additionalProperties":false},"DriveOutput":{"type":"object","properties":{"collectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"status":{"type":"string","enum":["waiting","preparing","delivering","completed","partial","failed","review","cancelled"]},"readOnly":{"type":"boolean"},"files":{"type":"integer","minimum":1,"maximum":1000},"delivered":{"type":"integer","minimum":0,"maximum":1000},"failed":{"type":"integer","minimum":0,"maximum":1000},"waiting":{"type":"integer","minimum":0,"maximum":1000},"byteLength":{"type":"integer","minimum":0,"maximum":53687091200},"folders":{"type":"integer","minimum":0,"maximum":2000},"readyFolders":{"type":"integer","minimum":0,"maximum":2000},"parentId":{"$ref":"#/components/schemas/DriveFileId"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"retainedUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$"}},"required":["collectionId","connectionId","status","readOnly","files","delivered","failed","byteLength","folders","readyFolders","createdAt","expiresAt","retainedUntil"],"additionalProperties":false},"DriveOutputFile":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":999},"path":{"type":"array","items":{"type":"string","minLength":1,"maxLength":240},"minItems":1,"maxItems":33},"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"sourceJobId":{"type":"string","pattern":"^cj_[a-f0-9]{32}$","maxLength":35},"delivery":{"type":"string","enum":["none","unconfirmed","verified"]},"status":{"type":"string","enum":["waiting","not_started","queued","transferring","verifying","publishing","inspecting","completed","failed","cancelled","review","expired"]},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$"},"transfer":{"$ref":"#/components/schemas/DriveTransfer"}},"required":["index","path","delivery","status"],"additionalProperties":false,"anyOf":[{"properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["transferId"]},{"properties":{"sourceJobId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["sourceJobId"]}]},"DriveOutputFolder":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":1999},"path":{"type":"array","items":{"type":"string","minLength":1,"maxLength":240},"minItems":1,"maxItems":32},"status":{"type":"string","enum":["pending","searching","creating","ready","review"]},"created":{"type":"boolean"},"attempts":{"type":"integer","minimum":0,"maximum":3},"remoteFileId":{"$ref":"#/components/schemas/DriveFileId"},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$"}},"required":["index","path","status","created","attempts"],"additionalProperties":false},"DriveOutputItems":{"oneOf":[{"type":"object","properties":{"collectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"kind":{"const":"files"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DriveOutputFile"},"minItems":0,"maxItems":100},"nextCursor":{"type":"integer","minimum":1,"maximum":1999}},"required":["collectionId","kind","items"],"additionalProperties":false},{"type":"object","properties":{"collectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"kind":{"const":"folders"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DriveOutputFolder"},"minItems":0,"maxItems":100},"nextCursor":{"type":"integer","minimum":1,"maximum":1999}},"required":["collectionId","kind","items"],"additionalProperties":false}]},"DriveInputCreate":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"const":"files"},"fileIds":{"type":"array","items":{"$ref":"#/components/schemas/DriveFileId"},"minItems":1,"maxItems":1000,"uniqueItems":true}},"required":["kind","fileIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"picker"},"pickerId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["kind","pickerId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"folder"},"folderId":{"$ref":"#/components/schemas/DriveFileId"},"recursive":{"type":"boolean"}},"required":["kind","folderId","recursive"],"additionalProperties":false}]},"media":{"type":"string","enum":["all","image","video","audio"]}},"required":["source"],"additionalProperties":false},"DriveInput":{"type":"object","properties":{"collectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"status":{"type":"string","enum":["enumerating","planning","importing","completed","partial","failed","cancelled"]},"visibility":{"const":"app_granted"},"snapshot":{"const":false},"incomplete":{"type":"boolean"},"files":{"type":"integer","minimum":0,"maximum":1000},"folders":{"type":"integer","minimum":0,"maximum":2000},"imported":{"type":"integer","minimum":0,"maximum":1000},"failed":{"type":"integer","minimum":0,"maximum":3000},"skipped":{"type":"integer","minimum":0,"maximum":3000},"byteLength":{"type":"integer","minimum":0,"maximum":53687091200},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"retainedUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$"}},"required":["collectionId","connectionId","status","visibility","snapshot","incomplete","files","folders","imported","failed","skipped","byteLength","createdAt","expiresAt","retainedUntil"],"additionalProperties":false},"DriveInputItem":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":2999},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"name":{"type":"string","maxLength":240},"kind":{"type":"string","enum":["file","folder"]},"path":{"type":"array","items":{"type":"string","maxLength":240},"minItems":0,"maxItems":33},"status":{"type":"string","enum":["waiting","not_started","folder","skipped","failed","queued","transferring","verifying","publishing","inspecting","completed","cancelled","review"]},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$"},"transfer":{"$ref":"#/components/schemas/DriveTransfer"}},"required":["index","fileId","name","kind","path","status"],"additionalProperties":false},"DriveInputItems":{"type":"object","properties":{"collectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"items":{"type":"array","items":{"$ref":"#/components/schemas/DriveInputItem"},"minItems":0,"maxItems":100},"nextCursor":{"type":"integer","minimum":1,"maximum":2999}},"required":["collectionId","items"],"additionalProperties":false},"DriveTransferCreate":{"oneOf":[{"type":"object","properties":{"direction":{"const":"import"},"fileId":{"$ref":"#/components/schemas/DriveFileId"}},"required":["direction","fileId"],"additionalProperties":false},{"type":"object","properties":{"direction":{"const":"export"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["asset","result","studio"]},"id":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["kind","id"],"additionalProperties":false},"parentId":{"anyOf":[{"const":"root"},{"$ref":"#/components/schemas/DriveFileId"}]},"name":{"type":"string","minLength":1,"maxLength":240}},"required":["direction","source","parentId","name"],"additionalProperties":false}]},"DriveTransferRecover":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"readOnly":{"type":"boolean"}},"required":["connectionId","readOnly"],"additionalProperties":false},"DriveTransfer":{"type":"object","properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"direction":{"type":"string","enum":["import","export"]},"status":{"type":"string","enum":["queued","transferring","verifying","publishing","inspecting","completed","failed","cancelled","review"]},"attempts":{"type":"integer","minimum":0,"maximum":3},"transferredBytes":{"type":"integer","minimum":0,"maximum":53687091200},"verifiedBytes":{"type":"integer","minimum":0,"maximum":53687091200},"delivery":{"type":"string","enum":["none","unconfirmed","verified"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"retainedUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"byteLength":{"type":"integer","minimum":1,"maximum":53687091200},"remoteFileId":{"$ref":"#/components/schemas/DriveFileId"},"assetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$","maxLength":86}},"required":["transferId","connectionId","direction","status","attempts","transferredBytes","verifiedBytes","delivery","createdAt","expiresAt","retainedUntil"],"additionalProperties":false},"DriveFileId":{"type":"string","pattern":"^[A-Za-z0-9_-]{10,256}$","maxLength":256},"DriveFavoriteWrite":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/DriveFileId"}},"required":["fileId"],"additionalProperties":false},"DriveMutationCreate":{"oneOf":[{"type":"object","properties":{"action":{"const":"create_folder"},"name":{"type":"string","minLength":1,"maxLength":240},"parentId":{"anyOf":[{"$ref":"#/components/schemas/DriveFileId"},{"const":"root"}]}},"required":["action","name","parentId"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"copy"},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"version":{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20},"name":{"type":"string","minLength":1,"maxLength":240},"parentId":{"anyOf":[{"$ref":"#/components/schemas/DriveFileId"},{"const":"root"}]}},"required":["action","fileId","version","name","parentId"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"rename"},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"version":{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20},"name":{"type":"string","minLength":1,"maxLength":240}},"required":["action","fileId","version","name"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"move"},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"version":{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20},"parentId":{"anyOf":[{"$ref":"#/components/schemas/DriveFileId"},{"const":"root"}]}},"required":["action","fileId","version","parentId"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"trash"},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"version":{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20}},"required":["action","fileId","version"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"restore"},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"version":{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20}},"required":["action","fileId","version"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"delete"},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"version":{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20},"confirmPermanent":{"const":true}},"required":["action","fileId","version","confirmPermanent"],"additionalProperties":false}]},"DriveMutationReconcile":{"type":"object","properties":{},"required":[],"additionalProperties":false},"DriveMutation":{"type":"object","properties":{"mutationId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"action":{"type":"string","enum":["create_folder","copy","rename","move","trash","restore","delete"]},"status":{"type":"string","enum":["queued","working","issued","completed","failed","review","cancelled"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"retainedUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"errorCode":{"type":"string","pattern":"^CLOUD_DRIVE_[A-Z_]{1,60}$"},"result":{"oneOf":[{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/DriveFileId"},"deleted":{"const":true}},"required":["fileId","deleted"],"additionalProperties":false},{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/DriveFileId"},"deleted":{"const":false},"file":{"$ref":"#/components/schemas/DriveFile"}},"required":["fileId","deleted","file"],"additionalProperties":false}]}},"required":["mutationId","connectionId","action","status","createdAt","retainedUntil"],"additionalProperties":false},"DriveThumbnail":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"thumbnail":{"anyOf":[{"type":"null"},{"type":"object","properties":{"mimeType":{"type":"string","enum":["image/jpeg","image/png","image/webp"]},"byteLength":{"type":"integer","minimum":1,"maximum":524288},"data":{"type":"string","pattern":"^[A-Za-z0-9+/]+={0,2}$","maxLength":699052},"version":{"anyOf":[{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20},{"type":"null"}]}},"required":["mimeType","byteLength","data","version"],"additionalProperties":false}]}},"required":["connectionId","fileId","thumbnail"],"additionalProperties":false},"DrivePickerCreate":{"oneOf":[{"type":"object","properties":{"mode":{"const":"files"},"media":{"type":"string","enum":["all","image","video","audio"]},"maxItems":{"type":"integer","minimum":1,"maximum":1000}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"const":"folder"},"media":{"const":"all"},"maxItems":{"const":1}},"required":["mode"],"additionalProperties":false}]},"DrivePicker":{"type":"object","properties":{"pickerId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"status":{"type":"string","enum":["pending","opened","verifying","completed","cancelled","failed","expired"]},"mode":{"type":"string","enum":["files","folder"]},"media":{"type":"string","enum":["all","image","video","audio"]},"maxItems":{"type":"integer","minimum":1,"maximum":1000},"selected":{"type":"integer","minimum":0,"maximum":1000},"verified":{"type":"integer","minimum":0,"maximum":1000},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"browserExpiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"retainedUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"pickerUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"errorCode":{"type":"string","pattern":"^CLOUD_DRIVE_[A-Z_]{1,60}$"}},"required":["pickerId","connectionId","status","mode","media","maxItems","selected","verified","createdAt","browserExpiresAt","expiresAt","retainedUntil"],"additionalProperties":false},"DriveSelectionItem":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/DriveFileId"},"name":{"type":"string","maxLength":240},"kind":{"type":"string","enum":["file","folder"]},"mimeType":{"type":"string","minLength":1,"maxLength":200},"size":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["fileId","name","kind","mimeType","size"],"additionalProperties":false},"DrivePickerItems":{"type":"object","properties":{"pickerId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"items":{"type":"array","items":{"$ref":"#/components/schemas/DriveSelectionItem"},"minItems":0,"maxItems":100},"nextCursor":{"type":"integer","minimum":1,"maximum":999}},"required":["pickerId","connectionId","items"],"additionalProperties":false},"DriveFavoriteReceipt":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"fileId":{"$ref":"#/components/schemas/DriveFileId"},"action":{"type":"string","enum":["saved","removed"]}},"required":["connectionId","fileId","action"],"additionalProperties":false},"DriveFavorites":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"favorites":{"type":"array","items":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/DriveFileId"},"name":{"type":"string","maxLength":240},"savedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["fileId","name","savedAt"],"additionalProperties":false},"minItems":0,"maxItems":50}},"required":["connectionId","favorites"],"additionalProperties":false},"DriveBrowse":{"type":"object","properties":{"parentId":{"anyOf":[{"$ref":"#/components/schemas/DriveFileId"},{"const":"root"}]},"query":{"type":"string","maxLength":200},"foldersOnly":{"type":"boolean"},"pageToken":{"type":"string","minLength":1,"maxLength":4096}},"required":["parentId"],"additionalProperties":false},"DriveFile":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/DriveFileId"},"name":{"type":"string","maxLength":240},"mimeType":{"type":"string","minLength":1,"maxLength":200},"kind":{"type":"string","enum":["file","folder"]},"size":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"driveId":{"anyOf":[{"$ref":"#/components/schemas/DriveFileId"},{"type":"null"}]},"parents":{"type":"array","items":{"$ref":"#/components/schemas/DriveFileId"},"minItems":0,"maxItems":100},"trashed":{"type":"boolean"},"modifiedAt":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"version":{"anyOf":[{"type":"string","pattern":"^[0-9]{1,20}$","maxLength":20},{"type":"null"}]},"capabilities":{"type":"object","properties":{"download":{"type":"boolean"},"addChildren":{"type":"boolean"},"listChildren":{"type":"boolean"},"rename":{"type":"boolean"},"move":{"type":"boolean"},"copy":{"type":"boolean"},"trash":{"type":"boolean"}},"required":["download","addChildren","listChildren","rename","move","copy","trash"],"additionalProperties":false}},"required":["fileId","name","mimeType","kind","size","driveId","parents","trashed","modifiedAt","version","capabilities"],"additionalProperties":false},"DriveFileResult":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"file":{"$ref":"#/components/schemas/DriveFile"}},"required":["connectionId","file"],"additionalProperties":false},"DriveFilePage":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"parent":{"anyOf":[{"$ref":"#/components/schemas/DriveFile"},{"type":"null"}]},"files":{"type":"array","items":{"$ref":"#/components/schemas/DriveFile"},"minItems":0,"maxItems":100},"incomplete":{"type":"boolean"},"nextPageToken":{"type":"string","minLength":1,"maxLength":4096}},"required":["connectionId","parent","files","incomplete"],"additionalProperties":false},"DriveAuthorizationCreate":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":64}},"required":["label"],"additionalProperties":false},"DriveAuthorization":{"type":"object","properties":{"authorizationId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"status":{"type":"string","enum":["pending","exchanging","verifying","completed","failed","cancelled"]},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"authorizationUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"errorCode":{"type":"string","pattern":"^CLOUD_DRIVE_[A-Z_]{1,60}$"}},"required":["authorizationId","connectionId","status","expiresAt"],"additionalProperties":false},"DriveConnection":{"type":"object","properties":{"connectionId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"label":{"type":"string","minLength":1,"maxLength":64},"state":{"type":"string","enum":["pending","connected","disconnected","superseded","reauth_required"]},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"connectedAt":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"scope":{"const":"drive.file"}},"required":["connectionId","label","state","revision","email","name","createdAt","connectedAt","scope"],"additionalProperties":false},"DriveConnectionResult":{"type":"object","properties":{"connection":{"anyOf":[{"$ref":"#/components/schemas/DriveConnection"},{"type":"null"}]}},"required":["connection"],"additionalProperties":false},"TeamActivityEntry":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},"actor_id":{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},"actor_label":{"type":"string","minLength":1,"maxLength":160},"feature":{"type":"string","enum":["video-lite","video-advanced","image-lite","image-advanced","spoof-pro","synthid","short-maker","captions","converter","reducer","downloader","template-cloner","risk-analyzer"]},"client_version":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","enum":["running","success","partial","failed","cancelled","unknown"]},"images":{"type":"integer","minimum":0,"maximum":10000},"videos":{"type":"integer","minimum":0,"maximum":10000},"other":{"type":"integer","minimum":0,"maximum":10000},"started_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"finished_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"received_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["id","actor_id","actor_label","feature","client_version","status","images","videos","other","started_at","finished_at","received_at"],"additionalProperties":false},"TeamActivityPage":{"oneOf":[{"type":"object","properties":{"available":{"const":false},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["available","from","to"],"additionalProperties":false},{"type":"object","properties":{"available":{"const":true},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"entries":{"type":"array","items":{"$ref":"#/components/schemas/TeamActivityEntry"},"minItems":0,"maxItems":50},"members":{"type":"array","items":{"type":"object","properties":{"actor_id":{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},"actor_label":{"type":"string","minLength":1,"maxLength":160},"operations":{"type":"integer","minimum":0,"maximum":9007199254740991},"images":{"type":"integer","minimum":0,"maximum":9007199254740991},"videos":{"type":"integer","minimum":0,"maximum":9007199254740991},"other":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"running":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["actor_id","actor_label","operations","images","videos","other","failed","running"],"additionalProperties":false},"minItems":0,"maxItems":10000},"totals":{"type":"object","properties":{"operations":{"type":"integer","minimum":0,"maximum":9007199254740991},"images":{"type":"integer","minimum":0,"maximum":9007199254740991},"videos":{"type":"integer","minimum":0,"maximum":9007199254740991},"other":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"running":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["operations","images","videos","other","failed","running"],"additionalProperties":false},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["available","from","to","entries","members","totals"],"additionalProperties":false}]},"TeamActivityStatus":{"type":"object","properties":{"scope":{"const":"cloud"},"available":{"type":"boolean"},"pending":{"type":"integer","minimum":0,"maximum":9007199254740991},"unconfirmed":{"type":"integer","minimum":0,"maximum":9007199254740991},"missing":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["scope","available","pending","unconfirmed","missing"],"additionalProperties":false},"TeamMemberBudget":{"type":"object","properties":{"available":{"type":"boolean"},"start":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"end":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"spent":{"type":["integer","null"],"minimum":0},"reserved":{"type":["integer","null"],"minimum":0},"remaining":{"type":["integer","null"],"minimum":0}},"required":["available","start","end","spent","reserved","remaining"],"additionalProperties":false},"TeamMember":{"type":"object","properties":{"userId":{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},"role":{"type":"string","enum":["owner","admin","manager","member"]},"status":{"type":"string","enum":["active","suspended"]},"email":{"type":["string","null"]},"fullName":{"type":["string","null"]},"note":{"type":["string","null"]},"invitedBy":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},{"type":"null"}]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"accountType":{"type":"string","enum":["internal_managed","external_personal"]},"loginAlias":{"type":["string","null"]},"loginIdentifier":{"type":["string","null"]},"contactEmail":{"type":["string","null"]},"creditLimit":{"type":["integer","null"],"minimum":0},"budget":{"$ref":"#/components/schemas/TeamMemberBudget"}},"required":["userId","role","status","email","fullName","note","invitedBy","createdAt","accountType","loginAlias","loginIdentifier","contactEmail","creditLimit","budget"],"additionalProperties":false},"TeamMembers":{"type":"object","properties":{"teamId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"role":{"type":"string","enum":["owner","admin","manager","member"]},"members":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["teamId","role","members"],"additionalProperties":false},"TeamInvitation":{"type":"object","properties":{"invitationId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"email":{"type":"string"},"fullName":{"type":["string","null"]},"role":{"type":"string","enum":["admin","manager","member"]},"note":{"type":["string","null"]},"status":{"type":"string","enum":["pending","accepted","revoked","expired"]},"invitedBy":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},{"type":"null"}]},"acceptedBy":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},{"type":"null"}]},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"acceptedAt":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},{"type":"null"}]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["invitationId","email","fullName","role","note","status","invitedBy","acceptedBy","expiresAt","acceptedAt","revokedAt","createdAt","updatedAt"],"additionalProperties":false},"TeamInvitations":{"type":"object","properties":{"teamId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"invitations":{"type":"array","items":{"$ref":"#/components/schemas/TeamInvitation"},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["teamId","invitations"],"additionalProperties":false},"TeamPermissions":{"type":"object","properties":{"teamId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"role":{"type":"string","enum":["owner","admin","manager","member"]},"keys":{"type":"array","items":{"type":"string","enum":["process.reel_studio","credits.spend","api.access","presets.apply","presets.create","presets.edit","presets.delete","presets.lock","settings.advanced","activity.view","members.manage","billing.manage"]},"minItems":12,"maxItems":12},"matrix":{"type":"object","properties":{"admin":{"type":"object","properties":{"process.reel_studio":{"type":"boolean"},"credits.spend":{"type":"boolean"},"api.access":{"type":"boolean"},"presets.apply":{"type":"boolean"},"presets.create":{"type":"boolean"},"presets.edit":{"type":"boolean"},"presets.delete":{"type":"boolean"},"presets.lock":{"type":"boolean"},"settings.advanced":{"type":"boolean"},"activity.view":{"type":"boolean"},"members.manage":{"type":"boolean"},"billing.manage":{"type":"boolean"}},"required":["process.reel_studio","credits.spend","api.access","presets.apply","presets.create","presets.edit","presets.delete","presets.lock","settings.advanced","activity.view","members.manage","billing.manage"],"additionalProperties":false},"manager":{"type":"object","properties":{"process.reel_studio":{"type":"boolean"},"credits.spend":{"type":"boolean"},"api.access":{"type":"boolean"},"presets.apply":{"type":"boolean"},"presets.create":{"type":"boolean"},"presets.edit":{"type":"boolean"},"presets.delete":{"type":"boolean"},"presets.lock":{"type":"boolean"},"settings.advanced":{"type":"boolean"},"activity.view":{"type":"boolean"},"members.manage":{"type":"boolean"},"billing.manage":{"type":"boolean"}},"required":["process.reel_studio","credits.spend","api.access","presets.apply","presets.create","presets.edit","presets.delete","presets.lock","settings.advanced","activity.view","members.manage","billing.manage"],"additionalProperties":false},"member":{"type":"object","properties":{"process.reel_studio":{"type":"boolean"},"credits.spend":{"type":"boolean"},"api.access":{"type":"boolean"},"presets.apply":{"type":"boolean"},"presets.create":{"type":"boolean"},"presets.edit":{"type":"boolean"},"presets.delete":{"type":"boolean"},"presets.lock":{"type":"boolean"},"settings.advanced":{"type":"boolean"},"activity.view":{"type":"boolean"},"members.manage":{"type":"boolean"},"billing.manage":{"type":"boolean"}},"required":["process.reel_studio","credits.spend","api.access","presets.apply","presets.create","presets.edit","presets.delete","presets.lock","settings.advanced","activity.view","members.manage","billing.manage"],"additionalProperties":false}},"required":["admin","manager","member"],"additionalProperties":false}},"required":["teamId","role","keys","matrix"],"additionalProperties":false},"TeamAuditEntry":{"type":"object","properties":{"entryId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"actorId":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},{"type":"null"}]},"action":{"type":"string"},"targetType":{"type":["string","null"]},"targetId":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$","maxLength":36},{"type":"null"}]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["entryId","actorId","action","targetType","targetId","createdAt"],"additionalProperties":false},"TeamAuditPage":{"type":"object","properties":{"teamId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"entries":{"type":"array","items":{"$ref":"#/components/schemas/TeamAuditEntry"},"minItems":0,"maxItems":300},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["teamId","entries"],"additionalProperties":false},"TeamPresetRevision":{"type":"string","pattern":"^[0-9]{20}$","minLength":20,"maxLength":20},"TeamPresetCreate":{"type":"object","properties":{"type":{"type":"string","enum":["image","video"]},"name":{"type":"string","minLength":1,"maxLength":120},"options":{"type":"object","additionalProperties":true}},"required":["type","name","options"],"additionalProperties":false},"TeamPresetUpdate":{"type":"object","properties":{"type":{"type":"string","enum":["image","video"]},"name":{"type":"string","minLength":1,"maxLength":120},"options":{"type":"object","additionalProperties":true},"expectedRevision":{"$ref":"#/components/schemas/TeamPresetRevision"}},"required":["type","name","options","expectedRevision"],"additionalProperties":false},"TeamPresetDelete":{"type":"object","properties":{"expectedRevision":{"$ref":"#/components/schemas/TeamPresetRevision"}},"required":["expectedRevision"],"additionalProperties":false},"TeamPresetLock":{"type":"object","properties":{"expectedRevision":{"$ref":"#/components/schemas/TeamPresetRevision"},"locked":{"type":"boolean"}},"required":["expectedRevision","locked"],"additionalProperties":false},"TeamPresetSummary":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"type":{"type":"string","enum":["image","video"]},"name":{"type":"string","minLength":1,"maxLength":120},"locked":{"type":"boolean"},"revision":{"$ref":"#/components/schemas/TeamPresetRevision"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["presetId","type","name","locked","revision","createdAt","updatedAt"],"additionalProperties":false},"TeamPreset":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"type":{"type":"string","enum":["image","video"]},"name":{"type":"string","minLength":1,"maxLength":120},"locked":{"type":"boolean"},"revision":{"$ref":"#/components/schemas/TeamPresetRevision"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"options":{"type":"object","additionalProperties":true}},"required":["presetId","type","name","locked","revision","createdAt","updatedAt","options"],"additionalProperties":false},"TeamPresetPage":{"type":"object","properties":{"presets":{"type":"array","items":{"$ref":"#/components/schemas/TeamPresetSummary"},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["presets"],"additionalProperties":false},"TeamPresetReceipt":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"$ref":"#/components/schemas/TeamPresetRevision"},"deleted":{"type":"boolean"}},"required":["presetId","revision","deleted"],"additionalProperties":false},"SpoofProOptions":{"type":"object","properties":{"schemaVersion":{"const":1},"platform":{"type":"string","enum":["instagram","tiktok","youtube","dating"]},"mediaType":{"type":"string","enum":["image","video"]},"surface":{"type":"string","pattern":"^[a-z0-9-]{1,40}$","maxLength":40},"strength":{"type":"string","enum":["balanced","max"]},"adversarial":{"type":"object","properties":{"enabled":{"type":"boolean"},"tier":{"type":"string","enum":["basic","quality","advanced","ultra"]}},"required":[],"additionalProperties":false},"delivery":{"type":"object","properties":{"audioSpoof":{"type":"boolean"},"iphoneMetadata":{"type":"boolean"},"metadataCountry":{"type":"string","enum":["US","DZ","AR","AU","AT","BE","BR","BG","CA","CL","CN","CO","HR","CZ","DK","EG","FI","FR","DE","GR","HU","IN","ID","IE","IL","IT","JP","MY","MX","MA","NL","NZ","NG","NO","PK","PE","PH","PL","PT","RO","RU","SA","RS","SG","ZA","KR","ES","SE","CH","TH","TN","TR","UA","AE","GB","VN"]},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":[],"additionalProperties":false}},"required":["schemaVersion","platform","mediaType","surface","strength"],"additionalProperties":false},"SpoofProProfile":{"type":"object","properties":{"schemaVersion":{"const":1},"platform":{"type":"string","enum":["instagram","tiktok","youtube","dating"]},"platformLabel":{"type":"string","minLength":1,"maxLength":80},"mediaType":{"type":"string","enum":["image","video"]},"surface":{"type":"string","minLength":1,"maxLength":40},"surfaceLabel":{"type":"string","minLength":1,"maxLength":80},"targetKey":{"type":"string","minLength":1,"maxLength":80},"target":{"type":"object","properties":{"platformKey":{"type":"string","minLength":1,"maxLength":80},"width":{"type":["number","null"],"minimum":0},"height":{"type":["number","null"],"minimum":0},"fit":{"type":"string","enum":["cover","inside","original"]},"dimensions":{"type":"string","minLength":1,"maxLength":20},"aspectRatio":{"type":"string","minLength":1,"maxLength":20}},"required":["platformKey","width","height","fit","dimensions","aspectRatio"],"additionalProperties":false},"strengths":{"type":"array","items":{"type":"string","enum":["balanced","max"]},"minItems":0,"maxItems":2}},"required":["schemaVersion","platform","platformLabel","mediaType","surface","surfaceLabel","targetKey","target","strengths"],"additionalProperties":false},"LibraryRebuildCreate":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/LibraryKind"},"libraryId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":[],"additionalProperties":false},"LibraryRebuild":{"type":"object","properties":{"rebuildId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"state":{"type":"string","enum":["queued","running","completed","cancelling","cancelled","expired"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"cancelled":{"type":"integer","minimum":0,"maximum":9007199254740991},"items":{"type":"array","items":{"type":"object","properties":{"libraryId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"state":{"type":"string","enum":["queued","running","completed","failed","cancelled"]},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]+$","maxLength":96}},"required":["libraryId","revision","state"],"additionalProperties":false},"minItems":0,"maxItems":9007199254740991}},"required":["rebuildId","state","createdAt","expiresAt","total","completed","failed","cancelled","items"],"additionalProperties":false},"LibraryPreview":{"anyOf":[{"type":"object","properties":{"item":{"$ref":"#/components/schemas/LibraryItem"},"state":{"type":"string","enum":["missing"]}},"required":["item","state"],"additionalProperties":false},{"type":"object","properties":{"item":{"$ref":"#/components/schemas/LibraryItem"},"state":{"type":"string","enum":["none"]},"checkedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["item","state","checkedAt"],"additionalProperties":false},{"type":"object","properties":{"item":{"$ref":"#/components/schemas/LibraryItem"},"state":{"type":"string","enum":["ready"]},"checkedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"asset":{"$ref":"#/components/schemas/AssetRef"},"mediaType":{"type":"string","enum":["image/jpeg"]},"byteLength":{"type":"integer","minimum":1,"maximum":1048576},"width":{"type":"integer","minimum":240,"maximum":240},"height":{"type":"integer","minimum":1,"maximum":8192}},"required":["item","state","checkedAt","downloadUrl","expiresAt","asset","mediaType","byteLength","width","height"],"additionalProperties":false}]},"LibraryKind":{"type":"string","enum":["studio","image-overlay","video-overlay"]},"LibraryImport":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/LibraryKind"},"asset":{"$ref":"#/components/schemas/AssetRef"},"name":{"type":"string","minLength":1,"maxLength":300}},"required":["kind","asset","name"],"additionalProperties":false},"LibraryRename":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"name":{"type":"string","minLength":1,"maxLength":300}},"required":["expectedRevision","name"],"additionalProperties":false},"LibraryDelete":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646}},"required":["expectedRevision"],"additionalProperties":false},"LibraryReceipt":{"type":"object","properties":{"libraryId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"deleted":{"type":"boolean"}},"required":["libraryId","revision","deleted"],"additionalProperties":false},"LibraryItem":{"type":"object","properties":{"libraryId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"kind":{"$ref":"#/components/schemas/LibraryKind"},"asset":{"$ref":"#/components/schemas/AssetRef"},"name":{"type":"string","minLength":1,"maxLength":300},"mediaType":{"type":"string","enum":["image/jpeg","image/png","image/webp","image/gif","image/heic","image/heif","image/avif","image/bmp","image/tiff","video/mp4","video/quicktime","video/x-matroska","video/webm","video/x-msvideo","video/x-ms-wmv","video/x-flv","video/x-m4v","video/3gpp","video/mp2t","video/mpeg","audio/mpeg","audio/mp4","audio/wav","audio/flac","audio/ogg","audio/aac","audio/opus","audio/x-ms-wma","audio/aiff"]},"byteLength":{"type":"integer","minimum":1,"maximum":2147483648},"width":{"type":"integer","minimum":1,"maximum":2147483647},"height":{"type":"integer","minimum":1,"maximum":2147483647},"durationSeconds":{"type":"number","exclusiveMinimum":0},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["libraryId","revision","kind","asset","name","mediaType","byteLength","createdAt","updatedAt"],"additionalProperties":false},"LibraryPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/LibraryItem"},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["items"],"additionalProperties":false},"LibraryStats":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"byType":{"type":"object","properties":{"image":{"type":"integer","minimum":0,"maximum":9007199254740991},"video":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["image","video","audio"],"additionalProperties":false},"byKind":{"type":"object","properties":{"studio":{"type":"integer","minimum":0,"maximum":9007199254740991},"image-overlay":{"type":"integer","minimum":0,"maximum":9007199254740991},"video-overlay":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["studio","image-overlay","video-overlay"],"additionalProperties":false},"maxItems":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"maxBytes":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}},"required":["count","totalBytes","byType","byKind","maxItems","maxBytes"],"additionalProperties":false},"LibraryContent":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/LibraryItem"},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["item","downloadUrl","expiresAt"],"additionalProperties":false},"TranslationSource":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["captions"]},"projectId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483647}},"required":["kind","projectId","expectedRevision"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["template"]},"templateId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483647}},"required":["kind","templateId","expectedRevision"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["builtin"]},"templateId":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,63}$","maxLength":64},"catalogVersion":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64}},"required":["kind","templateId","catalogVersion"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["cloner"]},"resultId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"version":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64}},"required":["kind","resultId","version"],"additionalProperties":false}]},"TranslationCreate":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/TranslationSource"},"targetLanguage":{"type":"string","enum":["en","fr","es","de","it","pt","nl"]},"mode":{"type":"string","enum":["direct","adaptive","wordplay"]},"lines":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200},"maxChars":{"type":"integer","minimum":1,"maximum":200},"maxWidthRatio":{"type":"number","minimum":1,"maximum":1.35}},"required":["text"],"additionalProperties":false},"minItems":1,"maxItems":500}},"required":["source","targetLanguage","lines"],"additionalProperties":false},"TranslationTask":{"type":"object","properties":{"translationId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"source":{"$ref":"#/components/schemas/TranslationSource"},"targetLanguage":{"type":"string","enum":["en","fr","es","de","it","pt","nl"]},"state":{"type":"string","enum":["queued","running","cancelling","cancelled","completed","failed","deleted"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"completedSections":{"type":"integer","minimum":0,"maximum":500},"totalSections":{"type":"integer","minimum":1,"maximum":500},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$","maxLength":86}},"required":["translationId","source","targetLanguage","state","createdAt","expiresAt","completedSections","totalSections"],"additionalProperties":false},"TranslationReport":{"type":"object","properties":{"translationId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"source":{"$ref":"#/components/schemas/TranslationSource"},"targetLanguage":{"type":"string","enum":["en","fr","es","de","it","pt","nl"]},"fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"promptVersion":{"type":"string","minLength":1,"maxLength":100},"creditsUsed":{"const":0},"variants":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","enum":["balanced","compact","creative"]},"strategy":{"type":"string","maxLength":240},"confidence":{"type":"number","minimum":0,"maximum":1},"warning":{"type":"string","maxLength":400},"lines":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":499},"text":{"type":"string","minLength":1,"maxLength":200},"confidence":{"type":"number","minimum":0,"maximum":1},"warning":{"type":"string","maxLength":240}},"required":["index","text","confidence","warning"],"additionalProperties":false},"minItems":1,"maxItems":500}},"required":["label","strategy","confidence","warning","lines"],"additionalProperties":false},"minItems":3,"maxItems":3}},"required":["translationId","source","targetLanguage","fingerprint","promptVersion","creditsUsed","variants"],"additionalProperties":false},"SynthIdOptions":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^pr_[a-f0-9]{32}$","maxLength":35},"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483647}},"required":["presetId","expectedRevision"],"additionalProperties":false},"DownloadSessionCreate":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":64},"netscape":{"type":"string","minLength":1,"maxLength":49152},"maxAgeSeconds":{"type":"integer","minimum":60,"maximum":2592000}},"required":["label","netscape"],"additionalProperties":false},"DownloadSession":{"type":"object","properties":{"sessionId":{"type":"string","pattern":"^ds_[a-f0-9]{32}$","maxLength":35},"platform":{"const":"instagram"},"label":{"type":"string","minLength":1,"maxLength":64},"state":{"type":"string","enum":["active","revoked","expired"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["sessionId","platform","label","state","createdAt","expiresAt"],"additionalProperties":false},"DownloadSessions":{"type":"object","properties":{"sessions":{"type":"array","items":{"$ref":"#/components/schemas/DownloadSession"},"minItems":0,"maxItems":100},"nextCursor":{"anyOf":[{"type":"string","pattern":"^ds_[a-f0-9]{32}$","maxLength":35},{"type":"null"}]}},"required":["sessions","nextCursor"],"additionalProperties":false},"DownloadCreate":{"type":"object","properties":{"mode":{"type":"string","enum":["download","inspect","profile"]},"url":{"type":"string","pattern":"^https?://[^\\s]+$","maxLength":8192},"maxItems":{"type":"integer","minimum":1,"maximum":1000},"carouselItemIndex":{"type":"integer","minimum":1,"maximum":20},"sessionId":{"type":"string","pattern":"^ds_[a-f0-9]{32}$","maxLength":35},"confirmExternalNetwork":{"const":true},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"deviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":["mode","url","confirmExternalNetwork"],"additionalProperties":false},"DownloadBatchCreate":{"anyOf":[{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string","pattern":"^https?://[^\\s]+$","maxLength":8192},"minItems":1,"maxItems":1000},"maxItemsPerUrl":{"type":"integer","minimum":1,"maximum":35},"confirmExternalNetwork":{"const":true},"sessionId":{"type":"string","pattern":"^ds_[a-f0-9]{32}$","maxLength":35},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"deviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":["urls","confirmExternalNetwork"],"additionalProperties":false},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://[^\\s]+$","maxLength":8192},"carouselItemIndex":{"type":"integer","minimum":1,"maximum":20}},"required":["url"],"additionalProperties":false},"minItems":1,"maxItems":1000},"maxItemsPerUrl":{"type":"integer","minimum":1,"maximum":35},"confirmExternalNetwork":{"const":true},"sessionId":{"type":"string","pattern":"^ds_[a-f0-9]{32}$","maxLength":35},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"deviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":["items","confirmExternalNetwork"],"additionalProperties":false}]},"DownloadBatch":{"type":"object","properties":{"batchId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"state":{"type":"string","enum":["queued","running","cancelling","completed","cancelled"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"total":{"type":"integer","minimum":1,"maximum":1000},"queued":{"type":"integer","minimum":0,"maximum":1000},"running":{"type":"integer","minimum":0,"maximum":1000},"cancelling":{"type":"integer","minimum":0,"maximum":1000},"completed":{"type":"integer","minimum":0,"maximum":1000},"failed":{"type":"integer","minimum":0,"maximum":1000},"cancelled":{"type":"integer","minimum":0,"maximum":1000},"deleted":{"type":"integer","minimum":0,"maximum":1000},"items":{"type":"array","items":{"type":"object","properties":{"ordinal":{"type":"integer","minimum":0,"maximum":999},"downloadId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"state":{"type":"string","enum":["queued","running","cancelling","completed","failed","cancelled","deleted"]},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$","maxLength":86}},"required":["ordinal","downloadId","state"],"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["batchId","state","createdAt","expiresAt","total","queued","running","cancelling","completed","failed","cancelled","deleted","items"],"additionalProperties":false},"DownloadMetadata":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://[^\\s]+$","maxLength":8192},"title":{"type":"string","maxLength":300},"durationSeconds":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":86400},"carouselItemIndex":{"type":"integer","minimum":1,"maximum":20}},"required":["url","title"],"additionalProperties":false},"minItems":0,"maxItems":1000},"partial":{"type":"boolean"},"limited":{"type":"boolean"},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$","maxLength":86}},"required":["items","partial","limited"],"additionalProperties":false},"DownloadDeviceMetadata":{"type":"object","properties":{"status":{"type":"string","enum":["applied","failed","unsupported"]},"deviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"country":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2}},"required":["status","deviceProfile","country"],"additionalProperties":false},"DownloadAsset":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"mediaType":{"type":"string","enum":["image/jpeg","image/png","image/webp","video/mp4","video/quicktime","video/x-matroska","video/webm","video/x-msvideo","video/x-ms-wmv","video/x-flv","video/x-m4v","video/3gpp","video/mp2t","video/mpeg","audio/mpeg","audio/mp4","audio/wav","audio/flac","audio/ogg","audio/aac","audio/opus","audio/x-ms-wma","audio/aiff"]},"byteLength":{"type":"integer","minimum":1,"maximum":21474836480},"deviceMetadata":{"$ref":"#/components/schemas/DownloadDeviceMetadata"}},"required":["asset","mediaType","byteLength"],"additionalProperties":false},"DownloadTask":{"anyOf":[{"type":"object","properties":{"downloadId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"mode":{"type":"string","enum":["download","inspect","profile"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"type":"string","enum":["queued","running","cancelling","cancelled","deleted"]}},"required":["downloadId","mode","createdAt","expiresAt","state"],"additionalProperties":false},{"type":"object","properties":{"downloadId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"mode":{"type":"string","enum":["download","inspect","profile"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"const":"failed"},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$","maxLength":86}},"required":["downloadId","mode","createdAt","expiresAt","state","errorCode"],"additionalProperties":false},{"type":"object","properties":{"downloadId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"mode":{"type":"string","enum":["download","inspect","profile"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"const":"completed"},"metadata":{"$ref":"#/components/schemas/DownloadMetadata"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/DownloadAsset"},"minItems":0,"maxItems":35}},"required":["downloadId","mode","createdAt","expiresAt","state","metadata","assets"],"additionalProperties":false}]},"DownloadFiles":{"type":"object","properties":{"downloadId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"files":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"filename":{"type":"string","pattern":"^download-[0-9]{2}\\.(jpg|png|webp|mp4|mov|mkv|webm|avi|wmv|flv|m4v|3gp|ts|mpeg|mp3|m4a|wav|flac|ogg|aac|opus|wma|aiff)$","maxLength":32},"mediaType":{"type":"string","minLength":1,"maxLength":64},"byteLength":{"type":"integer","minimum":1,"maximum":21474836480}},"required":["asset","downloadUrl","filename","mediaType","byteLength"],"additionalProperties":false},"minItems":0,"maxItems":35}},"required":["downloadId","expiresAt","files"],"additionalProperties":false},"ImageAdvancedOptions":{"anyOf":[{"type":"object","properties":{"saturationEnabled":{"type":"boolean"},"saturationMin":{"type":"number","minimum":0,"maximum":2},"saturationMax":{"type":"number","minimum":0,"maximum":2},"contrastEnabled":{"type":"boolean"},"contrastMin":{"type":"number","minimum":0,"maximum":2},"contrastMax":{"type":"number","minimum":0,"maximum":2},"brightnessEnabled":{"type":"boolean"},"brightnessMin":{"type":"number","minimum":-1,"maximum":1},"brightnessMax":{"type":"number","minimum":-1,"maximum":1},"gammaEnabled":{"type":"boolean"},"gammaMin":{"type":"number","minimum":0,"maximum":3},"gammaMax":{"type":"number","minimum":0,"maximum":3},"vignetteEnabled":{"type":"boolean"},"vignetteMin":{"type":"number","minimum":0,"maximum":1},"vignetteMax":{"type":"number","minimum":0,"maximum":1},"noiseEnabled":{"type":"boolean"},"noiseMin":{"type":"number","minimum":0,"maximum":20},"noiseMax":{"type":"number","minimum":0,"maximum":20},"hueEnabled":{"type":"boolean"},"hueMin":{"type":"number","minimum":0,"maximum":180},"hueMax":{"type":"number","minimum":0,"maximum":180},"unsharpEnabled":{"type":"boolean"},"unsharpMin":{"type":"number","minimum":0,"maximum":3},"unsharpMax":{"type":"number","minimum":0,"maximum":3},"colorMixerEnabled":{"type":"boolean"},"colorMixerMin":{"type":"number","minimum":0,"maximum":10},"colorMixerMax":{"type":"number","minimum":0,"maximum":10},"zoomEnabled":{"type":"boolean"},"zoomMin":{"type":"number","minimum":1,"maximum":2},"zoomMax":{"type":"number","minimum":1,"maximum":2},"rotationEnabled":{"type":"boolean"},"rotationMin":{"type":"number","minimum":-10,"maximum":10},"rotationMax":{"type":"number","minimum":-10,"maximum":10},"lensCorrectionEnabled":{"type":"boolean"},"lensCorrectionMin":{"type":"number","minimum":0,"maximum":0.1},"lensCorrectionMax":{"type":"number","minimum":0,"maximum":0.1},"perspectiveEnabled":{"type":"boolean"},"perspectiveMin":{"type":"number","minimum":0,"maximum":30},"perspectiveMax":{"type":"number","minimum":0,"maximum":30},"aspectRatioEnabled":{"type":"boolean"},"aspectRatioMin":{"type":"number","minimum":0,"maximum":10},"aspectRatioMax":{"type":"number","minimum":0,"maximum":10},"pixelShiftEnabled":{"type":"boolean"},"pixelShiftMin":{"type":"number","minimum":0,"maximum":20},"pixelShiftMax":{"type":"number","minimum":0,"maximum":20},"elasticEnabled":{"type":"boolean"},"elasticMin":{"type":"number","minimum":0,"maximum":15},"elasticMax":{"type":"number","minimum":0,"maximum":15},"randomPixelSizeEnabled":{"type":"boolean"},"flipEnabled":{"type":"boolean"},"flipEverySecondImageEnabled":{"type":"boolean"},"mirrorMode":{"type":"string","enum":["all","every-second"]},"blurredBorderEnabled":{"type":"boolean"},"blurredBorderMin":{"type":"number","minimum":0,"maximum":500},"blurredBorderMax":{"type":"number","minimum":0,"maximum":500},"randomCropEnabled":{"type":"boolean"},"randomCropMin":{"type":"number","minimum":0,"maximum":10},"randomCropMax":{"type":"number","minimum":0,"maximum":10},"reduceFileSizeEnabled":{"type":"boolean"},"usMetadataEnabled":{"type":"boolean"},"watermarkEnabled":{"type":"boolean"},"watermarkType":{"type":"string","enum":["image","text"]},"watermarkText":{"type":"string","maxLength":1024},"watermarkFont":{"type":"string","enum":["Arial","Helvetica","Times New Roman","Georgia","Verdana","Courier New","Impact","Comic Sans MS"]},"watermarkColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","maxLength":7},"watermarkOpacity":{"type":"number","minimum":0,"maximum":1},"watermarkSize":{"type":"number","minimum":5,"maximum":500},"watermarkRotation":{"type":"number","minimum":0,"maximum":360},"watermarkTileMode":{"type":"string","enum":["single","grid","diagonal"]},"watermarkSpacing":{"type":"number","minimum":50,"maximum":500},"watermarkX":{"type":"number","minimum":0,"maximum":100},"watermarkY":{"type":"number","minimum":0,"maximum":100},"watermarkBold":{"type":"boolean"},"watermarkItalic":{"type":"boolean"},"watermarkStroke":{"type":"boolean"},"adversarialEnabled":{"type":"boolean"},"adversarialTier":{"type":"string","enum":["basic","quality","advanced","ultra"]},"adversarialPlatform":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,63}$","maxLength":64},"diffusionEnabled":{"type":"boolean"},"diffusionStrength":{"type":"string","enum":["light","medium","aggressive"]},"blurFillEnabled":{"type":"boolean"},"blurFillTarget":{"type":"string","enum":["auto","16:9","9:16","1:1"]},"selfOverlayEnabled":{"type":"boolean"},"selfOverlayMode":{"type":"string","enum":["self","library"]},"selfOverlayOpacity":{"type":"number","minimum":1,"maximum":50},"noiseOverlayEnabled":{"type":"boolean"},"noiseOverlayOpacity":{"type":"number","minimum":0,"maximum":100},"gridEnabled":{"type":"boolean"},"gridPreset":{"type":"string","enum":["discreet","soft","balanced","strong","very-strong","maximum"]},"collageEnabled":{"type":"boolean"},"collageFormat":{"type":"string","enum":["original","1:1","4:5","5:4","3:4","4:3","2:3","3:2","9:16","16:9"]},"batchFoldersEnabled":{"const":false},"groupSize":{"type":"integer","minimum":1,"maximum":1000},"groupBy":{"type":"string","enum":["batch","file"]},"bfOrg":{"type":"string","enum":["auto-batch","auto-file","custom"]},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"dimensionsEnabled":{"type":"boolean"},"dimensionsInput":{"type":"string","pattern":"^[0-9]{1,5}[x:][0-9]{1,5}$","maxLength":11},"deleteOriginals":{"const":false},"useIphoneNaming":{"type":"boolean"},"igStoryEnabled":{"type":"boolean"},"igStoryUsername":{"type":"string","maxLength":8192},"igStoryTimeAgo":{"type":"string","maxLength":8192},"igStoryStoryCount":{"anyOf":[{"type":"string","pattern":"^(?:[0-9]{1,3})?$","maxLength":3},{"type":"integer","minimum":1,"maximum":100},{"type":"null"}]},"igStoryCurrentStory":{"anyOf":[{"type":"string","pattern":"^(?:[0-9]{1,3})?$","maxLength":3},{"type":"integer","minimum":1,"maximum":100},{"type":"null"}]},"igStoryPillPlaceholder":{"type":"string","maxLength":8192},"igStoryProfilePicPath":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},{"const":""}]},"igStoryPlatform":{"type":"string","enum":["instagram","snapchat"]},"snapStoryText":{"type":"string","maxLength":8192},"snapStoryTextFormat":{"type":"string","enum":["single","lines","blocks","json"]},"snapStoryTextPosition":{"type":"number","minimum":0,"maximum":100},"igStoryText":{"type":"string","maxLength":8192},"igStoryTextFormat":{"type":"string","enum":["single","lines","blocks","json"]},"igStoryTextOnly":{"type":"boolean"},"igStoryTextFont":{"type":"string","enum":["regular","condensed"]},"igStoryTextBackground":{"type":"string","enum":["none","dark","light"]},"igStoryTextColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","maxLength":7},"igStoryTextSize":{"type":"number","minimum":24,"maximum":144},"igStoryTextAlign":{"type":"string","enum":["left","center","right"]},"igStoryTextPosition":{"type":"number","minimum":0,"maximum":100},"videoFiltersEnabled":{"type":"boolean"},"spoofDisabled":{"type":"boolean"},"flipMode":{"type":"string","enum":["all","every-second"],"maxLength":8192},"forceSoftware":{"const":true},"safeMode":{"const":false},"dimensionsFit":{"type":"string","enum":["cover","inside","original"]},"watermarkInput":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"collageInputs":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"minItems":4,"maxItems":4},"overlayImages":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"maxItems":16,"minItems":1,"uniqueItems":true}},"required":[],"additionalProperties":false},{"type":"object","properties":{"spoofPro":{"type":"object","properties":{"schemaVersion":{"const":1},"platform":{"type":"string","enum":["instagram","tiktok","youtube","dating"]},"mediaType":{"type":"string","enum":["image","video"]},"surface":{"type":"string","pattern":"^[a-z0-9-]{1,40}$","maxLength":40},"strength":{"type":"string","enum":["balanced","max"]},"adversarial":{"type":"object","properties":{"enabled":{"type":"boolean"},"tier":{"type":"string","enum":["basic","quality","advanced","ultra"]}},"required":[],"additionalProperties":false},"delivery":{"type":"object","properties":{"audioSpoof":{"type":"boolean"},"iphoneMetadata":{"type":"boolean"},"metadataCountry":{"type":"string","enum":["US","DZ","AR","AU","AT","BE","BR","BG","CA","CL","CN","CO","HR","CZ","DK","EG","FI","FR","DE","GR","HU","IN","ID","IE","IL","IT","JP","MY","MX","MA","NL","NZ","NG","NO","PK","PE","PH","PL","PT","RO","RU","SA","RS","SG","ZA","KR","ES","SE","CH","TH","TN","TR","UA","AE","GB","VN"]},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":[],"additionalProperties":false}},"required":["schemaVersion","platform","mediaType","surface","strength"],"additionalProperties":false}},"required":["spoofPro"],"additionalProperties":true}]},"VideoAdvancedOptions":{"anyOf":[{"type":"object","properties":{"igStoryEnabled":{"type":"boolean"},"igStoryUsername":{"type":"string","maxLength":8192},"igStoryTimeAgo":{"type":"string","maxLength":8192},"igStoryStoryCount":{"anyOf":[{"type":"string","pattern":"^(?:[0-9]{1,3})?$","maxLength":3},{"type":"integer","minimum":1,"maximum":100},{"type":"null"}]},"igStoryCurrentStory":{"anyOf":[{"type":"string","pattern":"^(?:[0-9]{1,3})?$","maxLength":3},{"type":"integer","minimum":1,"maximum":100},{"type":"null"}]},"igStoryPillPlaceholder":{"type":"string","maxLength":8192},"igStoryProfilePicPath":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},{"const":""}]},"igStoryPlatform":{"type":"string","enum":["instagram","snapchat"]},"snapStoryText":{"type":"string","maxLength":8192},"snapStoryTextFormat":{"type":"string","enum":["single","lines","blocks","json"]},"snapStoryTextPosition":{"type":"number","minimum":0,"maximum":100},"igStoryText":{"type":"string","maxLength":8192},"igStoryTextFormat":{"type":"string","enum":["single","lines","blocks","json"]},"igStoryTextOnly":{"type":"boolean"},"igStoryTextFont":{"type":"string","enum":["regular","condensed"]},"igStoryTextBackground":{"type":"string","enum":["none","dark","light"]},"igStoryTextColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","maxLength":7},"igStoryTextSize":{"type":"number","minimum":24,"maximum":144},"igStoryTextAlign":{"type":"string","enum":["left","center","right"]},"igStoryTextPosition":{"type":"number","minimum":0,"maximum":100},"saturationEnabled":{"type":"boolean"},"saturationMin":{"type":"number","minimum":0,"maximum":2},"saturationMax":{"type":"number","minimum":0,"maximum":2},"contrastEnabled":{"type":"boolean"},"contrastMin":{"type":"number","minimum":0,"maximum":2},"contrastMax":{"type":"number","minimum":0,"maximum":2},"brightnessEnabled":{"type":"boolean"},"brightnessMin":{"type":"number","minimum":-1,"maximum":1},"brightnessMax":{"type":"number","minimum":-1,"maximum":1},"gammaEnabled":{"type":"boolean"},"gammaMin":{"type":"number","minimum":0,"maximum":3},"gammaMax":{"type":"number","minimum":0,"maximum":3},"vignetteEnabled":{"type":"boolean"},"vignetteMin":{"type":"number","minimum":0,"maximum":1},"vignetteMax":{"type":"number","minimum":0,"maximum":1},"noiseEnabled":{"type":"boolean"},"noiseMin":{"type":"number","minimum":0,"maximum":20},"noiseMax":{"type":"number","minimum":0,"maximum":20},"hueEnabled":{"type":"boolean"},"hueMin":{"type":"number","minimum":0,"maximum":180},"hueMax":{"type":"number","minimum":0,"maximum":180},"unsharpEnabled":{"type":"boolean"},"unsharpMin":{"type":"number","minimum":0,"maximum":3},"unsharpMax":{"type":"number","minimum":0,"maximum":3},"colorMixerEnabled":{"type":"boolean"},"colorMixerMin":{"type":"number","minimum":0,"maximum":10},"colorMixerMax":{"type":"number","minimum":0,"maximum":10},"zoomEnabled":{"type":"boolean"},"zoomMin":{"type":"number","minimum":1,"maximum":2},"zoomMax":{"type":"number","minimum":1,"maximum":2},"rotationEnabled":{"type":"boolean"},"rotationMin":{"type":"number","minimum":-10,"maximum":10},"rotationMax":{"type":"number","minimum":-10,"maximum":10},"lensCorrectionEnabled":{"type":"boolean"},"lensCorrectionMin":{"type":"number","minimum":0,"maximum":0.1},"lensCorrectionMax":{"type":"number","minimum":0,"maximum":0.1},"perspectiveEnabled":{"type":"boolean"},"perspectiveMin":{"type":"number","minimum":0,"maximum":30},"perspectiveMax":{"type":"number","minimum":0,"maximum":30},"aspectRatioEnabled":{"type":"boolean"},"aspectRatioMin":{"type":"number","minimum":0,"maximum":10},"aspectRatioMax":{"type":"number","minimum":0,"maximum":10},"pixelShiftEnabled":{"type":"boolean"},"pixelShiftMin":{"type":"number","minimum":0,"maximum":20},"pixelShiftMax":{"type":"number","minimum":0,"maximum":20},"elasticEnabled":{"type":"boolean"},"elasticMin":{"type":"number","minimum":0,"maximum":15},"elasticMax":{"type":"number","minimum":0,"maximum":15},"cameraMotionEnabled":{"type":"boolean"},"cameraMotionMin":{"type":"number","minimum":0,"maximum":12},"cameraMotionMax":{"type":"number","minimum":0,"maximum":12},"jitterEnabled":{"type":"boolean"},"jitterMin":{"type":"number","minimum":0,"maximum":20},"jitterMax":{"type":"number","minimum":0,"maximum":20},"timeRemapEnabled":{"type":"boolean"},"timeRemapMin":{"type":"number","minimum":0,"maximum":3},"timeRemapMax":{"type":"number","minimum":0,"maximum":3},"dynamicWarpEnabled":{"type":"boolean"},"dynamicWarpMin":{"type":"number","minimum":0,"maximum":15},"dynamicWarpMax":{"type":"number","minimum":0,"maximum":15},"colorDnaEnabled":{"type":"boolean"},"colorDnaMin":{"type":"number","minimum":0,"maximum":20},"colorDnaMax":{"type":"number","minimum":0,"maximum":20},"filmGrainEnabled":{"type":"boolean"},"filmGrainMin":{"type":"number","minimum":0,"maximum":80},"filmGrainMax":{"type":"number","minimum":0,"maximum":80},"filmGrainMotion":{"type":"string","enum":["fixed","light","natural","vif"]},"randomPixelSizeEnabled":{"type":"boolean"},"horizontalFlipEnabled":{"type":"boolean"},"horizontalFlipMode":{"type":"string","enum":["all","every-second"]},"blurredBorderEnabled":{"type":"boolean"},"blurredBorderMin":{"type":"number","minimum":0,"maximum":500},"blurredBorderMax":{"type":"number","minimum":0,"maximum":500},"randomCropEnabled":{"type":"boolean"},"randomCropMin":{"type":"number","minimum":0,"maximum":10},"randomCropMax":{"type":"number","minimum":0,"maximum":10},"speedEnabled":{"type":"boolean"},"speedMin":{"type":"number","minimum":0.5,"maximum":2},"speedMax":{"type":"number","minimum":0.5,"maximum":2},"volumeEnabled":{"type":"boolean"},"volumeMin":{"type":"number","minimum":0,"maximum":3},"volumeMax":{"type":"number","minimum":0,"maximum":3},"framerateEnabled":{"type":"boolean"},"framerateMin":{"type":"number","minimum":0.1,"maximum":60},"framerateMax":{"type":"number","minimum":0.1,"maximum":60},"cutoffEnabled":{"type":"boolean"},"cutoffMin":{"type":"number","minimum":0,"maximum":5},"cutoffMax":{"type":"number","minimum":0,"maximum":5},"cutoffEndEnabled":{"type":"boolean"},"cutoffEndMin":{"type":"number","minimum":0,"maximum":5},"cutoffEndMax":{"type":"number","minimum":0,"maximum":5},"videoBitrateEnabled":{"type":"boolean"},"videoBitrateMin":{"type":"number","minimum":500,"maximum":50000},"videoBitrateMax":{"type":"number","minimum":500,"maximum":50000},"audioBitrateEnabled":{"type":"boolean"},"audioBitrateMin":{"type":"number","minimum":32,"maximum":320},"audioBitrateMax":{"type":"number","minimum":32,"maximum":320},"audioFingerprintEnabled":{"type":"boolean"},"audioSpoofIntensity":{"type":"string","enum":["low","medium","high"]},"removeAudioEnabled":{"type":"boolean"},"usMetadataEnabled":{"type":"boolean"},"dimensionsEnabled":{"type":"boolean"},"dimensionsInput":{"type":"string","pattern":"^[0-9]{1,5}[x:][0-9]{1,5}$","maxLength":11},"deleteOriginals":{"const":false},"watermarkEnabled":{"type":"boolean"},"watermarkType":{"type":"string","enum":["image","text"]},"watermarkText":{"type":"string","maxLength":1024},"watermarkFont":{"type":"string","enum":["Arial","Helvetica","Times New Roman","Georgia","Verdana","Courier New","Impact","Comic Sans MS"]},"watermarkColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","maxLength":7},"watermarkOpacity":{"type":"number","minimum":0,"maximum":1},"watermarkSize":{"type":"number","minimum":5,"maximum":500},"watermarkRotation":{"type":"number","minimum":0,"maximum":360},"watermarkTileMode":{"type":"string","enum":["single","grid","diagonal"]},"watermarkSpacing":{"type":"number","minimum":50,"maximum":500},"watermarkX":{"type":"number","minimum":0,"maximum":100},"watermarkY":{"type":"number","minimum":0,"maximum":100},"watermarkBold":{"type":"boolean"},"watermarkItalic":{"type":"boolean"},"watermarkStroke":{"type":"boolean"},"adversarialEnabled":{"type":"boolean"},"adversarialTier":{"type":"string","enum":["basic","quality","advanced","ultra"]},"adversarialPlatform":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,63}$","maxLength":64},"diffusionEnabled":{"type":"boolean"},"diffusionStrength":{"type":"string","enum":["light","medium","aggressive"]},"blurFillEnabled":{"type":"boolean"},"blurFillTarget":{"type":"string","enum":["auto","16:9","9:16","1:1"]},"blurFirstFrameEnabled":{"type":"boolean"},"blurFirstFrameStrength":{"type":"number","minimum":1,"maximum":100},"floatingVideoEnabled":{"type":"boolean"},"floatingVideoDezoom":{"type":"number","minimum":5,"maximum":80},"floatingVideoRotationMax":{"type":"number","minimum":0,"maximum":15},"selfOverlayEnabled":{"type":"boolean"},"selfOverlayMode":{"type":"string","enum":["self","library","video-library"]},"selfOverlayOpacity":{"type":"number","minimum":1,"maximum":50},"noiseOverlayEnabled":{"type":"boolean"},"noiseOverlayOpacity":{"type":"number","minimum":0,"maximum":100},"gridEnabled":{"type":"boolean"},"gridPreset":{"type":"string","enum":["discreet","soft","balanced","strong","very-strong","maximum"]},"collageEnabled":{"type":"boolean"},"collageFormat":{"type":"string","enum":["original","1:1","4:5","5:4","3:4","4:3","2:3","3:2","9:16","16:9"]},"batchFoldersEnabled":{"const":false},"groupSize":{"type":"integer","minimum":1,"maximum":1000},"groupBy":{"type":"string","enum":["batch","file"]},"bfOrg":{"type":"string","enum":["auto-batch","auto-file","custom"]},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"useIphoneNaming":{"type":"boolean"},"replaceAudioEnabled":{"type":"boolean"},"replaceAudioFiles":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"maxItems":100,"minItems":0,"uniqueItems":true},"videoFiltersEnabled":{"type":"boolean"},"spoofDisabled":{"type":"boolean"},"flipEnabled":{"type":"boolean"},"flipMode":{"type":"string","enum":["all","every-second"],"maxLength":8192},"reduceFileSizeEnabled":{"type":"boolean"},"forceSoftware":{"const":true},"safeMode":{"const":false},"dimensionsFit":{"type":"string","enum":["cover","inside","original"]},"watermarkInput":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"collageInputs":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"minItems":4,"maxItems":4},"overlayImages":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"maxItems":16,"minItems":1,"uniqueItems":true},"overlayVideos":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"maxItems":16,"minItems":1,"uniqueItems":true}},"required":[],"additionalProperties":false},{"type":"object","properties":{"spoofPro":{"type":"object","properties":{"schemaVersion":{"const":1},"platform":{"type":"string","enum":["instagram","tiktok","youtube","dating"]},"mediaType":{"type":"string","enum":["image","video"]},"surface":{"type":"string","pattern":"^[a-z0-9-]{1,40}$","maxLength":40},"strength":{"type":"string","enum":["balanced","max"]},"adversarial":{"type":"object","properties":{"enabled":{"type":"boolean"},"tier":{"type":"string","enum":["basic","quality","advanced","ultra"]}},"required":[],"additionalProperties":false},"delivery":{"type":"object","properties":{"audioSpoof":{"type":"boolean"},"iphoneMetadata":{"type":"boolean"},"metadataCountry":{"type":"string","enum":["US","DZ","AR","AU","AT","BE","BR","BG","CA","CL","CN","CO","HR","CZ","DK","EG","FI","FR","DE","GR","HU","IN","ID","IE","IL","IT","JP","MY","MX","MA","NL","NZ","NG","NO","PK","PE","PH","PL","PT","RO","RU","SA","RS","SG","ZA","KR","ES","SE","CH","TH","TN","TR","UA","AE","GB","VN"]},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":[],"additionalProperties":false}},"required":["schemaVersion","platform","mediaType","surface","strength"],"additionalProperties":false}},"required":["spoofPro"],"additionalProperties":true}]},"ExecutionNotes":{"type":"array","items":{"type":"string","enum":["CLOUD_TEMPLATE_TIMING_PRESERVED","CLOUD_COLLAGE_CENTER_CROP"]},"maxItems":1,"uniqueItems":true},"ReelOptions":{"anyOf":[{"type":"object","properties":{"durationMode":{"type":"string","enum":["smart","template"]},"maxContentDuration":{"type":["number","null"],"minimum":1,"maximum":21600},"keepSourceAudio":{"type":"boolean"},"randomizeTextPos":{"type":"boolean"},"randomSeed":{"type":"string","maxLength":200},"spoofEnabled":{"type":"boolean"},"spoofTier":{"type":"string","enum":["fast","aggressive"]},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"templateId":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"}},"required":["templateId"],"additionalProperties":false},{"type":"object","properties":{"durationMode":{"type":"string","enum":["smart","template"]},"maxContentDuration":{"type":["number","null"],"minimum":1,"maximum":21600},"keepSourceAudio":{"type":"boolean"},"randomizeTextPos":{"type":"boolean"},"randomSeed":{"type":"string","maxLength":200},"spoofEnabled":{"type":"boolean"},"spoofTier":{"type":"string","enum":["fast","aggressive"]},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"template":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false}},"required":["template"],"additionalProperties":false}]},"CaptionedReelOptions":{"anyOf":[{"type":"object","properties":{"durationMode":{"type":"string","enum":["smart","template"]},"maxContentDuration":{"type":["number","null"],"minimum":1,"maximum":21600},"keepSourceAudio":{"type":"boolean"},"randomizeTextPos":{"type":"boolean"},"randomSeed":{"type":"string","maxLength":200},"spoofEnabled":{"type":"boolean"},"spoofTier":{"type":"string","enum":["fast","aggressive"]},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"templateId":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"transcription":{"type":"object","properties":{"enabled":{"type":"boolean"},"language":{"type":["string","null"],"pattern":"^(auto|[a-z]{2,8})$","maxLength":8}},"required":[],"additionalProperties":false}},"required":["templateId"],"additionalProperties":false},{"type":"object","properties":{"durationMode":{"type":"string","enum":["smart","template"]},"maxContentDuration":{"type":["number","null"],"minimum":1,"maximum":21600},"keepSourceAudio":{"type":"boolean"},"randomizeTextPos":{"type":"boolean"},"randomSeed":{"type":"string","maxLength":200},"spoofEnabled":{"type":"boolean"},"spoofTier":{"type":"string","enum":["fast","aggressive"]},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"template":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false},"transcription":{"type":"object","properties":{"enabled":{"type":"boolean"},"language":{"type":["string","null"],"pattern":"^(auto|[a-z]{2,8})$","maxLength":8}},"required":[],"additionalProperties":false}},"required":["template"],"additionalProperties":false}]},"ReelTemplate":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false},"StudioDocument":{"type":"object","properties":{"v1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false},"v2":{"type":"object","properties":{"version":{"const":2},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"tracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"type":{"enum":["video","text","audio","image","fx"]},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"visible":{"type":"boolean"},"fxType":{"enum":["colorGrade","zoom","blur"]},"items":{"type":"array","items":{"type":"object","properties":{"text":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}]},"x":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"fontSize":{"anyOf":[{"type":"number","minimum":6,"maximum":1000},{"type":"null"}]},"fontFamily":{"anyOf":[{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},{"type":"null"}]},"fontWeight":{"anyOf":[{"type":["number","null"],"minimum":100,"maximum":900},{"type":"null"}]},"italic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"letterSpacing":{"anyOf":[{"type":"number","minimum":-40,"maximum":100},{"type":"null"}]},"align":{"anyOf":[{"type":"string","enum":["left","center","right"]},{"type":"null"}]},"lineHeight":{"anyOf":[{"type":"number","minimum":0.8,"maximum":3},{"type":"null"}]},"color":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"stroke":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"strokeWidth":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"highlightColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"wordColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"shadowSpread":{"anyOf":[{"type":"number","minimum":0,"maximum":40},{"type":"null"}]},"shadowBlur":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"shadowOffsetX":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"shadowOffsetY":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"opacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"rotation":{"anyOf":[{"type":"number","minimum":-3600,"maximum":3600},{"type":"null"}]},"fadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"fadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"clonedConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"wordTimingConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"fontConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingX":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingY":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightRadius":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightFadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"highlightFadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"variantRole":{"anyOf":[{"type":"string","enum":["fixed","editable"]},{"type":"null"}]},"captionVariant":{"anyOf":[{"type":"integer","minimum":0,"maximum":9},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},{"type":"null"}]},"emoji":{"anyOf":[{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false},{"type":"null"}]},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"enum":["video","freeze","slowmo","outro","videoclip","blank","text","audio","image","colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50},"src":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"source":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"anyOf":[{"type":"string","enum":["grayscale","sepia","blur"]},{"type":"null"}]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100},"muted":{"type":"boolean"},"volume":{"type":"number","minimum":0,"maximum":4},"width":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"height":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"animations":{"type":"object","properties":{"in":{"type":"null"},"out":{"type":"null"}},"required":["in","out"],"additionalProperties":false}},"required":["id","start","end","type"],"additionalProperties":false},"maxItems":5000}},"required":["id","type","items"],"additionalProperties":false},"minItems":1,"maxItems":100},"_sourceV1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false}},"required":["version","id","name","duration","tracks"],"additionalProperties":false},"resources":{"$ref":"#/components/schemas/StudioResources"}},"required":["v1","v2","resources"],"additionalProperties":false},"StudioV2":{"type":"object","properties":{"version":{"const":2},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"tracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"type":{"enum":["video","text","audio","image","fx"]},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"visible":{"type":"boolean"},"fxType":{"enum":["colorGrade","zoom","blur"]},"items":{"type":"array","items":{"type":"object","properties":{"text":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}]},"x":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"fontSize":{"anyOf":[{"type":"number","minimum":6,"maximum":1000},{"type":"null"}]},"fontFamily":{"anyOf":[{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},{"type":"null"}]},"fontWeight":{"anyOf":[{"type":["number","null"],"minimum":100,"maximum":900},{"type":"null"}]},"italic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"letterSpacing":{"anyOf":[{"type":"number","minimum":-40,"maximum":100},{"type":"null"}]},"align":{"anyOf":[{"type":"string","enum":["left","center","right"]},{"type":"null"}]},"lineHeight":{"anyOf":[{"type":"number","minimum":0.8,"maximum":3},{"type":"null"}]},"color":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"stroke":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"strokeWidth":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"highlightColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"wordColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"shadowSpread":{"anyOf":[{"type":"number","minimum":0,"maximum":40},{"type":"null"}]},"shadowBlur":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"shadowOffsetX":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"shadowOffsetY":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"opacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"rotation":{"anyOf":[{"type":"number","minimum":-3600,"maximum":3600},{"type":"null"}]},"fadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"fadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"clonedConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"wordTimingConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"fontConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingX":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingY":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightRadius":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightFadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"highlightFadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"variantRole":{"anyOf":[{"type":"string","enum":["fixed","editable"]},{"type":"null"}]},"captionVariant":{"anyOf":[{"type":"integer","minimum":0,"maximum":9},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},{"type":"null"}]},"emoji":{"anyOf":[{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false},{"type":"null"}]},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"enum":["video","freeze","slowmo","outro","videoclip","blank","text","audio","image","colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50},"src":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"source":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"anyOf":[{"type":"string","enum":["grayscale","sepia","blur"]},{"type":"null"}]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100},"muted":{"type":"boolean"},"volume":{"type":"number","minimum":0,"maximum":4},"width":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"height":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"animations":{"type":"object","properties":{"in":{"type":"null"},"out":{"type":"null"}},"required":["in","out"],"additionalProperties":false}},"required":["id","start","end","type"],"additionalProperties":false},"maxItems":5000}},"required":["id","type","items"],"additionalProperties":false},"minItems":1,"maxItems":100},"_sourceV1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false}},"required":["version","id","name","duration","tracks"],"additionalProperties":false},"StudioTemplateCreate":{"type":"object","properties":{"v1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false},"v2":{"type":"object","properties":{"version":{"const":2},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"tracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"type":{"enum":["video","text","audio","image","fx"]},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"visible":{"type":"boolean"},"fxType":{"enum":["colorGrade","zoom","blur"]},"items":{"type":"array","items":{"type":"object","properties":{"text":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}]},"x":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"fontSize":{"anyOf":[{"type":"number","minimum":6,"maximum":1000},{"type":"null"}]},"fontFamily":{"anyOf":[{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},{"type":"null"}]},"fontWeight":{"anyOf":[{"type":["number","null"],"minimum":100,"maximum":900},{"type":"null"}]},"italic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"letterSpacing":{"anyOf":[{"type":"number","minimum":-40,"maximum":100},{"type":"null"}]},"align":{"anyOf":[{"type":"string","enum":["left","center","right"]},{"type":"null"}]},"lineHeight":{"anyOf":[{"type":"number","minimum":0.8,"maximum":3},{"type":"null"}]},"color":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"stroke":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"strokeWidth":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"highlightColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"wordColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"shadowSpread":{"anyOf":[{"type":"number","minimum":0,"maximum":40},{"type":"null"}]},"shadowBlur":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"shadowOffsetX":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"shadowOffsetY":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"opacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"rotation":{"anyOf":[{"type":"number","minimum":-3600,"maximum":3600},{"type":"null"}]},"fadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"fadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"clonedConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"wordTimingConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"fontConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingX":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingY":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightRadius":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightFadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"highlightFadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"variantRole":{"anyOf":[{"type":"string","enum":["fixed","editable"]},{"type":"null"}]},"captionVariant":{"anyOf":[{"type":"integer","minimum":0,"maximum":9},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},{"type":"null"}]},"emoji":{"anyOf":[{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false},{"type":"null"}]},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"enum":["video","freeze","slowmo","outro","videoclip","blank","text","audio","image","colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50},"src":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"source":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"anyOf":[{"type":"string","enum":["grayscale","sepia","blur"]},{"type":"null"}]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100},"muted":{"type":"boolean"},"volume":{"type":"number","minimum":0,"maximum":4},"width":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"height":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"animations":{"type":"object","properties":{"in":{"type":"null"},"out":{"type":"null"}},"required":["in","out"],"additionalProperties":false}},"required":["id","start","end","type"],"additionalProperties":false},"maxItems":5000}},"required":["id","type","items"],"additionalProperties":false},"minItems":1,"maxItems":100},"_sourceV1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false}},"required":["version","id","name","duration","tracks"],"additionalProperties":false},"resources":{"$ref":"#/components/schemas/StudioResources"}},"required":["v1","v2","resources"],"additionalProperties":false},"StudioTemplateUpdate":{"type":"object","properties":{"v1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false},"v2":{"type":"object","properties":{"version":{"const":2},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"tracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"type":{"enum":["video","text","audio","image","fx"]},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"visible":{"type":"boolean"},"fxType":{"enum":["colorGrade","zoom","blur"]},"items":{"type":"array","items":{"type":"object","properties":{"text":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}]},"x":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},{"type":"null"}]},"fontSize":{"anyOf":[{"type":"number","minimum":6,"maximum":1000},{"type":"null"}]},"fontFamily":{"anyOf":[{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},{"type":"null"}]},"fontWeight":{"anyOf":[{"type":["number","null"],"minimum":100,"maximum":900},{"type":"null"}]},"italic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"letterSpacing":{"anyOf":[{"type":"number","minimum":-40,"maximum":100},{"type":"null"}]},"align":{"anyOf":[{"type":"string","enum":["left","center","right"]},{"type":"null"}]},"lineHeight":{"anyOf":[{"type":"number","minimum":0.8,"maximum":3},{"type":"null"}]},"color":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"stroke":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"strokeWidth":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"highlightColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"wordColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowColor":{"anyOf":[{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"shadowOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"shadowSpread":{"anyOf":[{"type":"number","minimum":0,"maximum":40},{"type":"null"}]},"shadowBlur":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"shadowOffsetX":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"shadowOffsetY":{"anyOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"null"}]},"opacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"rotation":{"anyOf":[{"type":"number","minimum":-3600,"maximum":3600},{"type":"null"}]},"fadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"fadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":21600},{"type":"null"}]},"clonedConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"wordTimingConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"fontConfidence":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingX":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightPaddingY":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightRadius":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightOpacity":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"highlightFadeIn":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"highlightFadeOut":{"anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"type":"null"}]},"variantRole":{"anyOf":[{"type":"string","enum":["fixed","editable"]},{"type":"null"}]},"captionVariant":{"anyOf":[{"type":"integer","minimum":0,"maximum":9},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},{"type":"null"}]},"emoji":{"anyOf":[{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false},{"type":"null"}]},"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"enum":["video","freeze","slowmo","outro","videoclip","blank","text","audio","image","colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50},"src":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"source":{"anyOf":[{"anyOf":[{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},{"const":"$input"}]},{"type":"null"}]},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"anyOf":[{"type":"string","enum":["grayscale","sepia","blur"]},{"type":"null"}]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100},"muted":{"type":"boolean"},"volume":{"type":"number","minimum":0,"maximum":4},"width":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"height":{"anyOf":[{"type":"number","minimum":1,"maximum":17280},{"type":"null"}]},"animations":{"type":"object","properties":{"in":{"type":"null"},"out":{"type":"null"}},"required":["in","out"],"additionalProperties":false}},"required":["id","start","end","type"],"additionalProperties":false},"maxItems":5000}},"required":["id","type","items"],"additionalProperties":false},"minItems":1,"maxItems":100},"_sourceV1":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"clonedFrom":{"type":"string","maxLength":280},"duration":{"type":"number","minimum":0.1,"maximum":21600},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["video","freeze","slowmo","outro","videoclip","blank"]},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"sourceStart":{"type":"number","minimum":0,"maximum":21600},"freezeAt":{"type":"number","minimum":0,"maximum":21600},"speedRatio":{"type":"number","minimum":0.05,"maximum":4},"retimeAudio":{"type":"boolean"},"keepAudio":{"type":"boolean"},"filter":{"type":"string","enum":["grayscale","sepia","blur"]},"transitionDuration":{"type":"number","minimum":0,"maximum":5},"transitionOut":{"anyOf":[{"type":"null"},{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"duration":{"type":"number","minimum":0,"maximum":5}},"required":["type","duration"],"additionalProperties":false}]},"srcDuration":{"type":"number","minimum":0,"maximum":21600},"source":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"clipId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"outroAssetId":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type"],"additionalProperties":false},"maxItems":100}},"required":["type","start","end"],"additionalProperties":false},"maxItems":500,"minItems":1},"captionTimeline":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":5000},"audio":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"audio_start":{"type":"number","minimum":0,"maximum":21600},"audio_end":{"type":"number","minimum":0,"maximum":21600},"audio_offset":{"type":"number","minimum":0,"maximum":21600},"audio_volume":{"type":"number","minimum":0,"maximum":4},"audio_muted":{"type":"boolean"},"audioSegments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"sourceOffset":{"type":"number","minimum":0,"maximum":21600},"volume":{"type":"number","minimum":0,"maximum":4},"muted":{"type":"boolean"}},"required":["start","end","src"],"additionalProperties":false},"maxItems":128},"imageOverlays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"src":{"type":"string","minLength":1,"maxLength":180,"pattern":"^(?:[a-f0-9]{64}|[A-Za-z0-9_-]+\\.(?:mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp))$"},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"width":{"type":["number","null"],"minimum":1,"maximum":17280},"height":{"type":["number","null"],"minimum":1,"maximum":17280},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600}},"required":["start","end","src"],"additionalProperties":false},"maxItems":5000},"fxTracks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300},"locked":{"type":"boolean"},"fxType":{"type":"string","enum":["colorGrade","zoom","blur"]},"visible":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"type":{"type":"string","enum":["colorGrade","zoom","blur"]},"brightness":{"type":"number","minimum":-1,"maximum":1},"contrast":{"type":"number","minimum":0,"maximum":4},"saturation":{"type":"number","minimum":0,"maximum":4},"gamma":{"type":"number","minimum":0.1,"maximum":10},"hue":{"type":"number","minimum":-360,"maximum":360},"warmth":{"type":"number","minimum":-100,"maximum":100},"startScale":{"type":"number","minimum":1,"maximum":4},"endScale":{"type":"number","minimum":1,"maximum":4},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"easing":{"type":"string","enum":["linear","easeIn","easeOut","easeInOut"]},"sigma":{"type":"number","minimum":0,"maximum":50}},"required":["type","start","end"],"additionalProperties":false},"maxItems":5000}},"required":["items"],"additionalProperties":false},"maxItems":100}},"required":["id","name","duration","parts"],"additionalProperties":false}},"required":["version","id","name","duration","tracks"],"additionalProperties":false},"resources":{"$ref":"#/components/schemas/StudioResources"},"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646}},"required":["v1","v2","resources","expectedRevision"],"additionalProperties":false},"StudioTemplateDelete":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646}},"required":["expectedRevision"],"additionalProperties":false},"StudioTemplate":{"type":"object","properties":{"templateId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":9007199254740991},"document":{"$ref":"#/components/schemas/StudioDocument"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["templateId","revision","document","createdAt","updatedAt"],"additionalProperties":false},"StudioTemplateReceipt":{"type":"object","properties":{"templateId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":9007199254740991},"deleted":{"type":"boolean"}},"required":["templateId","revision","deleted"],"additionalProperties":false},"ClonerResultRef":{"type":"object","properties":{"resultId":{"type":"string","pattern":"^cr_[a-f0-9]{32}$"},"version":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64}},"required":["resultId","version"],"additionalProperties":false},"StudioPreviewWrite":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"analysis":{"$ref":"#/components/schemas/ClonerResultRef"}},"required":["expectedRevision","analysis"],"additionalProperties":false},"StudioPreviewReceipt":{"type":"object","properties":{"templateId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":9007199254740991},"asset":{"$ref":"#/components/schemas/AssetRef"},"analysis":{"$ref":"#/components/schemas/ClonerResultRef"}},"required":["templateId","revision","asset","analysis"],"additionalProperties":false},"StudioPreview":{"type":"object","properties":{"templateId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":9007199254740991},"preview":{"anyOf":[{"type":"null"},{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"mediaType":{"type":"string","enum":["video/mp4","video/quicktime","video/x-matroska","video/webm","video/x-msvideo","video/x-ms-wmv","video/x-flv","video/x-m4v","video/3gpp","video/mp2t","video/mpeg"]},"byteLength":{"type":"integer","minimum":1,"maximum":53687091200},"width":{"type":"integer","minimum":1,"maximum":16384},"height":{"type":"integer","minimum":1,"maximum":16384},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":1800},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["asset","mediaType","byteLength","width","height","durationSeconds","downloadUrl","expiresAt"],"additionalProperties":false}]}},"required":["templateId","revision","preview"],"additionalProperties":false},"StudioTemplateSummary":{"type":"object","properties":{"templateId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":300},"duration":{"type":"number","minimum":0.1,"maximum":21600},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["templateId","revision","name","duration","createdAt","updatedAt"],"additionalProperties":false},"StudioTemplatePage":{"type":"object","properties":{"templates":{"type":"array","items":{"$ref":"#/components/schemas/StudioTemplateSummary"},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["templates"],"additionalProperties":false},"StudioImportCreate":{"type":"object","properties":{"byteLength":{"type":"integer","minimum":1,"maximum":268435456},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64}},"required":["byteLength","sha256"],"additionalProperties":false},"StudioImportFinalize":{"type":"object","properties":{"byteLength":{"type":"integer","minimum":1,"maximum":268435456},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64}},"required":["byteLength","sha256"],"additionalProperties":false},"StudioExportCreate":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646}},"required":["expectedRevision"],"additionalProperties":false},"StudioTransfer":{"anyOf":[{"type":"object","properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"kind":{"type":"string","enum":["import","export"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"type":"string","enum":["uploading","queued","running","cancelling","cancelled","deleted"]}},"required":["transferId","kind","createdAt","expiresAt","state"],"additionalProperties":false},{"type":"object","properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"kind":{"type":"string","enum":["import","export"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"const":"failed"},"errorCode":{"type":"string","pattern":"^CLOUD_[A-Z_]{1,80}$","maxLength":86}},"required":["transferId","kind","createdAt","expiresAt","state","errorCode"],"additionalProperties":false},{"type":"object","properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"kind":{"const":"import"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"const":"completed"},"document":{"$ref":"#/components/schemas/StudioDocument"},"mediaCount":{"type":"integer","minimum":0,"maximum":511}},"required":["transferId","kind","createdAt","expiresAt","state","document","mediaCount"],"additionalProperties":false},{"type":"object","properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"kind":{"const":"export"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"state":{"const":"completed"},"byteLength":{"type":"integer","minimum":1,"maximum":268435456},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"mediaCount":{"type":"integer","minimum":0,"maximum":511}},"required":["transferId","kind","createdAt","expiresAt","state","byteLength","sha256","mediaCount"],"additionalProperties":false}]},"StudioTransferUpload":{"type":"object","properties":{"transfer":{"$ref":"#/components/schemas/StudioTransfer"},"uploadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"requiredHeaders":{"type":"object","properties":{"Content-Type":{"const":"application/octet-stream"}},"required":["Content-Type"],"additionalProperties":false}},"required":["transfer","uploadUrl","expiresAt","requiredHeaders"],"additionalProperties":false},"StudioBundleResult":{"type":"object","properties":{"transferId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"byteLength":{"type":"integer","minimum":1,"maximum":268435456},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"filename":{"const":"template.metaghost"},"mediaType":{"const":"application/octet-stream"}},"required":["transferId","downloadUrl","expiresAt","byteLength","sha256","filename","mediaType"],"additionalProperties":false},"StudioResources":{"type":"object","maxProperties":16258,"propertyNames":{"pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"additionalProperties":{"$ref":"#/components/schemas/AssetRef"}},"CompositionResources":{"type":"object","maxProperties":138,"propertyNames":{"pattern":"^[a-z][a-z0-9_]{0,31}$","maxLength":32},"additionalProperties":{"$ref":"#/components/schemas/AssetRef"}},"CaptionStyle":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false},"CaptionWord":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":500},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"speaker":{"type":"string","maxLength":100},"breakBefore":{"type":"boolean"},"captionStyle":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false},"keyword":{"type":"boolean"},"color":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"confidence":{"type":"number","minimum":0,"maximum":1},"timingSource":{"type":"string","enum":["interpolated"]}},"required":["text","start","end"],"additionalProperties":false},"CaptionRenderOptions":{"type":"object","properties":{"tier":{"type":"string","enum":["fast","premium"]},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":500},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"speaker":{"type":"string","maxLength":100},"breakBefore":{"type":"boolean"},"captionStyle":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false},"keyword":{"type":"boolean"},"color":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"confidence":{"type":"number","minimum":0,"maximum":1},"timingSource":{"type":"string","enum":["interpolated"]}},"required":["text","start","end"],"additionalProperties":false},"minItems":1,"maxItems":20000},"style":{"anyOf":[{"type":"string","maxLength":80},{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false}]},"overrides":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false},"fps":{"type":"number","minimum":12,"maximum":60},"finalVideo":{"type":"object","properties":{"spoofEnabled":{"type":"boolean"},"spoofTier":{"type":"string","enum":["fast","aggressive"]},"metadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]}},"required":[],"additionalProperties":false},"variants":{"type":"object","properties":{"enabled":{"type":"boolean"},"count":{"type":"integer","minimum":2,"maximum":10},"randomizePosition":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["words"],"additionalProperties":false},"CaptionReviewOptions":{"type":"object","properties":{"tier":{"type":"string","enum":["fast","premium"]},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":500},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"speaker":{"type":"string","maxLength":100},"breakBefore":{"type":"boolean"},"captionStyle":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false},"keyword":{"type":"boolean"},"color":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"confidence":{"type":"number","minimum":0,"maximum":1},"timingSource":{"type":"string","enum":["interpolated"]}},"required":["text","start","end"],"additionalProperties":false},"minItems":1,"maxItems":20000},"style":{"anyOf":[{"type":"string","maxLength":80},{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false}]},"overrides":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":80},"font":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^/\\\\\r\n{}]+$"},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"fontSize":{"type":"number","minimum":8,"maximum":400},"fontScale":{"type":"number","minimum":0.5,"maximum":2},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"wordSpacing":{"type":"number","minimum":0.5,"maximum":3},"primary":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outline":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"shadowColor":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"shadow":{"type":"number","minimum":0,"maximum":20},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":["number","null"],"minimum":0,"maximum":80},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":["number","null"],"minimum":-100,"maximum":100},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"uppercase":{"type":"boolean"},"position":{"type":"string","enum":["top","middle","bottom","custom"]},"align":{"type":"string","enum":["left","center","right"]},"positionX":{"type":"number","minimum":0,"maximum":100},"positionY":{"type":"number","minimum":0,"maximum":100},"marginV":{"type":"number","minimum":0,"maximum":4000},"marginH":{"type":"number","minimum":0,"maximum":2000},"maxLines":{"type":"number","minimum":1,"maximum":4},"minFontScale":{"type":"number","minimum":0.25,"maximum":1},"wordsPerCue":{"type":"number","minimum":1,"maximum":12},"maxGapMerge":{"type":"number","minimum":0.05,"maximum":5},"speakerBreaks":{"type":"boolean"},"language":{"type":"string","maxLength":16},"animation":{"type":"string","enum":["karaoke","highlight","none"]},"activeScale":{"type":"number","minimum":100,"maximum":200},"popOvershoot":{"type":"number","minimum":0,"maximum":60},"popDuration":{"type":"number","minimum":0.05,"maximum":1},"fadeInMs":{"type":"number","minimum":0,"maximum":2000},"fadeOutMs":{"type":"number","minimum":0,"maximum":2000},"keywords":{"type":"string","enum":["auto","off"]},"keywordColors":{"type":"array","items":{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},"minItems":1,"maxItems":8},"box":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"boxTextColor":{"anyOf":[{"type":"string","pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"boxPaddingX":{"type":"number","minimum":0,"maximum":1},"boxPaddingY":{"type":"number","minimum":0,"maximum":1},"boxRadius":{"type":"number","minimum":0,"maximum":1},"boxOpacity":{"type":"number","minimum":0,"maximum":1},"boxShadow":{"type":"boolean"},"wordAnimation":{"type":"string","enum":["pop","none"]},"boxTextOutlineWidth":{"type":["number","null"],"minimum":0,"maximum":20},"boxTextShadow":{"type":"boolean"},"layoutVersion":{"type":"integer","enum":[1,2]},"safeArea":{"type":"string","enum":["social","standard"]},"phraseGrouping":{"type":"string","enum":["balanced","legacy"]},"direction":{"type":"string","enum":["ltr","rtl"]},"balanceLines":{"type":"boolean"},"boxUseInkBounds":{"type":"boolean"},"cropShadow":{"type":"boolean"},"highlightFadeIn":{"type":"number","minimum":0,"maximum":2},"highlightFadeOut":{"type":"number","minimum":0,"maximum":2},"variantOffsetX":{"type":"number","minimum":-32,"maximum":32},"variantOffsetY":{"type":"number","minimum":-32,"maximum":32},"variantSafeFit":{"type":"boolean"}},"required":[],"additionalProperties":false},"fps":{"type":"number","minimum":12,"maximum":60},"variants":{"type":"object","properties":{"enabled":{"type":"boolean"},"count":{"type":"integer","minimum":2,"maximum":10},"randomizePosition":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["words"],"additionalProperties":false},"CaptionTranscribeOptions":{"type":"object","properties":{"language":{"type":["string","null"],"pattern":"^(auto|[a-z]{2,8})$","maxLength":8}},"required":[],"additionalProperties":false},"ClonerOptions":{"type":"object","properties":{"ocrLanguage":{"enum":["auto","en","latin","cyrillic","arabic","ch","korean","th","el","devanagari","ta","te"]},"label":{"type":"string","minLength":1,"maxLength":280}},"required":[],"additionalProperties":false},"ClonerReport":{"type":"object","properties":{"kind":{"const":"template-cloner"},"source":{"$ref":"#/components/schemas/AssetRef"},"width":{"type":"integer","minimum":1,"maximum":2147483647},"height":{"type":"integer","minimum":1,"maximum":2147483647},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":180},"ocrLanguage":{"enum":["auto","en","latin","cyrillic","arabic","ch","korean","th","el","devanagari","ta","te"]},"template":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_.:-]+$"},"name":{"type":"string","maxLength":300,"minLength":1},"category":{"type":["string","null"],"maxLength":160},"duration":{"type":"number","minimum":0.1,"maximum":180.5},"fps":{"type":"number","minimum":1,"maximum":120},"resolution":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2},"height":{"type":"integer","minimum":240,"maximum":4320,"multipleOf":2}},"required":["width","height"],"additionalProperties":false},"clonedFrom":{"type":"string","maxLength":280},"parts":{"type":"array","items":{"type":"object","properties":{"type":{"const":"video"},"start":{"const":0},"end":{"type":"number","minimum":0.1,"maximum":180.5},"captions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1},"x":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"y":{"anyOf":[{"type":"number","minimum":-16384,"maximum":16384},{"type":"string","maxLength":30,"pattern":"^(?:center(?:[+-][0-9]+(?:\\.[0-9]+)?)?|[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:px|%)?)$"}]},"fontSize":{"type":"number","minimum":6,"maximum":1000},"showAt":{"type":"number","minimum":0,"maximum":21600},"hideAt":{"type":"number","minimum":0,"maximum":21600},"fontFamily":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"fontWeight":{"type":["number","null"],"minimum":100,"maximum":900},"italic":{"type":"boolean"},"letterSpacing":{"type":"number","minimum":-40,"maximum":100},"align":{"type":"string","enum":["left","center","right"]},"lineHeight":{"type":"number","minimum":0.8,"maximum":3},"color":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"strokeWidth":{"type":"number","minimum":0,"maximum":100},"highlightColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"wordColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowColor":{"type":["string","null"],"pattern":"^#[0-9a-fA-F]{6}$"},"shadowOpacity":{"type":"number","minimum":0,"maximum":1},"shadowSpread":{"type":"number","minimum":0,"maximum":40},"shadowBlur":{"type":"number","minimum":0,"maximum":100},"shadowOffsetX":{"type":"number","minimum":-100,"maximum":100},"shadowOffsetY":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-3600,"maximum":3600},"fadeIn":{"type":"number","minimum":0,"maximum":21600},"fadeOut":{"type":"number","minimum":0,"maximum":21600},"clonedConfidence":{"type":"number","minimum":0,"maximum":1},"wordTimingConfidence":{"type":"number","minimum":0,"maximum":1},"fontConfidence":{"type":"number","minimum":0,"maximum":1},"highlightPaddingX":{"type":"number","minimum":0,"maximum":1},"highlightPaddingY":{"type":"number","minimum":0,"maximum":1},"highlightRadius":{"type":"number","minimum":0,"maximum":1},"highlightOpacity":{"type":"number","minimum":0,"maximum":1},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5},"variantRole":{"type":"string","enum":["fixed","editable"]},"captionVariant":{"type":"integer","minimum":0,"maximum":9},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"emoji":{"type":"object","properties":{"char":{"type":"string","maxLength":64,"minLength":1},"file":{"type":"string","pattern":"^[0-9a-fA-F]{1,8}(?:-[0-9a-fA-F]{1,8})*\\.png$","maxLength":180},"size":{"type":"number","minimum":8,"maximum":400}},"required":[],"additionalProperties":false}},"required":["text"],"additionalProperties":false},"maxItems":500,"minItems":1}},"required":["type","start","end","captions"],"additionalProperties":false},"maxItems":1,"minItems":1}},"required":["id","name","category","duration","fps","resolution","clonedFrom","parts"],"additionalProperties":false},"events":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":5000},"kind":{"enum":["caption","watermark","background","ui"]},"x_pct":{"type":"number","minimum":-100,"maximum":200},"y_pct":{"type":"number","minimum":-100,"maximum":200},"h_pct":{"type":"number","minimum":0,"maximum":200},"w_pct":{"type":"number","minimum":0,"maximum":200},"show_at":{"type":"number","minimum":0,"maximum":180.5},"hide_at":{"type":"number","minimum":0,"maximum":180.5},"confidence":{"type":"number","minimum":0,"maximum":1},"style":{"type":"object","properties":{"fill":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"stroke":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"highlight":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"word_color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"shadow_color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"font_size_pct":{"type":"number","minimum":0,"maximum":1000},"stroke_width_pct":{"type":"number","minimum":0,"maximum":1000},"highlight_padding_x_pct":{"type":"number","minimum":0,"maximum":1000},"highlight_padding_y_pct":{"type":"number","minimum":0,"maximum":1000},"highlight_radius_pct":{"type":"number","minimum":0,"maximum":1000},"shadow_spread_pct":{"type":"number","minimum":0,"maximum":1000},"shadow_blur_pct":{"type":"number","minimum":0,"maximum":1000},"letter_spacing_pct":{"type":"number","minimum":-1000,"maximum":1000},"shadow_offset_x_pct":{"type":"number","minimum":-1000,"maximum":1000},"shadow_offset_y_pct":{"type":"number","minimum":-1000,"maximum":1000},"font_confidence":{"type":"number","minimum":0,"maximum":1},"shadow_opacity":{"type":"number","minimum":0,"maximum":1},"highlight_fade_in_s":{"type":"number","minimum":0,"maximum":180},"highlight_fade_out_s":{"type":"number","minimum":0,"maximum":180},"fade_in_s":{"type":"number","minimum":0,"maximum":180},"fade_out_s":{"type":"number","minimum":0,"maximum":180},"font_family":{"type":"string","enum":["Arial Black","TikTok Sans","Instagram Sans","Montserrat Black","Anton","Impact","Staatliches","Oswald","Saira Condensed","Archivo Black","Bebas Neue","Baloo 2","Luckiest Guy","Permanent Marker","Special Elite"]},"font_weight":{"type":"number","minimum":100,"maximum":900}},"required":[],"additionalProperties":false},"words":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"number","minimum":0,"maximum":21600},"end":{"type":"number","minimum":0,"maximum":21600},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","maxLength":80},"timingSource":{"type":"string","enum":["aligned","interpolated"]},"highlightFadeIn":{"type":"number","minimum":0,"maximum":0.5},"highlightFadeOut":{"type":"number","minimum":0,"maximum":0.5}},"required":["text","start","end"],"additionalProperties":false},"maxItems":500},"word_timing_confidence":{"type":["number","null"],"minimum":0,"maximum":1}},"required":["text","kind","x_pct","y_pct","h_pct","w_pct","show_at","hide_at","confidence"],"additionalProperties":false},"minItems":0,"maxItems":5000}},"required":["kind","source","width","height","durationSeconds","ocrLanguage","template","events"],"additionalProperties":false},"TranscriptWord":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":500},"start":{"type":"number","minimum":0,"maximum":1800},"end":{"type":"number","minimum":0,"maximum":1800},"confidence":{"type":"number","minimum":0,"maximum":1},"speaker":{"type":"string","minLength":1,"maxLength":80},"timingSource":{"type":"string","enum":["interpolated"]}},"required":["text","start","end"],"additionalProperties":false},"TranscriptReport":{"type":"object","properties":{"kind":{"const":"captions.transcribe"},"source":{"$ref":"#/components/schemas/AssetRef"},"width":{"type":"integer","minimum":1,"maximum":2147483647},"height":{"type":"integer","minimum":1,"maximum":2147483647},"language":{"type":"string","pattern":"^(auto|[a-z]{2,8})$","maxLength":8},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":1800},"noSpeech":{"type":"boolean"},"words":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptWord"},"minItems":0,"maxItems":20000}},"required":["kind","source","width","height","language","durationSeconds","noSpeech","words"],"additionalProperties":false},"CaptionProjectCreate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":128},"source":{"$ref":"#/components/schemas/AssetRef"},"options":{"$ref":"#/components/schemas/CaptionRenderOptions"}},"required":["title","source","options"],"additionalProperties":false},"ReelCaptionReview":{"type":"object","properties":{"jobId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"state":{"type":"string","enum":["awaiting_review","ready","finalizing","succeeded","failed","cancelled"]},"noSpeech":{"type":"boolean"},"transcriptionSkipped":{"type":"boolean"},"options":{"anyOf":[{"$ref":"#/components/schemas/CaptionReviewOptions"},{"type":"null"}]},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"decision":{"type":["string","null"],"enum":["render","skip",null]},"media":{"type":"object","properties":{"width":{"type":"integer","minimum":240,"maximum":4320},"height":{"type":"integer","minimum":240,"maximum":4320},"fps":{"type":"number","minimum":1,"maximum":120},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":21600},"hasAudio":{"type":"boolean"}},"required":["width","height","fps","durationSeconds","hasAudio"],"additionalProperties":false}},"required":["jobId","revision","state","noSpeech","options","expiresAt","decision","media"],"additionalProperties":false},"ReelCaptionReviewUpdate":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"options":{"$ref":"#/components/schemas/CaptionReviewOptions"}},"required":["expectedRevision","options"],"additionalProperties":false},"ReelCaptionReviewSubmit":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"action":{"type":"string","enum":["render","skip"]}},"required":["expectedRevision","action"],"additionalProperties":false},"CaptionProjectUpdate":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"title":{"type":"string","minLength":1,"maxLength":128},"options":{"$ref":"#/components/schemas/CaptionRenderOptions"}},"required":["expectedRevision","title","options"],"additionalProperties":false},"CaptionProjectDelete":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646}},"required":["expectedRevision"],"additionalProperties":false},"CaptionProjectReceipt":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"deleted":{"type":"boolean"}},"required":["projectId","revision","deleted"],"additionalProperties":false},"CaptionProject":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"title":{"type":"string","minLength":1,"maxLength":128},"source":{"$ref":"#/components/schemas/AssetRef"},"options":{"$ref":"#/components/schemas/CaptionRenderOptions"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["projectId","revision","title","source","options","createdAt","updatedAt"],"additionalProperties":false},"CaptionProjectPage":{"type":"object","properties":{"projects":{"type":"array","items":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"title":{"type":"string","minLength":1,"maxLength":128},"source":{"$ref":"#/components/schemas/AssetRef"},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["projectId","revision","title","source","createdAt","updatedAt"],"additionalProperties":false},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["projects"],"additionalProperties":false},"SubtitleExport":{"type":"object","properties":{"format":{"type":"string","enum":["srt","vtt"]},"revision":{"type":"integer","minimum":1,"maximum":2147483647}},"required":["format","revision"],"additionalProperties":false},"SubtitleFile":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"format":{"type":"string","enum":["srt","vtt"]},"filename":{"type":"string","minLength":1,"maxLength":255},"text":{"type":"string","minLength":1,"maxLength":50331648}},"required":["projectId","revision","format","filename","text"],"additionalProperties":false},"AssetRef":{"type":"object","properties":{"assetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"version":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64}},"required":["assetId","version"],"additionalProperties":false},"ImageSimpleOptions":{"type":"object","properties":{"videoFiltersEnabled":{"type":"boolean"},"spoofDisabled":{"type":"boolean"},"flipEnabled":{"type":"boolean"},"flipMode":{"type":"string","enum":["all","every-second"]},"blurredBorderEnabled":{"type":"boolean"},"reduceFileSizeEnabled":{"type":"boolean"},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"useIphoneNaming":{"type":"boolean"}},"required":[],"additionalProperties":false},"ImageConvertOptions":{"type":"object","properties":{"format":{"type":"string","enum":["jpeg","jpg","png","webp","bmp","tiff"]}},"required":["format"],"additionalProperties":false},"VideoSimpleOptions":{"type":"object","properties":{"videoFiltersEnabled":{"type":"boolean"},"spoofDisabled":{"type":"boolean"},"audioFingerprintEnabled":{"type":"boolean"},"flipEnabled":{"type":"boolean"},"flipMode":{"type":"string","enum":["all","every-second"]},"blurredBorderEnabled":{"type":"boolean"},"usMetadataEnabled":{"type":"boolean"},"metadataCountry":{"type":"string","pattern":"^[A-Z]{2}$","maxLength":2},"metadataDeviceProfile":{"type":"string","enum":["iphone","iphone-mov","rayban"]},"useIphoneNaming":{"type":"boolean"},"diffusionEnabled":{"type":"boolean"},"diffusionStrength":{"type":"string","enum":["light","medium","aggressive"]}},"required":[],"additionalProperties":false},"VideoConvertOptions":{"oneOf":[{"type":"object","properties":{"format":{"type":"string","enum":["mp4","mov","mkv","avi","webm"]}},"required":["format"],"additionalProperties":false},{"type":"object","properties":{"format":{"const":"gif"},"framerate":{"type":"integer","minimum":1,"maximum":60},"scale":{"type":"integer","minimum":1,"maximum":4096}},"required":["format"],"additionalProperties":false}]},"ReduceOptions":{"type":"object","properties":{},"required":[],"additionalProperties":false},"ProbeOptions":{"type":"object","properties":{"includeStreams":{"type":"boolean"},"includeMetadata":{"type":"boolean"}},"required":[],"additionalProperties":false},"RiskOptions":{"type":"object","properties":{},"required":[],"additionalProperties":false},"RiskResources":{"type":"object","properties":{"original":{"$ref":"#/components/schemas/AssetRef"}},"required":["original"],"additionalProperties":false},"RiskReport":{"type":"object","properties":{"kind":{"const":"risk.analyze"},"assessmentScope":{"const":"local-similarity-heuristic"},"source":{"$ref":"#/components/schemas/AssetRef"},"resources":{"$ref":"#/components/schemas/RiskResources"},"width":{"type":"integer","minimum":1,"maximum":2147483647},"height":{"type":"integer","minimum":1,"maximum":2147483647},"overallRisk":{"type":"string","enum":["VERY HIGH","HIGH","MEDIUM","LOW"]},"confidence":{"type":"string","enum":["VERY HIGH","HIGH","MODERATE","LOW"]},"riskScore":{"type":"number","minimum":0,"maximum":1},"isImageComparison":{"type":"boolean"},"incomplete":{"type":"boolean"},"visualSimilarity":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":1},"description":{"type":"string","minLength":1,"maxLength":3000},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["score","description","weight"],"additionalProperties":false},"temporalSimilarity":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":1},"description":{"type":"string","minLength":1,"maxLength":3000},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["score","description","weight"],"additionalProperties":false},"structuralSimilarity":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":1},"description":{"type":"string","minLength":1,"maxLength":3000},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["score","description","weight"],"additionalProperties":false},"audioSimilarity":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":1},"description":{"type":"string","minLength":1,"maxLength":3000},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["score","description","weight"],"additionalProperties":false},"recommendations":{"type":"array","items":{"type":"string","minLength":1,"maxLength":3000},"minItems":0,"maxItems":30},"rawData":{"type":"object","properties":{"dHashDistance":{"type":"number","minimum":0,"maximum":64},"pHashDistance":{"type":"number","minimum":0,"maximum":64},"aHashDistance":{"type":"number","minimum":0,"maximum":64},"colorSimilarity":{"type":"number","minimum":0,"maximum":1},"combinedHashDistance":{"type":"number","minimum":0,"maximum":64},"ssimScore":{"type":"number","minimum":-1,"maximum":1},"audioSimilarity":{"type":"number","minimum":0,"maximum":1},"keyframeAvgDistance":{"type":"number","minimum":0,"maximum":64}},"required":["dHashDistance","pHashDistance","aHashDistance","colorSimilarity","combinedHashDistance","ssimScore"],"additionalProperties":false}},"required":["kind","assessmentScope","source","resources","width","height","overallRisk","confidence","riskScore","isImageComparison","incomplete","visualSimilarity","temporalSimilarity","structuralSimilarity","audioSimilarity","recommendations","rawData"],"additionalProperties":false},"ProbeReport":{"type":"object","properties":{"kind":{"const":"media.probe"},"source":{"$ref":"#/components/schemas/AssetRef"},"mediaType":{"type":"string","enum":["image","video"]},"sizeBytes":{"type":"integer","minimum":1,"maximum":53687091200},"container":{"type":["string","null"],"maxLength":300},"containerLongName":{"type":["string","null"],"maxLength":300},"duration":{"type":["number","null"],"minimum":0},"bitRate":{"type":["number","null"],"minimum":0},"width":{"type":["integer","null"],"minimum":1,"maximum":16384},"height":{"type":["integer","null"],"minimum":1,"maximum":16384},"videoCodec":{"type":["string","null"],"maxLength":300},"audioCodec":{"type":["string","null"],"maxLength":300},"hasAudio":{"type":"boolean"},"tags":{"type":"object","maxProperties":200,"propertyNames":{"maxLength":160},"additionalProperties":{"type":"string","maxLength":2000}},"streams":{"type":"array","items":{"type":"object","properties":{"index":{"type":["number","null"],"minimum":0},"type":{"type":["string","null"],"maxLength":300},"codec":{"type":["string","null"],"maxLength":300},"codecLongName":{"type":["string","null"],"maxLength":300},"profile":{"type":["string","null"],"maxLength":300},"width":{"type":["number","null"],"minimum":0},"height":{"type":["number","null"],"minimum":0},"pixelFormat":{"type":["string","null"],"maxLength":300},"frameRate":{"type":["string","null"],"maxLength":300},"channels":{"type":["number","null"],"minimum":0},"channelLayout":{"type":["string","null"],"maxLength":300},"sampleRate":{"type":["number","null"],"minimum":0},"bitRate":{"type":["number","null"],"minimum":0},"duration":{"type":["number","null"],"minimum":0},"tags":{"type":"object","maxProperties":200,"propertyNames":{"maxLength":160},"additionalProperties":{"type":"string","maxLength":2000}}},"required":["index","type","codec","codecLongName","profile","width","height","pixelFormat","frameRate","channels","channelLayout","sampleRate","bitRate","duration"],"additionalProperties":false},"minItems":0,"maxItems":64}},"required":["kind","source","mediaType","sizeBytes","container","containerLongName","duration","bitRate","width","height","videoCodec","audioCodec","hasAudio"],"additionalProperties":false},"AssetCreate":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^\\x00-\\x1f\\x7f/\\\\]+$"},"byteLength":{"type":"integer","minimum":1,"maximum":524288000},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"mediaType":{"type":"string","enum":["image/jpeg","image/png","image/webp","image/gif","image/heic","image/heif","image/bmp","image/tiff","video/mp4","video/quicktime","video/x-matroska","video/webm","video/x-msvideo","video/x-ms-wmv","video/x-flv","video/x-m4v","video/3gpp","video/mp2t","video/mpeg","audio/mpeg","audio/mp4","audio/wav","audio/flac","audio/ogg","audio/aac","audio/opus","audio/x-ms-wma","audio/aiff","image/avif"]}},"required":["filename","byteLength","sha256","mediaType"],"additionalProperties":false},"AssetFinalize":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"byteLength":{"type":"integer","minimum":1,"maximum":524288000}},"required":["sha256","byteLength"],"additionalProperties":false},"Asset":{"type":"object","properties":{"assetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"state":{"type":"string","enum":["uploading","inspecting","ready","rejected","deleted"]},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"version":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"byteLength":{"type":"integer","minimum":1,"maximum":53687091200},"width":{"type":"integer","minimum":0,"maximum":9007199254740991},"height":{"type":"integer","minimum":0,"maximum":9007199254740991},"mediaType":{"type":"string","minLength":1,"maxLength":100},"durationSeconds":{"type":"number","exclusiveMinimum":0},"errorCode":{"type":"string","minLength":1,"maxLength":80}},"required":["assetId","state","createdAt","expiresAt"],"additionalProperties":false,"allOf":[{"if":{"properties":{"state":{"const":"ready"}}},"then":{"required":["version","byteLength","width","height"],"properties":{"version":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"byteLength":{"type":"integer","minimum":1,"maximum":9007199254740991},"width":{"type":"integer","minimum":0,"maximum":9007199254740991},"height":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},{"if":{"required":["mediaType"],"properties":{"mediaType":{"type":"string","enum":["audio/mpeg","audio/mp4","audio/wav","audio/flac","audio/ogg","audio/aac","audio/opus","audio/x-ms-wma","audio/aiff"]}}},"then":{"properties":{"width":{"const":0},"height":{"const":0}},"allOf":[{"if":{"properties":{"state":{"const":"ready"}}},"then":{"required":["durationSeconds"],"properties":{"durationSeconds":{"type":"number","exclusiveMinimum":0}}}}]},"else":{"properties":{"width":{"type":"integer","minimum":1,"maximum":9007199254740991},"height":{"type":"integer","minimum":1,"maximum":9007199254740991}}}},{"if":{"properties":{"state":{"const":"rejected"}}},"then":{"required":["errorCode"],"properties":{"errorCode":{"type":"string","minLength":1,"maxLength":80}}}}]},"AssetUpload":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/Asset"},"uploadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"requiredHeaders":{"type":"object","properties":{"Content-Type":{"type":"string","minLength":1,"maxLength":100},"x-amz-checksum-sha256":{"type":"string","minLength":1,"maxLength":100}},"required":["Content-Type"],"additionalProperties":false}},"required":["asset","uploadUrl","expiresAt","requiredHeaders"],"additionalProperties":false},"QuoteCreate":{"oneOf":[{"type":"object","properties":{"operation":{"type":"string","enum":["image.spoof.simple"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/ImageSimpleOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["image.spoof.advanced"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/ImageAdvancedOptions"},"resources":{"$ref":"#/components/schemas/CompositionResources"}},"required":["operation","inputs","options","resources"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["video.spoof.simple"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/VideoSimpleOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["video.spoof.advanced"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/VideoAdvancedOptions"},"resources":{"$ref":"#/components/schemas/CompositionResources"}},"required":["operation","inputs","options","resources"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["media.probe"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/ProbeOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["risk.analyze"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/RiskOptions"},"resources":{"$ref":"#/components/schemas/RiskResources"}},"required":["operation","inputs","options","resources"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["image.convert"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/ImageConvertOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["video.convert"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/VideoConvertOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["image.reduce"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/ReduceOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["video.reduce"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":100},"options":{"$ref":"#/components/schemas/ReduceOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["short-maker"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/ReelOptions"},"resources":{"$ref":"#/components/schemas/StudioResources"}},"required":["operation","inputs","options","resources"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["short-maker.captions"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/CaptionedReelOptions"},"resources":{"$ref":"#/components/schemas/StudioResources"}},"required":["operation","inputs","options","resources"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["short-maker.variants"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":10}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/ReelOptions"},"resources":{"$ref":"#/components/schemas/StudioResources"}},"required":["operation","inputs","options","resources"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["captions.transcribe"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/CaptionTranscribeOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["captions.render"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":10}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/CaptionRenderOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["image.synthid"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/SynthIdOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["video.synthid"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1000}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/SynthIdOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["spoof-pro"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":20}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/SpoofProOptions"}},"required":["operation","inputs","options"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["template-cloner"]},"inputs":{"type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"variants":{"type":"integer","minimum":1,"maximum":1}},"required":["asset","variants"],"additionalProperties":false},"minItems":1,"maxItems":50},"options":{"$ref":"#/components/schemas/ClonerOptions"}},"required":["operation","inputs","options"],"additionalProperties":false}]},"Capabilities":{"type":"object","properties":{"contractVersion":{"type":"string","minLength":1,"maxLength":30},"desktopSource":{"type":"string","pattern":"^[a-f0-9]{40}$"},"operations":{"type":"array","items":{"type":"object","properties":{"operation":{"type":"string","minLength":1,"maxLength":80},"desktopOperation":{"type":"string","minLength":1,"maxLength":80},"media":{"type":"string","enum":["image","video","mixed","remote"]},"implemented":{"type":"boolean"},"available":{"type":"boolean"},"engineVersions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":96},"minItems":0,"maxItems":100},"schema":{"type":"string","minLength":1,"maxLength":80},"unavailableOptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":0,"maxItems":50},"submissionPath":{"type":"string","enum":["/downloads"]},"creditCharge":{"const":0},"limitedOptions":{"type":"object","properties":{"platform":{"type":"array","items":{"type":"string","enum":["instagram","tiktok","youtube","dating"]},"minItems":0,"maxItems":4},"diffusionStrength":{"type":"array","items":{"type":"string","enum":["light","medium","aggressive"]},"minItems":0,"maxItems":3},"dimensionsFit":{"type":"array","items":{"type":"string","enum":["cover","inside","original"]},"minItems":0,"maxItems":3},"transcription.enabled":{"type":"array","items":{"type":"string","enum":["false","true"]},"minItems":0,"maxItems":2},"collageFormat":{"type":"array","items":{"type":"string","enum":["original","1:1","4:5","5:4","3:4","4:3","2:3","3:2","9:16","16:9"]},"minItems":0,"maxItems":10},"format":{"type":"array","items":{"type":"string","enum":["mp4","mov","mkv","avi","webm","gif"]},"minItems":0,"maxItems":6}},"required":[],"additionalProperties":false},"engineFeatures":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":96},"features":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9.-]{1,64}$","maxLength":64},"minItems":0,"maxItems":64}},"required":["version","features"],"additionalProperties":false},"minItems":0,"maxItems":100},"synthidVideoMaxSeconds":{"type":"integer","minimum":1,"maximum":600}},"required":["operation","desktopOperation","media","implemented","available","engineVersions"],"additionalProperties":false},"minItems":0,"maxItems":100},"auxiliaryActions":{"type":"array","items":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","enum":["pending","cloud-equivalent-required","implemented"]}},"required":["action","status"],"additionalProperties":false},"minItems":0,"maxItems":200}},"required":["contractVersion","desktopSource","operations","auxiliaryActions"],"additionalProperties":false},"ProductCatalog":{"type":"object","properties":{"version":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"desktopSource":{"type":"string","pattern":"^[a-f0-9]{40}$"},"builtInOnly":{"const":true},"metadataCountries":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{2}$"},"name":{"type":"string","minLength":1,"maxLength":120}},"required":["code","name"],"additionalProperties":false},"minItems":0,"maxItems":300},"reelTemplates":{"type":"array","items":{"$ref":"#/components/schemas/ReelTemplate"},"minItems":0,"maxItems":100},"reelAssets":{"type":"array","items":{"type":"object","properties":{"family":{"type":"string","enum":["reel-audio","reel-outros","reel-images"]},"ref":{"type":"string","pattern":"^[A-Za-z0-9_-]+\\.(mp3|wav|m4a|flac|ogg|mp4|mov|webm|png|jpg|jpeg|webp)$","maxLength":180},"label":{"type":"string","minLength":1,"maxLength":200},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"mediaType":{"type":"string","minLength":1,"maxLength":80}},"required":["family","ref","label","sha256","mediaType"],"additionalProperties":false},"minItems":0,"maxItems":300},"captionStyles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","minLength":1,"maxLength":500},"style":{"$ref":"#/components/schemas/CaptionStyle"}},"required":["id","name","style"],"additionalProperties":false},"minItems":0,"maxItems":100},"spoofProProfiles":{"type":"array","items":{"$ref":"#/components/schemas/SpoofProProfile"},"minItems":0,"maxItems":100}},"required":["version","desktopSource","builtInOnly","metadataCountries","reelTemplates","reelAssets","captionStyles","spoofProProfiles"],"additionalProperties":false},"PresetPortableBundle":{"type":"object","properties":{"type":{"type":"string","enum":["metaghost-image-presets","metaghost-video-presets"]},"version":{"type":"string","minLength":1,"maxLength":40},"exportedAt":{"type":"string","maxLength":40},"presets":{"type":"object","minProperties":1,"maxProperties":250,"additionalProperties":{"type":"object","additionalProperties":true}},"nameMappings":{"type":"array","items":{"type":"object","properties":{"originalName":{"type":"string","maxLength":5242880},"exportedName":{"type":"string","minLength":1,"maxLength":80},"reason":{"type":"string","maxLength":5242880}},"required":["originalName","exportedName"],"additionalProperties":false},"minItems":0,"maxItems":250}},"required":["type","presets"],"additionalProperties":false},"PresetPortableFile":{"type":"object","properties":{"filename":{"type":"string","enum":["metaghost-image-presets.json","metaghost-video-presets.json"]},"mediaType":{"const":"application/json"},"bundle":{"$ref":"#/components/schemas/PresetPortableBundle"},"byteLength":{"type":"integer","minimum":1,"maximum":5242880},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"saved":{"const":false},"mediaIncluded":{"const":false},"removedFields":{"type":"integer","minimum":0,"maximum":250000},"warnings":{"type":"array","items":{"type":"string","enum":["LOCAL_SETTINGS_REMOVED","VALUES_REMOVED","NAME_COLLISION"]},"minItems":0,"maxItems":3}},"required":["filename","mediaType","bundle","byteLength","sha256","saved","mediaIncluded","removedFields","warnings"],"additionalProperties":false},"PresetCreate":{"oneOf":[{"type":"object","properties":{"media":{"const":"image"},"mode":{"const":"simple"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/ImageSimpleOptions"},"resources":{"type":"object","properties":{},"required":[],"additionalProperties":false}},"required":["media","mode","name","options","resources"],"additionalProperties":false},{"type":"object","properties":{"media":{"const":"image"},"mode":{"const":"advanced"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/ImageAdvancedOptions"},"resources":{"$ref":"#/components/schemas/CompositionResources"}},"required":["media","mode","name","options","resources"],"additionalProperties":false},{"type":"object","properties":{"media":{"const":"video"},"mode":{"const":"simple"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/VideoSimpleOptions"},"resources":{"type":"object","properties":{},"required":[],"additionalProperties":false}},"required":["media","mode","name","options","resources"],"additionalProperties":false},{"type":"object","properties":{"media":{"const":"video"},"mode":{"const":"advanced"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/VideoAdvancedOptions"},"resources":{"$ref":"#/components/schemas/CompositionResources"}},"required":["media","mode","name","options","resources"],"additionalProperties":false}]},"PresetUpdate":{"oneOf":[{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"media":{"const":"image"},"mode":{"const":"simple"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/ImageSimpleOptions"},"resources":{"type":"object","properties":{},"required":[],"additionalProperties":false}},"required":["expectedRevision","media","mode","name","options","resources"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"media":{"const":"image"},"mode":{"const":"advanced"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/ImageAdvancedOptions"},"resources":{"$ref":"#/components/schemas/CompositionResources"}},"required":["expectedRevision","media","mode","name","options","resources"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"media":{"const":"video"},"mode":{"const":"simple"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/VideoSimpleOptions"},"resources":{"type":"object","properties":{},"required":[],"additionalProperties":false}},"required":["expectedRevision","media","mode","name","options","resources"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"media":{"const":"video"},"mode":{"const":"advanced"},"name":{"type":"string","minLength":1,"maxLength":80},"options":{"$ref":"#/components/schemas/VideoAdvancedOptions"},"resources":{"$ref":"#/components/schemas/CompositionResources"}},"required":["expectedRevision","media","mode","name","options","resources"],"additionalProperties":false}]},"PresetRename":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["expectedRevision","name"],"additionalProperties":false},"PresetDelete":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1,"maximum":2147483646}},"required":["expectedRevision"],"additionalProperties":false},"PresetReceipt":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"deleted":{"type":"boolean"}},"required":["presetId","revision","deleted"],"additionalProperties":false},"Preset":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"recipe":{"$ref":"#/components/schemas/PresetCreate"}},"required":["presetId","revision","createdAt","updatedAt","recipe"],"additionalProperties":false},"PresetPage":{"type":"object","properties":{"presets":{"type":"array","items":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"revision":{"type":"integer","minimum":1,"maximum":2147483647},"media":{"type":"string","enum":["image","video"]},"mode":{"type":"string","enum":["simple","advanced"]},"name":{"type":"string","minLength":1,"maxLength":80},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["presetId","revision","media","mode","name","createdAt","updatedAt"],"additionalProperties":false},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["presets"],"additionalProperties":false},"Quote":{"type":"object","properties":{"quoteId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"requestHash":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"engineVersion":{"type":"string","minLength":1,"maxLength":96},"pricingVersion":{"type":"string","minLength":1,"maxLength":96},"maxCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"outputCount":{"type":"integer","minimum":1,"maximum":1000},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"billing":{"type":"object","properties":{"unit":{"type":"string","enum":["output","second"]},"creditsPerUnit":{"type":"integer","minimum":1,"maximum":1000000},"totalUnits":{"type":"integer","minimum":0,"maximum":1800000},"unitsPerOutput":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1800},"minItems":0,"maxItems":1000}},"required":["unit","creditsPerUnit","totalUnits","unitsPerOutput"],"additionalProperties":false},"usageBilling":{"type":"object","additionalProperties":false,"properties":{"protocol":{"const":"media-usage-v1"},"nativeMode":{"enum":["source","planned","ai-only"]},"imageCreditsPerMegapixel":{"type":"integer","minimum":1,"maximum":1000000},"videoCreditsPer1080pSecond":{"type":"integer","minimum":1,"maximum":1000000},"nativeMultiplier":{"type":"integer","minimum":1,"maximum":1000},"nativeCredits":{"type":"integer","minimum":0,"maximum":2147483647},"aiCredits":{"type":"integer","minimum":0,"maximum":2147483647},"totalCredits":{"type":"integer","minimum":0,"maximum":2147483647},"outputs":{"type":"array","minItems":1,"maxItems":1000,"items":{"type":"object","additionalProperties":false,"properties":{"ordinal":{"type":"integer","minimum":0,"maximum":999},"assetId":{"type":"string","pattern":"^ca_[a-f0-9]{32}$"},"assetVersion":{"type":"string","pattern":"^[a-f0-9]{64}$"},"nativeCredits":{"type":"integer","minimum":0,"maximum":2147483647},"aiCredits":{"type":"integer","minimum":0,"maximum":2147483647},"totalCredits":{"type":"integer","minimum":0,"maximum":2147483647},"components":{"type":"array","maxItems":6,"items":{"type":"object","additionalProperties":false,"properties":{"feature":{"enum":["synthid_image","synthid_video","cloak_image","video_spoof","template_cloner","captions_transcribe_seconds"]},"unit":{"type":"string","minLength":1,"maxLength":128},"units":{"type":"integer","minimum":1,"maximum":2147483647},"creditsPerUnit":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"multiplier":{"type":"integer","minimum":1,"maximum":15},"credits":{"type":"integer","minimum":1,"maximum":2147483647},"minUnits":{"type":"integer","minimum":1,"maximum":2147483647},"maxUnits":{"anyOf":[{"type":"integer","minimum":1,"maximum":2147483647},{"type":"null"}]},"desktopPricingProtocol":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}]}},"required":["feature","unit","units","creditsPerUnit","multiplier","credits","minUnits","maxUnits","desktopPricingProtocol"]}},"width":{"type":"integer","minimum":0,"maximum":2147483647},"height":{"type":"integer","minimum":0,"maximum":2147483647},"durationSeconds":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"fps":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"byteLength":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["ordinal","assetId","assetVersion","nativeCredits","aiCredits","totalCredits","components","width","height","durationSeconds","fps","byteLength"]}}},"required":["protocol","nativeMode","imageCreditsPerMegapixel","videoCreditsPer1080pSecond","nativeMultiplier","nativeCredits","aiCredits","totalCredits","outputs"]}},"required":["quoteId","requestHash","engineVersion","pricingVersion","maxCredits","outputCount","expiresAt"],"additionalProperties":false},"BatchCreate":{"type":"object","properties":{"quoteId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"maxCredits":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["quoteId","maxCredits"],"additionalProperties":false},"Batch":{"type":"object","properties":{"batchId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"quoteId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"state":{"type":"string","enum":["queued","running","awaiting_review","cancelling","succeeded","partial","failed","cancelled"]},"total":{"type":"integer","minimum":1,"maximum":1000},"succeeded":{"type":"integer","minimum":0,"maximum":1000},"failed":{"type":"integer","minimum":0,"maximum":1000},"cancelled":{"type":"integer","minimum":0,"maximum":1000},"reservedCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"capturedCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["batchId","quoteId","state","total","succeeded","failed","cancelled","reservedCredits","capturedCredits","createdAt"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":1000},"requestId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"retryable":{"type":"boolean"}},"required":["code","message","requestId","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"Job":{"type":"object","properties":{"jobId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"batchId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"ordinal":{"type":"integer","minimum":0,"maximum":999},"input":{"$ref":"#/components/schemas/AssetRef"},"state":{"type":"string","enum":["queued","running","awaiting_review","cancelling","succeeded","failed","cancelled"]},"progress":{"type":"integer","minimum":0,"maximum":100},"resultId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"errorCode":{"type":"string","minLength":1,"maxLength":80},"capturedCredits":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["jobId","batchId","ordinal","input","state","progress","capturedCredits"],"additionalProperties":false,"allOf":[{"if":{"properties":{"state":{"const":"succeeded"}}},"then":{"required":["resultId"],"properties":{"resultId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"progress":{"const":100}}},"else":{"not":{"required":["resultId"],"properties":{"resultId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}}}}},{"if":{"properties":{"state":{"const":"failed"}}},"then":{"required":["errorCode"],"properties":{"errorCode":{"type":"string","minLength":1,"maxLength":80}}}}]},"JobPage":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"minItems":0,"maxItems":100},"nextCursor":{"type":"string","minLength":1,"maxLength":512}},"required":["jobs"],"additionalProperties":false},"Result":{"type":"object","properties":{"resultId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"jobId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"filename":{"type":"string","minLength":1,"maxLength":255},"byteLength":{"type":"integer","minimum":1,"maximum":9007199254740991},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"urlExpiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"retainedUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"notes":{"$ref":"#/components/schemas/ExecutionNotes"}},"required":["resultId","jobId","filename","byteLength","sha256","downloadUrl","urlExpiresAt","retainedUntil"],"additionalProperties":false},"Credits":{"type":"object","properties":{"availableCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"heldCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"displayScale":{"type":"integer","minimum":1,"maximum":9007199254740991},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["availableCredits","heldCredits","displayScale","asOf"],"additionalProperties":false},"CaptionFontPreviewCreate":{"type":"object","properties":{"engineVersion":{"type":"string","minLength":1,"maxLength":96},"text":{"type":"string","maxLength":6000},"font":{"type":"string","maxLength":120}},"required":["engineVersion","text","font"],"additionalProperties":false},"CaptionFontPreview":{"type":"object","properties":{"engineVersion":{"type":"string","minLength":1,"maxLength":96},"registry":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"script":{"type":["string","null"],"enum":[null,"latin","arabic","hebrew","japanese","korean","cjk","thai","devanagari","tamil","telugu","cyrillic","greek"]},"missing":{"type":"boolean"},"font":{"anyOf":[{"type":"null"},{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":120},"direction":{"type":"string","enum":["ltr","rtl"]},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"byteLength":{"type":"integer","minimum":16,"maximum":33554432},"mediaType":{"type":"string","enum":["font/ttf","font/collection"]},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"expiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["family","direction","sha256","byteLength","mediaType","downloadUrl","expiresAt"],"additionalProperties":false}]}},"required":["engineVersion","registry","script","missing","font"],"additionalProperties":false},"PerformanceSnapshot":{"type":"object","properties":{"scope":{"type":"string","enum":["actor"]},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24},"dispatchEnabled":{"type":"boolean"},"jobs":{"type":"object","properties":{"queued":{"type":"integer","minimum":0,"maximum":9007199254740991},"running":{"type":"integer","minimum":0,"maximum":9007199254740991},"cancelling":{"type":"integer","minimum":0,"maximum":9007199254740991},"awaitingReview":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["queued","running","cancelling","awaitingReview"],"additionalProperties":false},"admissionPendingOutputs":{"type":"integer","minimum":0,"maximum":9007199254740991},"limits":{"type":"object","properties":{"maxBatchOutputs":{"type":"integer","minimum":1,"maximum":1000},"maxPendingOutputs":{"type":"integer","minimum":1,"maximum":10000},"maxActorRunning":{"type":"integer","minimum":1,"maximum":10},"maxGlobalRunning":{"type":"integer","minimum":1,"maximum":100}},"required":["maxBatchOutputs","maxPendingOutputs","maxActorRunning","maxGlobalRunning"],"additionalProperties":false}},"required":["scope","asOf","dispatchEnabled","jobs","admissionPendingOutputs","limits"],"additionalProperties":false},"Cancel":{"type":"object","properties":{},"required":[],"additionalProperties":false},"LibraryUploadCreate":{"oneOf":[{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^\\x00-\\x1f\\x7f/\\\\]+$"},"byteLength":{"type":"integer","minimum":1,"maximum":2147483648},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"mediaType":{"type":"string","enum":["image/jpeg","image/png","image/webp","image/heic","image/heif","image/avif","image/bmp","image/tiff","image/gif","video/mp4","video/quicktime","video/x-matroska","video/webm","video/x-msvideo","video/x-ms-wmv","video/x-flv","video/x-m4v","video/3gpp","video/mp2t","video/mpeg","audio/mpeg","audio/mp4","audio/wav","audio/flac","audio/ogg","audio/aac","audio/opus","audio/x-ms-wma","audio/aiff"]},"kind":{"const":"studio"}},"required":["filename","byteLength","sha256","mediaType","kind"],"additionalProperties":false},{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^\\x00-\\x1f\\x7f/\\\\]+$"},"byteLength":{"type":"integer","minimum":1,"maximum":104857600},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"mediaType":{"type":"string","enum":["image/jpeg","image/png","image/webp","image/heic","image/heif","image/avif","image/bmp","image/tiff","image/gif"]},"kind":{"const":"image-overlay"}},"required":["filename","byteLength","sha256","mediaType","kind"],"additionalProperties":false},{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^\\x00-\\x1f\\x7f/\\\\]+$"},"byteLength":{"type":"integer","minimum":1,"maximum":2147483648},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"mediaType":{"type":"string","enum":["video/mp4","video/quicktime","video/x-matroska","video/webm","video/x-msvideo","video/x-ms-wmv","video/x-flv","video/x-m4v","video/3gpp","video/mp2t","video/mpeg"]},"kind":{"const":"video-overlay"}},"required":["filename","byteLength","sha256","mediaType","kind"],"additionalProperties":false}]},"LibraryUploadFinalize":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"byteLength":{"type":"integer","minimum":1,"maximum":2147483648}},"required":["sha256","byteLength"],"additionalProperties":false},"TranscriptSessionCreate":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/AssetRef"},"language":{"type":["string","null"],"pattern":"^(auto|[a-z]{2,8})$","maxLength":8},"replaceTranscript":{"type":"boolean"}},"required":["asset"],"additionalProperties":false},"TranscriptSessionStart":{"type":"object","properties":{"expectedGeneration":{"type":"integer","minimum":1,"maximum":2147483647},"maxCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmCredits":{"const":true}},"required":["expectedGeneration","maxCredits","confirmCredits"],"additionalProperties":false},"TranscriptSession":{"anyOf":[{"type":"object","properties":{"transcriptId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"generation":{"type":"integer","minimum":1,"maximum":2147483647},"source":{"$ref":"#/components/schemas/AssetRef"},"newReservedCredits":{"const":0},"state":{"const":"quoted"},"quote":{"$ref":"#/components/schemas/Quote"}},"required":["transcriptId","generation","source","newReservedCredits","state","quote"],"additionalProperties":false},{"type":"object","properties":{"transcriptId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"generation":{"type":"integer","minimum":1,"maximum":2147483647},"source":{"$ref":"#/components/schemas/AssetRef"},"newReservedCredits":{"type":"integer","minimum":0,"maximum":9007199254740991},"state":{"const":"processing"},"batchId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"jobId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96}},"required":["transcriptId","generation","source","newReservedCredits","state","batchId","jobId"],"additionalProperties":false},{"type":"object","properties":{"transcriptId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"generation":{"type":"integer","minimum":1,"maximum":2147483647},"source":{"$ref":"#/components/schemas/AssetRef"},"newReservedCredits":{"const":0},"state":{"const":"ready"},"report":{"type":"object","properties":{"resultId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"byteLength":{"type":"integer","minimum":1,"maximum":8388608},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64},"downloadUrl":{"type":"string","pattern":"^https://[^\\s]+$","maxLength":8192},"urlExpiresAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","maxLength":24}},"required":["resultId","byteLength","sha256","downloadUrl","urlExpiresAt"],"additionalProperties":false}},"required":["transcriptId","generation","source","newReservedCredits","state","report"],"additionalProperties":false},{"type":"object","properties":{"transcriptId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"generation":{"type":"integer","minimum":1,"maximum":2147483647},"source":{"$ref":"#/components/schemas/AssetRef"},"newReservedCredits":{"const":0},"state":{"type":"string","enum":["failed","expired"]},"errorCode":{"type":"string","minLength":1,"maxLength":96,"pattern":"^CLOUD_[A-Z_]+$"}},"required":["transcriptId","generation","source","newReservedCredits","state","errorCode"],"additionalProperties":false}]},"TranscriptSessionReceipt":{"type":"object","properties":{"transcriptId":{"type":"string","pattern":"^[a-z][a-z0-9_-]{15,95}$","maxLength":96},"deleted":{"const":true}},"required":["transcriptId","deleted"],"additionalProperties":false}}}}