{
  "openapi": "3.1.1",
  "info": {
    "title": "Video Dubbing API",
    "description": "Upload a video, dub it into other languages with matched voices, and download the result.",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "{{API_BASE_URL}}",
      "description": "Your API environment"
    }
  ],
  "tags": [
    {
      "name": "Uploads"
    },
    {
      "name": "Jobs"
    },
    {
      "name": "Results"
    },
    {
      "name": "Voices"
    },
    {
      "name": "Pronunciation dictionaries"
    },
    {
      "name": "Languages"
    }
  ],
  "paths": {
    "/v1/galaxy/translate-video/language/transliterate/suggestions": {
      "get": {
        "description": "Turn a word typed in Latin letters into the script of a language: `namaste` in `hi-IN` gives `नमस्ते`. Returns up to five suggestions (or `limit`), best first. Useful when people type transcript text without a native keyboard. Languages without a transliteration fall back to English. Answers may be cached for a day.",
        "operationId": "get-transliteration-suggestions",
        "parameters": [
          {
            "name": "text",
            "required": false,
            "in": "query",
            "description": "The word as typed, in Latin letters. Fewer than two characters returns no suggestions.",
            "schema": {
              "maxLength": 100,
              "type": "string",
              "examples": [
                "namaste"
              ]
            }
          },
          {
            "name": "language",
            "required": false,
            "in": "query",
            "description": "BCP-47 code to write in, from List languages, such as `hi-IN` or `ta-IN`. Default: English. English and other Latin-script languages (`fr-FR`, `te-Latn-IN`) return no suggestions.",
            "schema": {
              "maxLength": 40,
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "How many suggestions to return at most.",
            "schema": {
              "minimum": 1,
              "maximum": 10,
              "default": 5,
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Up to five suggestions, or `limit`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransliterationSuggestionsResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`text` is longer than 100 characters, `language` longer than 40, or `limit` is not a whole number from 1 to 10.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many lookups from one member. Wait the seconds in the `Retry-After` header.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          },
          "502": {
            "description": "Suggestions are unavailable right now. Retry with backoff.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 502,
                      "message": "Error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get transliteration suggestions",
        "tags": [
          "Languages"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.transliteration:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log": {
      "get": {
        "operationId": "list-jobs",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page number, starting at 1. Ignored when `all` is true.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "integer",
              "examples": [
                2
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Jobs per page, from 1 to 100. Ignored when `all` is true.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 20,
              "type": "integer",
              "examples": [
                50
              ]
            }
          },
          {
            "name": "all",
            "required": false,
            "in": "query",
            "description": "Set to `true` to return every matching job in one response and ignore `page` and `limit`. The response has the same shape, with `meta.page` 1 and `meta.totalPages` 1.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "keyword",
            "required": false,
            "in": "query",
            "description": "Only jobs whose name contains this text. The match ignores case.",
            "schema": {
              "type": "string",
              "examples": [
                "product launch"
              ]
            }
          },
          {
            "name": "processType",
            "required": false,
            "in": "query",
            "description": "Only jobs of this type. Ignored when `processTypeIn` is sent. The list only holds top-level jobs, so exports and added languages never match.",
            "schema": {
              "type": "string",
              "enum": [
                "VIDEO_TO_TRANSCRIPT",
                "VIDEO_TO_SUBTITLE",
                "SUBTITLE_TO_TRANSCRIPT_TRANSLATION",
                "VIDEO_TO_SPEECH_TRANSLATION"
              ],
              "examples": [
                "VIDEO_TO_SPEECH_TRANSLATION"
              ]
            }
          },
          {
            "name": "status",
            "required": false,
            "in": "query",
            "description": "Only jobs with this status (see `status` on a list item). Ignored when `statusIn` is sent.",
            "schema": {
              "type": "string",
              "enum": [
                "DRAFT",
                "SCHEDULED",
                "RUNNING",
                "PAUSED",
                "COMPLETED",
                "COMPLETED_WITH_ERRORS",
                "FAILED",
                "TIMED_OUT",
                "TERMINATED"
              ],
              "examples": [
                "COMPLETED"
              ]
            }
          },
          {
            "name": "statusIn",
            "required": false,
            "in": "query",
            "description": "Only jobs with any of these statuses. Send a comma-separated list (`statusIn=RUNNING,SCHEDULED`) or repeat the parameter (`statusIn=RUNNING&statusIn=SCHEDULED`). When sent, `status` is ignored.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "DRAFT",
                  "SCHEDULED",
                  "RUNNING",
                  "PAUSED",
                  "COMPLETED",
                  "COMPLETED_WITH_ERRORS",
                  "FAILED",
                  "TIMED_OUT",
                  "TERMINATED"
                ]
              },
              "examples": [
                [
                  "SCHEDULED",
                  "RUNNING"
                ]
              ]
            }
          },
          {
            "name": "processTypeIn",
            "required": false,
            "in": "query",
            "description": "Only jobs of any of these types. Send a comma-separated list or repeat the parameter. When sent, `processType` is ignored.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "VIDEO_TO_TRANSCRIPT",
                  "VIDEO_TO_SUBTITLE",
                  "SUBTITLE_TO_TRANSCRIPT_TRANSLATION",
                  "VIDEO_TO_SPEECH_TRANSLATION"
                ]
              },
              "examples": [
                [
                  "VIDEO_TO_SPEECH_TRANSLATION",
                  "VIDEO_TO_SUBTITLE"
                ]
              ]
            }
          },
          {
            "name": "sourceLanguage",
            "required": false,
            "in": "query",
            "description": "Accepted but not applied yet: the list is not filtered by source language.",
            "schema": {
              "type": "string",
              "examples": [
                "en-US"
              ]
            }
          },
          {
            "name": "targetLanguage",
            "required": false,
            "in": "query",
            "description": "Only jobs whose `targetLanguages` include this BCP-47 code, from List languages.",
            "schema": {
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "createdAtFrom",
            "required": false,
            "in": "query",
            "description": "Only jobs created at or after this time (ISO 8601). Must not be later than `createdAtTo`.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-06-12T18:30:00.000Z"
              ]
            }
          },
          {
            "name": "createdAtTo",
            "required": false,
            "in": "query",
            "description": "Only jobs created at or before this time (ISO 8601).",
            "schema": {
              "type": "string",
              "examples": [
                "2026-06-15T18:29:59.999Z"
              ]
            }
          },
          {
            "name": "uploadId",
            "required": false,
            "in": "query",
            "description": "Only jobs started from this upload (the `id` you passed in `files`). Use it to find a job you already started for a file before starting another one.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38"
              ]
            }
          },
          {
            "name": "ownerId",
            "required": false,
            "in": "query",
            "description": "Only jobs started by this member of your organization (member ID). Jobs started with an API key belong to the member who created the key.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "a81bc81b-dead-4e5d-abff-90865d1e13b1"
              ]
            }
          },
          {
            "name": "projectId",
            "required": false,
            "in": "query",
            "description": "Only jobs in this project (project ID). Send `none` for jobs that are not in any project.",
            "schema": {
              "type": "string",
              "examples": [
                "7e57d004-2b97-4e7a-b45f-5387367791cd"
              ]
            }
          },
          {
            "name": "scope",
            "required": false,
            "in": "query",
            "description": "`personal`: only jobs started by, or assigned to, the member who created the API key. `org` (the default): every job in the organization. If that member's role only sees its own jobs, `personal` is always applied.",
            "schema": {
              "type": "string",
              "enum": [
                "personal",
                "org"
              ],
              "examples": [
                "org"
              ]
            }
          },
          {
            "name": "includeChildren",
            "required": false,
            "in": "query",
            "description": "Accepted but not applied: exports and added languages are never listed, whatever you send.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field to sort by. Jobs with the same value are then ordered by `createdAt`, newest first.",
            "schema": {
              "default": "updatedAt",
              "type": "string",
              "enum": [
                "processName",
                "createdAt",
                "updatedAt",
                "status",
                "progress",
                "startedAt"
              ],
              "examples": [
                "createdAt"
              ]
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort direction: `ASC` (smallest or oldest first) or `DESC`.",
            "schema": {
              "default": "DESC",
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ],
              "examples": [
                "DESC"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of jobs (top-level jobs only; exports and added languages are not listed), with paging details in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedProcessListResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A filter failed validation, or `createdAtFrom` is after `createdAtTo` (`createdAtFrom must be before or equal to createdAtTo`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List jobs",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Jobs in your organization, most recently updated first. Filter by status, type, language, project, owner, upload or creation date, and page through the results. Only jobs you started are listed: exports and added languages appear inside their job, not as rows of their own.",
        "x-orbitdocs-order": 4,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}": {
      "put": {
        "operationId": "rename-a-job",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessDataDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The job was renamed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcessDataResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, or `id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization (`Process <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "`processName` is only spaces (`Process name cannot be empty.`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 409,
                      "message": "Conflict",
                      "error": "Conflict"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Rename a job",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:update`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Change the name a job is listed under in List jobs and the Universe app. Nothing else about the job changes. The rename is recorded in the audit log.",
        "x-orbitdocs-order": 10,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/add-languages": {
      "post": {
        "description": "Add more target languages to a job. The whole list is checked first: if any language is invalid, nothing starts. Each accepted language runs as its own job, one at a time, once the original job has succeeded.",
        "operationId": "add-target-languages",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLanguagesDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Every language was accepted and charged; each runs as its own job. `rejected` is always empty: any problem fails the whole request instead.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddLanguagesResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Nothing was started or charged. A field failed validation (1 to 20 `languages`), or:\n\n- `Duplicate languages in request: <languages>`\n- `Languages can't be added to a failed process` (or `cancelled process`)\n- `Target language cannot be the same as source language: <language>`\n- `Target language already exists on process: <language>`\n- `Speaker voice map is required when diarization is enabled`, or `Voice is required`",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits for all the languages, or your organization owes credits. Nothing was started.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Add target languages",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:create`. An API key acts with the role of the member who created it.\n\n**Credits:** Every language is charged when the request is accepted, for the original job's length: at the original job's rate, or at the subtitle-language rate when you add subtitles only. All languages are charged together, or none. Refunded if a language fails on our side.\n\n| Rate | What it covers | Price |\n| --- | --- | --- |\n| Video Dubbing | Dubbing a video, with or without instant voice cloning. Per minute of source video; a multi-speaker run is charged a third more, since each speaker is separately transcribed, voice-matched and synthesized. | 300 credits per minute |\n| Video → Subtitle | Subtitling a video. Charged per minute of source video. | 100 credits per minute |\n| Add Subtitle Language | Adding a subtitle-only target language to an existing run. Charged per minute of source video, instead of the parent run's rate — no audio is synthesized. | 60 credits per minute |",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 5,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/exports": {
      "get": {
        "operationId": "get-auto-exported-videos",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The auto-exports of the job. Poll until `isFinished` is true.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoExportsResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process log <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get auto-exported videos",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "For jobs started with `autoExport: true` in `inputData`: a ready-to-download video URL for each target language once the job and its exports have finished. Poll until `isFinished` is true.",
        "x-orbitdocs-order": 4,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/human-validation": {
      "post": {
        "operationId": "approve-speaker-voices",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitHumanValidationDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The voices were approved and the job continues.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HumanValidationResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, or you rejected the voices (`approved: false`): the job **was cancelled** and the response is `Human validation rejected`. Credits are kept.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "More speakers were assigned than were charged at start, and there are not enough credits for the difference. The job keeps waiting for approval.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "The job is not waiting for approval (`Process <id> is not awaiting human validation`), or it has stopped (`Process <id> is <status> — its voice review can no longer be answered`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 409,
                      "message": "Conflict",
                      "error": "Conflict"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The approval could not be saved or the job could not be resumed. Retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Approve speaker voices",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:create`. An API key acts with the role of the member who created it.\n\n**Credits:** Approving more speakers than the job was charged for charges the multi-speaker difference for the dub. Rejecting keeps the credits already charged.\n\n| Rate | What it covers | Price |\n| --- | --- | --- |\n| Video Dubbing | Dubbing a video, with or without instant voice cloning. Per minute of source video; a multi-speaker run is charged a third more, since each speaker is separately transcribed, voice-matched and synthesized. | 300 credits per minute |",
            "position": "after-description"
          }
        ],
        "description": "Confirm the voice for each speaker so a job that is waiting for approval (`awaitingHumanValidation: true` in Get detailed progress) can continue, or reject them to cancel the job. Returns 409 if the job is not waiting for approval.",
        "x-orbitdocs-order": 6,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/result": {
      "get": {
        "operationId": "get-the-result",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The finished job: its output when completed, its error when failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcessResultResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "The job is still running (`Process <id> is still in progress (status: init)`, or `running`). Poll Get a job until it finishes.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 409,
                      "message": "Conflict",
                      "error": "Conflict"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get the result",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "The job's output once it has finished (the transcript in every language, with timings, speakers and subtitles), or its error if it failed. Returns 409 while the job is still queued or running.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/retry": {
      "post": {
        "description": "Resume a failed job from the step that failed. Steps that already succeeded are not run again, and nothing extra is charged. Only failed jobs can be retried, and not while another run of the same job (another language or an export) is in progress. Works for an added language or an export too: pass its own job ID.",
        "operationId": "retry-a-failed-job",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The job is running again. Nothing extra is charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetryProcessResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "The job cannot be retried:\n\n- `Only a failed run can be retried (this one is <status>).`\n- `This run never started, so there is nothing to retry. Add the language again instead.`\n- `Another run of this process is still in progress. Retry once it finishes.`\n- `This run could not be retried. Try again, or start a new run.`: the job stays failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 409,
                      "message": "Conflict",
                      "error": "Conflict"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Retry a failed job",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:update`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 7,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/save-to-drive": {
      "post": {
        "operationId": "save-an-export-to-assets",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the export job (`data.id` from Export a video).",
            "schema": {
              "type": "string",
              "examples": [
                "8d9e0f1a-2b3c-4d5e-8f6a-7b8c9d0e1f2a"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The new asset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaveExportToDriveResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "The ID is not an export (`Only exported videos can be saved to the Drive`), the export has not succeeded yet (`Export is not ready yet`), or its video is missing (`Export video is not available`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No export with this ID in your organization (`Export <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Save an export to assets",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Save the video of a finished export to your organization's assets, in its job's project folder when the job is in a project. Pass the export job ID (`data.id` from Export a video). Every call adds a new asset; use the returned `assetId` with the Assets API.",
        "x-orbitdocs-order": 8,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/status": {
      "get": {
        "operationId": "get-detailed-progress",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Progress of the job. Wait `nextPollAfterSeconds` before polling again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcessStatusResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get detailed progress",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Overall progress, progress for each step, the number of steps completed, and whether the job is waiting for you to approve speaker voices. `nextPollAfterSeconds` says when to poll again.",
        "x-orbitdocs-order": 3,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/{id}/subtitle-download": {
      "get": {
        "operationId": "get-subtitles",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          },
          {
            "name": "language",
            "required": true,
            "in": "query",
            "description": "Language of the subtitles: one of the job's target languages, or its source language. A BCP-47 code from List languages.",
            "schema": {
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "format",
            "required": false,
            "in": "query",
            "description": "Also build a subtitle file in this format, returned in `file`. Leave it out to get only the captions.",
            "schema": {
              "type": "string",
              "enum": [
                "srt",
                "vtt",
                "dfxp",
                "xml",
                "stl",
                "edl",
                "txt",
                "txt-timed",
                "json"
              ],
              "examples": [
                "srt"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The captions, plus a ready-made file in `file` when you sent `format`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubtitleDownloadResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`language` is missing, `format` is not supported, `id` is not a UUID, or the job has no subtitles in that language (`No subtitles found for language <language>`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process <id> not found`). If the key's role only sees its own jobs, a job it did not start and is not assigned to also returns 404 (`Process not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get subtitles",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:export`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Subtitle captions for one language of a job, with their timings. Send `format` to also get a ready-made subtitle file (SRT, VTT, DFXP and more).",
        "x-orbitdocs-order": 5,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/export-lip-sync": {
      "get": {
        "operationId": "list-lip-sync-models",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The default model and every option.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportLipSyncInfoResponseDto"
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List lip-sync models",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:export`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "The lip-sync models Export a video can use with `lipSync: true`: the default, then every model of the providers your organization has turned on, each with whether you have its API key and its price per minute. Check it before a lip-synced export to pick `lipSyncModel` and to estimate the cost.",
        "x-orbitdocs-order": 7,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/export-video": {
      "post": {
        "operationId": "export-a-video",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "required": false,
            "in": "header",
            "schema": {
              "type": "string",
              "examples": [
                "5f0c1d9e-2b7a-4c3e-9f8d-6a1b2c3d4e5f"
              ]
            },
            "description": "Optional. Any unique string you choose, such as a UUID. If you retry with the same key and the same body, you get the first response back and no second export starts. Reusing a key with a different body returns 422. Header names are case-insensitive."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportVideoDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The export job was started. `warning` is set when lip-sync was asked for but will not run; the export then goes ahead without it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportVideoResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Nothing was started. A field failed validation, or:\n\n- `Some of the transcripts for the selected language are invalid or missing audio. Please fix the issues and try exporting again.`: send `ignoreTranscriptErrors: true` to export anyway.\n- `Lip-sync model \"<model>\" is not enabled for this organization.`\n- `No API key is set for <provider>. Add one in Settings → Voice & Lipsync.`\n- `We couldn't read this file's length`: the export is priced and its length could not be measured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits for the lip-sync seconds (or a priced export), or your organization owes credits. Nothing was started.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `processId` in your organization (`Process <processId> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "A request with this `Idempotency-Key` is still being processed (`A request with this idempotency key is still in progress. Retry shortly.`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 409,
                      "message": "Conflict",
                      "error": "Conflict"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "This `Idempotency-Key` was already used with a different body (`This idempotency key was already used for a different request. Use a new key.`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 422,
                      "message": "Unprocessable Entity"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The export could not be started. It is marked failed and any credits are refunded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Export a video",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:export`. An API key acts with the role of the member who created it.\n\n**Credits:** A plain export is free. With `lipSync`, the seconds of video marked for lip-sync are charged when the export starts, at the rate of the lip-sync model. Refused with 402 while your organization owes credits. Refunded if the export fails on our side.\n\n| Rate | What it covers | Price |\n| --- | --- | --- |\n| Video Export | Exporting the finished video — free. An export that applies lip-sync is charged as Lip-Sync on Export instead. | 0 credits per minute |\n| Lip-Sync on Export (sync-3) | Exporting with lip-sync rendered on sync-3. Charged per minute of lip-synced video, in place of the (free) plain export. | 2000 credits per minute |\n| Lip-Sync on Export (lipsync-2-pro) | Exporting with lip-sync rendered on lipsync-2-pro. Charged per minute of lip-synced video, in place of the (free) plain export. | 1200 credits per minute |\n| Lip-Sync on Export (lipsync-2) | Exporting with lip-sync rendered on lipsync-2. Charged per minute of lip-synced video, in place of the (free) plain export. | 750 credits per minute |\n| Lip-Sync on Export (latentsync) | Exporting with lip-sync rendered on latentsync. Charged per minute of lip-synced video, in place of the (free) plain export. | 300 credits per minute |",
            "position": "after-description"
          }
        ],
        "description": "Render the finished video (or, with `audioOnly`, the audio) for one language of a job. The export runs as its own job: track it with Get a job using `data.id`, then download the file with Get a download URL.",
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/presigned-export-url": {
      "post": {
        "operationId": "get-a-download-url",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PresignedExportUrlDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A download link for the file.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresignedExportUrlResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`s3Url` does not point to a file in your organization (`Export not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a download URL",
        "tags": [
          "Results"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:export`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "A short-lived link to download an exported file: the `result.video` or `result.audio` of a finished export job, or an auto-export `videoUrl`.",
        "x-orbitdocs-order": 3,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/run": {
      "post": {
        "operationId": "start-a-job",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartProcessDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The job was created, its credits charged, and it is queued. Poll it with Get a job.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartProcessResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Nothing was started or charged. A field failed validation, or:\n\n- `No Conductor workflow for process type VIDEO_TO_TRANSCRIPT`: this `processType` cannot be started yet.\n- `Select a translation memory for this translation.`: no `tmId` was sent and none could be found or created for the language pair.\n- `We couldn't read this file's length`: an input's duration could not be measured and no `durationSeconds` was sent, so the job cannot be priced. A plain-text script gets `…: a plain-text script has no timings. Upload it as an .srt or .vtt file.`",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits for the measured duration, or your organization owes credits. Nothing was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "`inputData.autoQe` was sent by a member without the `aiqe:create` permission (`Auto QE report needs permission to run AI quality evaluations. …`). Nothing was created or charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`projectId` is not a project in your organization (`Project not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The job could not be set up or started, for example because `tmId` is not a translation memory you can use. If it was already charged, the job is marked failed and its credits are refunded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Start a job",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:create`. An API key acts with the role of the member who created it.\n\n**Credits:** Charged when the job starts: the measured length of the input at the rate of its `processType` (dubbing with more than one speaker costs more). Refunded in full if the job fails on our side; kept if you cancel it.\n\n| Rate | What it covers | Price |\n| --- | --- | --- |\n| Video Dubbing | Dubbing a video, with or without instant voice cloning. Per minute of source video; a multi-speaker run is charged a third more, since each speaker is separately transcribed, voice-matched and synthesized. | 300 credits per minute |\n| Video → Subtitle | Subtitling a video. Charged per minute of source video. | 100 credits per minute |\n| Subtitle → Transcript Translation | Translating an uploaded subtitle file. Charged per minute of subtitle timeline (the file carries its own timings — there is no source video). | 60 credits per minute |",
            "position": "after-description"
          }
        ],
        "description": "Start dubbing, subtitling or translating the subtitles of an uploaded file. Choose the `processType`, pass the upload's `id` and `fileKey` in `files`, and set `sourceLanguage` and `targetLanguages` using BCP-47 codes from List languages. A job translates into one target language; add more with Add target languages. Options such as automatic export and voice approval go in `inputData`. If you leave out `tmId`, the translation memory for that language pair is used, or created. Credits are charged when the job starts: without enough, the API returns 402 and nothing starts. Returns a `jobId` straight away.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/process-log/run/{id}": {
      "get": {
        "operationId": "get-a-job",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Job ID (`jobId`) returned by Start a job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The job.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcessRunResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No job with this `id` in your organization, or it was deleted (`Process log <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a job",
        "tags": [
          "Jobs"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.process_log:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Poll a job's `status`, `stage` and `progress`. When `status` is `COMPLETED`, `result` holds the output and `credits` what it used; when it is `FAILED`, `error` says why. Poll every few seconds, slowing down for long jobs.",
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/sync-api/text-to-speech": {
      "post": {
        "operationId": "generate-speech",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncTextToSpeechDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The audio is ready.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncPmExecutionResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Nothing was generated. A field failed validation, or:\n\n- `Text is empty`: `text` has nothing to speak.\n- `Voice is required for speech generation.`: send `voiceId` or `voiceName`.\n- `id is required when voiceType is cloned or instant-clone`: a cloned voice needs `voiceId`.\n- `Could not resolve the voice provider.`",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Only when your organization has its own price for speech: not enough credits, or your organization owes credits. Nothing was generated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The voice was not found: `No <standard|native> voice found for language \"<targetLanguage>\" with id <voiceId>` (or `named \"<voiceName>\"`), or `Cloned voice <voiceId> not found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Generation failed (`Could not generate audio.`). Any credits charged are refunded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Generate speech",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.sync_api:create`. An API key acts with the role of the member who created it.\n\n**Credits:** Free by default. If your organization has its own price for it, it is charged per character when the call starts, refunded if generation fails, and refused with 402 when your credits are short.\n\n| Rate | What it covers | Price |\n| --- | --- | --- |\n| Line Re-TTS | Synthesizing speech for one line in the editor (re-TTS or standalone) — free. | 0 credits per 100 character |",
            "position": "after-description"
          }
        ],
        "description": "Speak a line of text with one of the dubbing voices and get the audio straight back. The call waits until the audio is ready (usually a few seconds). Use it to audition a voice before you start a job, or to voice short lines of your own. It does not change any job.",
        "x-orbitdocs-order": 11,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload": {
      "get": {
        "operationId": "list-uploads",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page number, starting at 1. Ignored when `all` is true.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "number",
              "examples": [
                1
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Uploads per page, from 1 to 100. Ignored when `all` is true.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 20,
              "type": "number",
              "examples": [
                20
              ]
            }
          },
          {
            "name": "all",
            "required": false,
            "in": "query",
            "description": "When `true`, returns every matching upload in one response and ignores `page` and `limit`. The response shape is the same. Any other value counts as `false`.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "keyword",
            "required": false,
            "in": "query",
            "description": "Only uploads whose file name contains this text, ignoring case.",
            "schema": {
              "type": "string",
              "examples": [
                "product-launch"
              ]
            }
          },
          {
            "name": "mediaType",
            "required": false,
            "in": "query",
            "description": "Only uploads of this kind. It matches the `mediaType` each upload reports.",
            "schema": {
              "type": "string",
              "enum": [
                "video",
                "audio",
                "image",
                "document",
                "subtitle",
                "text",
                "gif"
              ],
              "examples": [
                "video"
              ]
            }
          },
          {
            "name": "status",
            "required": false,
            "in": "query",
            "description": "Only uploads in this state. Stored uploads report `uploaded`, so other values normally return an empty list.",
            "schema": {
              "type": "string",
              "enum": [
                "uploading",
                "uploaded",
                "processing",
                "ready",
                "failed",
                "deleted"
              ],
              "examples": [
                "uploaded"
              ]
            }
          },
          {
            "name": "ownerId",
            "required": false,
            "in": "query",
            "description": "Only uploads made by this member of your organization (their member ID).",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "3f6a1c8e-9d2b-4e7a-b5c1-8a0d2e4f6b93"
              ]
            }
          },
          {
            "name": "checksum",
            "required": false,
            "in": "query",
            "description": "SHA-256 of a file as 64 hex characters (any case). Returns earlier uploads of the same bytes, so you can reuse one instead of uploading again. Only uploads with a recorded `sha256` can match.",
            "schema": {
              "type": "string",
              "examples": [
                "437daae8e613363b2ccda01714582824c21f416b368cfbcc9c85f55fd773e4d1"
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field to sort by. `createdAt` is when the upload was made; `originalName` and `displayName` both sort by file name.",
            "schema": {
              "default": "createdAt",
              "type": "string",
              "enum": [
                "originalName",
                "displayName",
                "createdAt",
                "status",
                "sizeBytes"
              ],
              "examples": [
                "createdAt"
              ]
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort direction. The default `DESC` lists the newest uploads first.",
            "schema": {
              "default": "DESC",
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ],
              "examples": [
                "DESC"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of uploads, with paging details in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedUploadListResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List uploads",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Uploads in your organization, newest first. Paginated with `page` and `limit`; pass `all=true` for every upload at once.",
        "x-orbitdocs-order": 6,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "post": {
        "description": "Upload one or more files in the `files` form field (`multipart/form-data`). Use it for files up to about 100 MB; for larger files, use a multipart upload. Keep each upload's `id` and `fileKey`: you pass them when you start a job.",
        "operationId": "upload-files",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "items": {
                      "contentMediaType": "application/octet-stream"
                    },
                    "description": "The files to upload. Repeat the `files` field once for each file. Each file needs a name with its extension and a real `Content-Type`: together they decide its `mediaType`."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The files were stored. One entry per file, in upload order.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadFilesResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "No file was sent (`At least one file is required (form field: files)`), a file is empty (`File \"<name>\" is empty`), or a file was sent in a field other than `files` (`Unexpected field - <field>`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization needs its own storage credentials to use this feature (`Your organization needs its own storage credentials to use this feature.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "A file could not be stored (`Failed to upload \"<name>\"`). Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Upload files",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload/{id}": {
      "get": {
        "operationId": "get-an-upload",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the upload, from `uploads[].id`.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "4c7e2a90-5b1d-4f3e-9a6c-2d8b1e0f7a35"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The upload.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadedFileResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No upload with this `id` in your organization (`Upload <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get an upload",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "One upload by its `id`.",
        "x-orbitdocs-order": 7,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload/from-assets": {
      "post": {
        "description": "Use files that are already in your organization's assets as job inputs. They are copied on the server, so nothing is uploaded again, and later changes to the originals do not affect the job.",
        "operationId": "upload-from-your-assets",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadFromAssetsDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The assets were copied. One entry per asset, in the order of `assetIds`; `url` and `sha256` are null for copies.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadFilesResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization needs its own storage credentials to use this feature (`Your organization needs its own storage credentials to use this feature.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "One of the `assetIds` is not a file in your organization (`Asset not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "An asset could not be copied (`Could not copy the selected file`). Retry; nothing was created for that asset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Upload from your assets",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 5,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload/multipart/abort": {
      "post": {
        "description": "Cancel multipart uploads you will not finish, using the `uploadId` values from Start a multipart upload. Their uploaded parts are discarded. Cancelling is best-effort: a session that is already gone is skipped without an error.",
        "operationId": "abort-a-multipart-upload",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TvAbortMultipartUploadDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The sessions were aborted and their parts discarded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadSuccessResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "An `uploadId` is not a token from Start a multipart upload, or something failed on our side. Nothing was aborted when a token is malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Abort a multipart upload",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 4,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload/multipart/complete": {
      "post": {
        "description": "Finish a multipart upload with its `uploadId`, each part's number and `ETag`, and the SHA-256 checksum of the whole file. Returns the stored upload, ready to use in a job.",
        "operationId": "complete-a-multipart-upload",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TvCompleteMultipartUploadDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The files were assembled and stored, ready to use in a job.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteMultipartUploadResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, `checksum` is not a SHA-256 hex digest (`checksum must be a 64-character SHA-256 hex string`), or an `uploadId` was issued to another organization (`Invalid key for this organization`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization needs its own storage credentials to use this feature (`Your organization needs its own storage credentials to use this feature.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The upload could not be finished: the session no longer exists (it was aborted or expired), a part or `ETag` is missing or wrong, or an `uploadId` is not a token from Start a multipart upload. Start a new multipart upload.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Complete a multipart upload",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 3,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload/multipart/init": {
      "post": {
        "description": "Begin uploading a large file in parts. Send each file's name, MIME type and size in bytes; you get back an `uploadId`, the part size (10,485,760 bytes), and a presigned URL for each part. `PUT` each part's bytes to its URL without your API key and keep the `ETag` header from each response. The URLs expire after 6 hours. Then call Complete a multipart upload, or Abort a multipart upload if you stop.",
        "operationId": "start-a-multipart-upload",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitMultipartUploadDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "One multipart session per file, each with its part size and a presigned URL per part.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitMultipartUploadResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, or `partCount` does not fit the file: `partCount must be between 1 and 10000`, or `partCount must be at least <n> for a <size>-byte file with part size 10485760`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization needs its own storage credentials to use this feature (`Your organization needs its own storage credentials to use this feature.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Start a multipart upload",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/upload/multipart/part-urls": {
      "post": {
        "operationId": "refresh-multipart-part-urls",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TvMultipartPartUrlsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "One fresh presigned URL per part asked for.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TvMultipartPartUrlsResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation (part numbers run from 1 to 10000), `uploadId` is not a token from Start a multipart upload, or it was issued to another organization (`Invalid key for this organization`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization needs its own storage credentials to use this feature (`Your organization needs its own storage credentials to use this feature.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "A part URL could not be created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Refresh multipart part URLs",
        "tags": [
          "Uploads"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.upload:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Fresh presigned URLs for some parts of a multipart upload you started, by the `uploadId` from Start a multipart upload. Ask again for a part whose URL expired or was refused (HTTP 400 or 403) before its bytes went through, then `PUT` the part to its new URL. Parts already uploaded are kept. The URLs expire after 6 hours.",
        "x-orbitdocs-order": 8,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice": {
      "get": {
        "description": "Voices from the standard, native and cloned catalogs in one list. Choose catalogs with `sources` (comma-separated: `standard`, `native`, `cloned`); all three by default. Unlike the per-catalog lists, only active voices are returned by default. Sorted by `name` unless you set `sortBy`. Results are paginated with `page` and `limit`; pass `all=true` to get every voice at once.",
        "operationId": "list-voices",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page to return, starting at 1. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "number",
              "examples": [
                1
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Voices per page, from 1 to 100. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 20,
              "type": "number",
              "examples": [
                20
              ]
            }
          },
          {
            "name": "all",
            "required": false,
            "in": "query",
            "description": "Set to `true` to return every matching voice in one response, in the same shape; `page` and `limit` are then ignored. Any other value counts as `false`.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "keyword",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `name` contains this text, ignoring case.",
            "schema": {
              "type": "string",
              "examples": [
                "tessa"
              ]
            }
          },
          {
            "name": "provider",
            "required": false,
            "in": "query",
            "description": "Currently has no effect: the list is always limited to the providers enabled for your organization (its text-to-speech providers for standard and native voices, its voice-cloning providers for cloned voices), whatever you pass. A value outside the list is rejected with 400.",
            "schema": {
              "type": "string",
              "enum": [
                "microsoft",
                "google",
                "elevenlabs",
                "cartesia"
              ],
              "examples": [
                "elevenlabs"
              ]
            }
          },
          {
            "name": "voiceType",
            "required": false,
            "in": "query",
            "description": "Applies to standard voices only: they are kept when their `voiceType` equals this value (case-sensitive), and every standard voice is `standard`, so any other value removes them. Native and cloned voices are never filtered by it.",
            "schema": {
              "type": "string",
              "examples": [
                "standard"
              ]
            }
          },
          {
            "name": "language",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `supportedLanguages` contains this BCP-47 language code, matched exactly. Cloned voices with no language list speak any language, so they are always included. Use a `code` from List languages, such as `hi-IN`.",
            "schema": {
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "isActive",
            "required": false,
            "in": "query",
            "description": "Returns only active voices, which is also what you get when you omit it. Any non-empty value, including `false`, is currently read as `true`; send it empty (`isActive=`) to get only inactive voices.",
            "schema": {
              "default": true,
              "type": "boolean",
              "examples": [
                true
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field to sort by.",
            "schema": {
              "default": "name",
              "type": "string",
              "enum": [
                "name",
                "createdAt",
                "provider"
              ],
              "examples": [
                "name"
              ]
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort direction: `ASC` for A to Z or oldest first, `DESC` for the reverse.",
            "schema": {
              "default": "ASC",
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ],
              "examples": [
                "ASC"
              ]
            }
          },
          {
            "name": "status",
            "required": false,
            "in": "query",
            "description": "Returns only cloned voices with this status; standard and native voices are not filtered by it. Only `ready` voices can be used in a job. Omit it to get every status.",
            "schema": {
              "type": "string",
              "enum": [
                "RUNNING",
                "COMPLETED",
                "FAILED",
                "TERMINATED"
              ],
              "examples": [
                "COMPLETED"
              ]
            }
          },
          {
            "name": "sources",
            "required": false,
            "in": "query",
            "description": "Catalogs to include, comma-separated (`sources=standard,native`) or repeated (`sources=standard&sources=native`). Unknown values are dropped; when none is left, all three catalogs are used. A voice found in more than one catalog (same `provider` and `providerVoiceId`) is listed once, from the first of standard, native, cloned.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "standard",
                  "native",
                  "cloned"
                ]
              },
              "examples": [
                "standard,native"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of voices from the requested catalogs, with paging details in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List voices",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/accents": {
      "get": {
        "description": "Accent options for a language, from the standard and native voice catalogs. An accent `id` matches `metadata.traits.accent` on the voices.",
        "operationId": "list-accents",
        "parameters": [
          {
            "name": "language",
            "required": true,
            "in": "query",
            "description": "BCP-47 language code, such as `en-US` or `ar-DZ`. Use a `code` from List languages.",
            "schema": {
              "type": "string",
              "examples": [
                "en-US"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Accent options for the language. An unknown language returns an empty `accents` list, not an error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VoiceAccentsResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`language` is missing, empty or longer than 128 characters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List accents",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/cloned": {
      "get": {
        "description": "Cloned voices your organization can use: its own clones, from Video Dubbing or the Playground, and clones shared with it by its parent or sub-organizations on the same provider account. Newest first unless you set `sortBy` or `sortOrder`. Paginated with `page` and `limit`; pass `all=true` for every voice.",
        "operationId": "list-cloned-voices",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page to return, starting at 1. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "number",
              "examples": [
                1
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Voices per page, from 1 to 100. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 20,
              "type": "number",
              "examples": [
                20
              ]
            }
          },
          {
            "name": "all",
            "required": false,
            "in": "query",
            "description": "Set to `true` to return every matching voice in one response, in the same shape; `page` and `limit` are then ignored. Any other value counts as `false`.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "keyword",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `name` contains this text, ignoring case.",
            "schema": {
              "type": "string",
              "examples": [
                "tessa"
              ]
            }
          },
          {
            "name": "provider",
            "required": false,
            "in": "query",
            "description": "Currently has no effect: the list is always limited to the providers enabled for your organization (its text-to-speech providers for standard and native voices, its voice-cloning providers for cloned voices), whatever you pass. A value outside the list is rejected with 400.",
            "schema": {
              "type": "string",
              "enum": [
                "microsoft",
                "google",
                "elevenlabs",
                "cartesia"
              ],
              "examples": [
                "elevenlabs"
              ]
            }
          },
          {
            "name": "voiceType",
            "required": false,
            "in": "query",
            "description": "Applies to standard voices only: they are kept when their `voiceType` equals this value (case-sensitive), and every standard voice is `standard`, so any other value removes them. Native and cloned voices are never filtered by it.",
            "schema": {
              "type": "string",
              "examples": [
                "standard"
              ]
            }
          },
          {
            "name": "language",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `supportedLanguages` contains this BCP-47 language code, matched exactly. Cloned voices with no language list speak any language, so they are always included. Use a `code` from List languages, such as `hi-IN`.",
            "schema": {
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "isActive",
            "required": false,
            "in": "query",
            "description": "Returns only active voices. Omit it to get active and inactive voices. Any non-empty value, including `false`, is currently read as `true`; send it empty (`isActive=`) to get only inactive voices.",
            "schema": {
              "type": "boolean",
              "examples": [
                true
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field to sort by. Defaults to `createdAt`.",
            "schema": {
              "type": "string",
              "enum": [
                "name",
                "createdAt",
                "provider"
              ],
              "default": "createdAt",
              "examples": [
                "createdAt"
              ]
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort direction: `ASC` for A to Z or oldest first, `DESC` for the reverse. Defaults to `DESC`, so the newest voices come first.",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ],
              "default": "DESC",
              "examples": [
                "DESC"
              ]
            }
          },
          {
            "name": "status",
            "required": false,
            "in": "query",
            "description": "Returns only cloned voices with this status; standard and native voices are not filtered by it. Only `ready` voices can be used in a job. Omit it to get every status.",
            "schema": {
              "type": "string",
              "enum": [
                "RUNNING",
                "COMPLETED",
                "FAILED",
                "TERMINATED"
              ],
              "examples": [
                "COMPLETED"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of the cloned voices your organization can use, with paging details in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedClonedVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List cloned voices",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 7,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/cloned/{id}": {
      "get": {
        "operationId": "get-a-cloned-voice",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the cloned voice, from List cloned voices or List voices.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "7d4b1e9c-2a6f-4c8d-b3e1-0f5a9c7d2b6e"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The voice.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClonedVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No cloned voice with this `id` that your organization can use (`Cloned voice <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a cloned voice",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "One cloned voice by its `id`. Unlike the list, `previewUrl` is only the stored link, so it can be null here for a voice that has a preview in the list.",
        "x-orbitdocs-order": 8,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "put": {
        "operationId": "update-a-cloned-voice",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the cloned voice, from List cloned voices or List voices.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "7d4b1e9c-2a6f-4c8d-b3e1-0f5a9c7d2b6e"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClonedVoiceDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The voice, after the change.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClonedVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, or `id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No cloned voice with this `id` that your organization can use (`Cloned voice <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "The change could not be saved (`Failed to update cloned voice`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Update a cloned voice",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:update`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Change a cloned voice's details. Send only the fields you want to change; fields you leave out keep their values. `supportedLanguages`, `trainingAudios` and `metadata` replace the stored value as a whole.",
        "x-orbitdocs-order": 9,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/native": {
      "get": {
        "description": "Voices from the native catalog, sorted by `name` unless you set `sortBy`. Paginated with `page` and `limit`; pass `all=true` for every voice.",
        "operationId": "list-native-voices",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page to return, starting at 1. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "number",
              "examples": [
                1
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Voices per page, from 1 to 100. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 20,
              "type": "number",
              "examples": [
                20
              ]
            }
          },
          {
            "name": "all",
            "required": false,
            "in": "query",
            "description": "Set to `true` to return every matching voice in one response, in the same shape; `page` and `limit` are then ignored. Any other value counts as `false`.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "keyword",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `name` contains this text, ignoring case.",
            "schema": {
              "type": "string",
              "examples": [
                "tessa"
              ]
            }
          },
          {
            "name": "provider",
            "required": false,
            "in": "query",
            "description": "Currently has no effect: the list is always limited to the providers enabled for your organization (its text-to-speech providers for standard and native voices, its voice-cloning providers for cloned voices), whatever you pass. A value outside the list is rejected with 400.",
            "schema": {
              "type": "string",
              "enum": [
                "microsoft",
                "google",
                "elevenlabs",
                "cartesia"
              ],
              "examples": [
                "elevenlabs"
              ]
            }
          },
          {
            "name": "voiceType",
            "required": false,
            "in": "query",
            "description": "Applies to standard voices only: they are kept when their `voiceType` equals this value (case-sensitive), and every standard voice is `standard`, so any other value removes them. Native and cloned voices are never filtered by it.",
            "schema": {
              "type": "string",
              "examples": [
                "standard"
              ]
            }
          },
          {
            "name": "language",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `supportedLanguages` contains this BCP-47 language code, matched exactly. Cloned voices with no language list speak any language, so they are always included. Use a `code` from List languages, such as `hi-IN`.",
            "schema": {
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "isActive",
            "required": false,
            "in": "query",
            "description": "Returns only active voices. Omit it to get active and inactive voices. Any non-empty value, including `false`, is currently read as `true`; send it empty (`isActive=`) to get only inactive voices.",
            "schema": {
              "type": "boolean",
              "examples": [
                true
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field to sort by.",
            "schema": {
              "default": "name",
              "type": "string",
              "enum": [
                "name",
                "createdAt",
                "provider"
              ],
              "examples": [
                "name"
              ]
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort direction: `ASC` for A to Z or oldest first, `DESC` for the reverse.",
            "schema": {
              "default": "ASC",
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ],
              "examples": [
                "ASC"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of native voices, with paging details in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedCatalogVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List native voices",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 5,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/native/{id}": {
      "get": {
        "operationId": "get-a-native-voice",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the native voice, from List native voices or List voices.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "8a1f3c5e-7b2d-4e9a-b6c4-0d2e1f3a5b7c"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The voice.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No native voice with this `id` (`native voice <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a native voice",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "One native voice by its `id`.",
        "x-orbitdocs-order": 6,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/standard": {
      "get": {
        "description": "Voices from the standard catalog, sorted by `name` unless you set `sortBy`. Paginated with `page` and `limit`; pass `all=true` for every voice.",
        "operationId": "list-standard-voices",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page to return, starting at 1. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "number",
              "examples": [
                1
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Voices per page, from 1 to 100. Ignored when `all=true`.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 20,
              "type": "number",
              "examples": [
                20
              ]
            }
          },
          {
            "name": "all",
            "required": false,
            "in": "query",
            "description": "Set to `true` to return every matching voice in one response, in the same shape; `page` and `limit` are then ignored. Any other value counts as `false`.",
            "schema": {
              "default": false,
              "type": "boolean",
              "examples": [
                false
              ]
            }
          },
          {
            "name": "keyword",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `name` contains this text, ignoring case.",
            "schema": {
              "type": "string",
              "examples": [
                "tessa"
              ]
            }
          },
          {
            "name": "provider",
            "required": false,
            "in": "query",
            "description": "Currently has no effect: the list is always limited to the providers enabled for your organization (its text-to-speech providers for standard and native voices, its voice-cloning providers for cloned voices), whatever you pass. A value outside the list is rejected with 400.",
            "schema": {
              "type": "string",
              "enum": [
                "microsoft",
                "google",
                "elevenlabs",
                "cartesia"
              ],
              "examples": [
                "elevenlabs"
              ]
            }
          },
          {
            "name": "voiceType",
            "required": false,
            "in": "query",
            "description": "Applies to standard voices only: they are kept when their `voiceType` equals this value (case-sensitive), and every standard voice is `standard`, so any other value removes them. Native and cloned voices are never filtered by it.",
            "schema": {
              "type": "string",
              "examples": [
                "standard"
              ]
            }
          },
          {
            "name": "language",
            "required": false,
            "in": "query",
            "description": "Returns only voices whose `supportedLanguages` contains this BCP-47 language code, matched exactly. Cloned voices with no language list speak any language, so they are always included. Use a `code` from List languages, such as `hi-IN`.",
            "schema": {
              "type": "string",
              "examples": [
                "hi-IN"
              ]
            }
          },
          {
            "name": "isActive",
            "required": false,
            "in": "query",
            "description": "Returns only active voices. Omit it to get active and inactive voices. Any non-empty value, including `false`, is currently read as `true`; send it empty (`isActive=`) to get only inactive voices.",
            "schema": {
              "type": "boolean",
              "examples": [
                true
              ]
            }
          },
          {
            "name": "sortBy",
            "required": false,
            "in": "query",
            "description": "Field to sort by.",
            "schema": {
              "default": "name",
              "type": "string",
              "enum": [
                "name",
                "createdAt",
                "provider"
              ],
              "examples": [
                "name"
              ]
            }
          },
          {
            "name": "sortOrder",
            "required": false,
            "in": "query",
            "description": "Sort direction: `ASC` for A to Z or oldest first, `DESC` for the reverse.",
            "schema": {
              "default": "ASC",
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ],
              "examples": [
                "ASC"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of standard voices, with paging details in `meta`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedCatalogVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List standard voices",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "x-orbitdocs-order": 3,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/galaxy/translate-video/voice/standard/{id}": {
      "get": {
        "operationId": "get-a-standard-voice",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the standard voice, from List standard voices or List voices.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "3f6c2a9e-8b1d-4c7a-9e2f-5a1b6c8d0e4f"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The voice.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogVoiceResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "`id` is not a UUID (`Validation failed (uuid is expected)`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No standard voice with this `id` (`standard voice <id> not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a standard voice",
        "tags": [
          "Voices"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.voice:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "One standard voice by its `id`.",
        "x-orbitdocs-order": 4,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/language": {
      "get": {
        "operationId": "list-languages",
        "parameters": [
          {
            "name": "capabilities",
            "required": false,
            "in": "query",
            "description": "Capabilities every returned language must support, comma-separated: `translation`, `transcription`, `speech`. Each returned language then has a `capabilities` object with the providers that support it. `translationProviders`, `transcriptionProviders`, `speechProviders`, `voiceTypes` and `tmId` each imply their capability. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "translation",
                  "transcription",
                  "speech"
                ]
              },
              "examples": [
                "translation,speech"
              ]
            }
          },
          {
            "name": "translationProviders",
            "required": false,
            "in": "query",
            "description": "Returns only languages that at least one of these translation providers supports, comma-separated: `vitratm`, `phrase`. Implies `capabilities=translation`. A provider name that does not exist matches no language. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                "vitratm"
              ]
            }
          },
          {
            "name": "transcriptionProviders",
            "required": false,
            "in": "query",
            "description": "Returns only languages that at least one of these transcription providers supports, comma-separated. The only provider today is `gemini`. Implies `capabilities=transcription`. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                "gemini"
              ]
            }
          },
          {
            "name": "speechProviders",
            "required": false,
            "in": "query",
            "description": "Returns only languages that at least one of these speech providers supports, comma-separated: `elevenlabs`, `cartesia`, `microsoft`, `google`. Implies `capabilities=speech`. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                "elevenlabs,cartesia"
              ]
            }
          },
          {
            "name": "voiceTypes",
            "required": false,
            "in": "query",
            "description": "Returns only languages with a speech provider for at least one of these voice types, comma-separated: `standard`, `native`, `cloned`. Voice types you leave out show as empty lists in `capabilities.speech.voiceTypes`. Implies `capabilities=speech`. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "standard",
                  "native",
                  "cloned"
                ]
              },
              "examples": [
                "standard,native"
              ]
            }
          },
          {
            "name": "tmId",
            "required": false,
            "in": "query",
            "description": "ID of a translation memory your organization owns or that is shared with it. Adds the memory's translation provider to `translationProviders`, so it implies `capabilities=translation`. For a VitraTM memory that uses the Azure (Microsoft Translator) or DeepL engine, the list is also limited to languages that engine can translate, and the memory's engine overrides `translationEngine`. Ignored with `group=source-target`.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "4b7e2d9a-1c5f-4a8e-9d3b-6f0c2e8a1b5d"
              ]
            }
          },
          {
            "name": "translationEngine",
            "required": false,
            "in": "query",
            "description": "Returns only languages this VitraTM machine-translation engine can translate — for choosing the languages of a memory that does not exist yet. `azure` (Microsoft Translator) and `deepl` translate a fixed list; `gemini` has none, so it filters nothing. A memory given in `tmId` uses its own engine instead. Ignored with `group=source-target`.",
            "schema": {
              "type": "string",
              "enum": [
                "gemini",
                "azure",
                "deepl"
              ],
              "examples": [
                "deepl"
              ]
            }
          },
          {
            "name": "orgProviderPrefs",
            "required": false,
            "in": "query",
            "description": "`apply` limits transcription and speech providers to the ones enabled in your organization's provider settings; `ignore` considers every provider. Translation providers are never limited. Only matters when a capability filter is set. Ignored with `group=source-target`, which always applies your settings.",
            "schema": {
              "default": "apply",
              "type": "string",
              "enum": [
                "apply",
                "ignore"
              ],
              "examples": [
                "apply"
              ]
            }
          },
          {
            "name": "preferredLanguages",
            "required": false,
            "in": "query",
            "description": "`apply` returns only your organization's preferred languages, when it has set any; `ignore` returns languages outside that list too. Applies to both response shapes.",
            "schema": {
              "default": "apply",
              "type": "string",
              "enum": [
                "apply",
                "ignore"
              ],
              "examples": [
                "apply"
              ]
            }
          },
          {
            "name": "group",
            "required": false,
            "in": "query",
            "description": "`flat` returns `data` as a list of languages. `source-target` returns `data` as `{ source, target }`: the languages Video Dubbing can transcribe from, and the languages it can translate and dub into with the voice types available for each. With `source-target`, only `preferredLanguages` applies; the other filters are ignored.",
            "schema": {
              "default": "flat",
              "type": "string",
              "enum": [
                "flat",
                "source-target"
              ],
              "examples": [
                "flat"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The languages: a list by default, or `{ source, target }` with `group=source-target`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageListResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`tmId` is not a translation memory your organization owns or has been shared (`No translation memory \"<tmId>\"`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List languages",
        "tags": [
          "Languages"
        ],
        "description": "Languages and their keys. Pass `group=source-target` to get the languages Video Dubbing supports as `source` and `target`. Use each language’s `code` (for example `en-US`) as `sourceLanguage` and in `targetLanguages` when you start a job. When your organization has set preferred languages, only those are returned unless you pass `preferredLanguages=ignore`.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/pronunciation-dictionary/org-rules": {
      "post": {
        "operationId": "create-a-pronunciation-rule",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrgRuleDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The rule was saved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PronunciationRuleResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation: `language`, `matchText` or `value` is missing or empty (`matchText should not be empty`), `strategy` is not `alias` or `phoneme`, `alphabet` is not a string, or `caseSensitive` is not a boolean.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "The request body is larger than 25 MB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 413,
                      "message": "Payload Too Large"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Create a pronunciation rule",
        "tags": [
          "Pronunciation dictionaries"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.pronunciation_dictionary:create`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Tell generated voices how to say a word everywhere in your organization, such as a brand or product name. Each call creates a new rule, even when your organization already has one for the same word and language; delete the old rule with Delete a pronunciation rule to replace it. Optional fields you leave out get their defaults.",
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/pronunciation-dictionary/rules": {
      "get": {
        "operationId": "list-pronunciation-rules",
        "parameters": [
          {
            "name": "scope",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "organization",
                "transcript_segment"
              ],
              "examples": [
                "organization"
              ]
            },
            "description": "Only rules of this kind. `organization` rules are the ones you save with Create a pronunciation rule; `transcript_segment` rules apply to one line of one job. Leave it out to get both."
          },
          {
            "name": "language",
            "required": false,
            "in": "query",
            "description": "Only rules for this BCP-47 code, matched exactly.",
            "schema": {
              "type": "string",
              "examples": [
                "en-US"
              ]
            }
          },
          {
            "name": "projectId",
            "required": false,
            "in": "query",
            "description": "Only rules for jobs in this project. Organization rules have no project, so this returns only `transcript_segment` rules.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "1d4b7e2a-6c3f-4a8e-9b5d-2f0c8e6a4b17"
              ]
            }
          },
          {
            "name": "processId",
            "required": false,
            "in": "query",
            "description": "A job ID. Only the `transcript_segment` rules set on that job.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "8e2f5a1c-3b7d-4c9e-a6f0-5d1b9c3e7a24"
              ]
            }
          },
          {
            "name": "transcriptId",
            "required": false,
            "in": "query",
            "description": "Only the `transcript_segment` rules set on this transcript line. It is the line's `id` in the job's transcript.",
            "schema": {
              "type": "string",
              "examples": [
                "4NeIl"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Your organization's rules matching the filters, oldest first. Not paginated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PronunciationRuleResponseDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "A filter has the wrong form (`scope` is not one of the listed values, or `projectId` / `processId` is not a UUID), or something failed on our side.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List pronunciation rules",
        "tags": [
          "Pronunciation dictionaries"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `translate_video.pronunciation_dictionary:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Your organization's pronunciation rules, oldest first, with optional filters. The list is not paginated.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys."
      }
    },
    "schemas": {
      "AddedLanguageDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the job that adds this language. Poll it with Get a job; when it succeeds, the language is part of the original job.",
            "examples": [
              "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
            ]
          },
          "targetLanguage": {
            "type": "string",
            "description": "The language this job adds.",
            "examples": [
              "es-ES"
            ]
          },
          "processType": {
            "type": "string",
            "description": "Type of the original job.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "operation": {
            "type": "string",
            "enum": [
              "ADD_LANGUAGE",
              "ADD_SUBTITLE_LANGUAGE",
              "DUB_VIDEO"
            ],
            "description": "`ADD_SUBTITLE_LANGUAGE` when you sent `subtitles: true`, `DUB_VIDEO` when you sent that `operation`, otherwise `ADD_LANGUAGE`.",
            "examples": [
              "ADD_LANGUAGE"
            ]
          }
        },
        "required": [
          "id",
          "targetLanguage",
          "processType",
          "operation"
        ]
      },
      "AddLanguageItemDto": {
        "type": "object",
        "properties": {
          "targetLanguage": {
            "type": "string",
            "description": "Language to add: a BCP-47 code from List languages. It must not be the source language or a language the job already has.",
            "examples": [
              "hi-IN"
            ]
          },
          "voice": {
            "description": "The voice for this language when `diarization` is not true: every speaker is dubbed with it. Falls back to `defaultVoice`.",
            "allOf": [
              {
                "$ref": "#/components/schemas/AddLanguageVoiceDto"
              }
            ],
            "examples": [
              {
                "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
              }
            ]
          },
          "voices": {
            "type": "object",
            "description": "Voices for this language when `diarization` is true, keyed by speaker ID (the IDs in `inputData.speakers` of Get detailed progress). Falls back to `defaultVoices`. An empty object counts as sent and does not fall back.",
            "additionalProperties": {
              "$ref": "#/components/schemas/AddLanguageVoiceDto"
            },
            "examples": [
              {
                "1": {
                  "voiceName": "Aria",
                  "voiceType": "standard"
                },
                "2": {
                  "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
                }
              }
            ]
          }
        },
        "required": [
          "targetLanguage"
        ]
      },
      "AddLanguagesDto": {
        "type": "object",
        "properties": {
          "languages": {
            "minItems": 1,
            "maxItems": 20,
            "description": "The languages to add, 1 to 20, no duplicates. Each runs as its own job, one after another, in this order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddLanguageItemDto"
            },
            "examples": [
              [
                {
                  "targetLanguage": "es-ES",
                  "voice": {
                    "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
                  }
                },
                {
                  "targetLanguage": "fr-FR",
                  "voice": {
                    "voiceName": "Aria"
                  }
                }
              ]
            ]
          },
          "subtitles": {
            "type": "boolean",
            "default": false,
            "description": "Set to `true` to add the languages as translated subtitles only, with no dubbed speech; no voices are needed. Required for VIDEO_TO_SUBTITLE and SUBTITLE_TO_TRANSCRIPT_TRANSLATION jobs: without it, each language needs a voice.",
            "examples": [
              false
            ]
          },
          "diarization": {
            "type": "boolean",
            "default": false,
            "description": "Dubbing only. `true`: give each speaker their own voice with `voices` (or `defaultVoices`), which must not be empty. Otherwise one `voice` (or `defaultVoice`) with a `voiceId` or `voiceName` dubs every speaker.",
            "examples": [
              false
            ]
          },
          "defaultVoices": {
            "type": "object",
            "description": "Voices by speaker ID for every language that has no `voices` of its own. Used when `diarization` is true.",
            "additionalProperties": {
              "$ref": "#/components/schemas/AddLanguageVoiceDto"
            },
            "examples": [
              {
                "1": {
                  "voiceName": "Aria",
                  "voiceType": "standard"
                },
                "2": {
                  "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
                }
              }
            ]
          },
          "defaultVoice": {
            "description": "One voice for every language that has no `voice` of its own. Used when `diarization` is not true.",
            "allOf": [
              {
                "$ref": "#/components/schemas/AddLanguageVoiceDto"
              }
            ],
            "examples": [
              {
                "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
              }
            ]
          },
          "operation": {
            "type": "string",
            "enum": [
              "DUB_VIDEO"
            ],
            "description": "Optional label. `DUB_VIDEO` marks the languages as dubs in `operation` of the response; it does not change what runs or what it costs.",
            "examples": [
              "DUB_VIDEO"
            ]
          }
        },
        "required": [
          "languages"
        ]
      },
      "AddLanguagesResponseDto": {
        "type": "object",
        "properties": {
          "accepted": {
            "description": "One entry per language, in the order you sent them.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddedLanguageDto"
            }
          },
          "rejected": {
            "description": "Always empty: if any language is invalid, the whole request fails with 400 and nothing is added.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RejectedLanguageDto"
            },
            "examples": [
              []
            ]
          },
          "targetLanguages": {
            "description": "The original job's target languages after this request, including the new ones.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "es-ES",
                "fr-FR"
              ]
            ]
          }
        },
        "required": [
          "accepted",
          "rejected",
          "targetLanguages"
        ]
      },
      "AddLanguageVoiceDto": {
        "type": "object",
        "properties": {
          "voiceId": {
            "type": "string",
            "description": "ID of the voice: a voice from List cloned voices, or a catalog voice from List standard voices or List native voices that supports the new language.",
            "examples": [
              "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
            ]
          },
          "voiceName": {
            "type": "string",
            "description": "Name of a catalog voice, used when `voiceId` is not sent. With `voiceType: instant-clone` and no `voiceId`, the name of a new voice cloned from the speaker.",
            "examples": [
              "Aria"
            ]
          },
          "voiceType": {
            "type": "string",
            "enum": [
              "instant-clone",
              "standard",
              "native"
            ],
            "description": "`instant-clone` to clone the speaker's own voice, or `standard` / `native` for a catalog voice from that list. Leave it out for a cloned voice ID or a standard voice.",
            "examples": [
              "standard"
            ]
          },
          "gender": {
            "type": "string",
            "description": "Gender of the voice, such as `male` or `female`.",
            "examples": [
              "female"
            ]
          },
          "provider": {
            "type": "number",
            "description": "Accepted but ignored.",
            "examples": [
              4
            ]
          }
        }
      },
      "AutoExportItemDto": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "description": "Target language this video is dubbed in.",
            "examples": [
              "hi-IN"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SCHEDULED",
              "RUNNING",
              "PAUSED",
              "COMPLETED",
              "COMPLETED_WITH_ERRORS",
              "FAILED",
              "TIMED_OUT",
              "TERMINATED",
              "unknown"
            ],
            "description": "Status of this export: `SCHEDULED`, `RUNNING`, `PAUSED` (waiting at the voice review), `COMPLETED`, `FAILED`, `TIMED_OUT` or `TERMINATED` (cancelled). The last four are final. `unknown` if the export job can no longer be found.",
            "examples": [
              "COMPLETED"
            ]
          },
          "videoUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Download link for the video, saved as `<language>.mp4`. Valid for 1 hour; call again for a fresh one. Null until the export has completed.",
            "examples": [
              "{{STORAGE_BASE_URL}}/exports/hindi_india.mp4?X-Amz-Expires=3600&X-Amz-Signature=…"
            ]
          },
          "durationSeconds": {
            "type": [
              "number",
              "null"
            ],
            "description": "Length of the exported video in seconds. Null until the export has completed.",
            "examples": [
              92.4
            ]
          }
        },
        "required": [
          "language",
          "status",
          "videoUrl",
          "durationSeconds"
        ]
      },
      "AutoExportsResponseDto": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the dubbing job.",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SCHEDULED",
              "RUNNING",
              "PAUSED",
              "COMPLETED",
              "COMPLETED_WITH_ERRORS",
              "FAILED",
              "TIMED_OUT",
              "TERMINATED"
            ],
            "description": "Status of the dubbing job itself: `SCHEDULED`, `RUNNING`, `PAUSED` (waiting at the voice review), `COMPLETED`, `FAILED`, `TIMED_OUT` or `TERMINATED` (cancelled). The last four are final.",
            "examples": [
              "COMPLETED"
            ]
          },
          "isFinished": {
            "type": "boolean",
            "description": "True when nothing more will change: every export has finished, or the job finished without auto-exports. Stop polling then.",
            "examples": [
              true
            ]
          },
          "exports": {
            "description": "One entry per target language. Empty while the job is running, and for jobs started without `autoExport`.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutoExportItemDto"
            }
          }
        },
        "required": [
          "jobId",
          "status",
          "isFinished",
          "exports"
        ]
      },
      "CatalogVoiceResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Voice ID. Use it to fetch the voice and to pick it for a speaker when you start a job.",
            "examples": [
              "3f6c2a9e-8b1d-4c7a-9e2f-5a1b6c8d0e4f"
            ]
          },
          "name": {
            "type": "string",
            "description": "Display name of the voice.",
            "examples": [
              "tessa"
            ]
          },
          "voiceType": {
            "type": "string",
            "description": "Catalog the voice belongs to: `standard` for List standard voices, `native` for List native voices.",
            "examples": [
              "standard"
            ]
          },
          "provider": {
            "type": "string",
            "enum": [
              "microsoft",
              "google",
              "elevenlabs",
              "cartesia"
            ],
            "description": "Text-to-speech provider that speaks with this voice.",
            "examples": [
              "cartesia"
            ]
          },
          "providerVoiceId": {
            "type": "string",
            "description": "The voice's ID at its provider.",
            "examples": [
              "6ccbfb76-1fc6-48f7-b71d-91ac6298247b"
            ]
          },
          "gender": {
            "type": [
              "string",
              "null"
            ],
            "description": "Gender of the voice, such as `male`, `female` or `neutral`. Null when not known.",
            "examples": [
              "female"
            ]
          },
          "previewUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link to a short audio sample of the voice. Null when none.",
            "examples": [
              "https://storage.googleapis.com/eleven-public-prod/premade/voices/pNInz6obpgDQGcFmaJgB/d6905d7a-dd26-4187-bfff-1bd3a5ea7cac.mp3"
            ]
          },
          "supportedLanguages": {
            "description": "BCP-47 codes of the languages the voice speaks, as returned by List languages (`code`).",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "en-US"
              ]
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether the voice is active.",
            "examples": [
              true
            ]
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Provider details. `languageCode` maps each BCP-47 language code to the provider's own code; `traits` can hold `accent` (matching an accent `id` from List accents), `age`, `description`, `characteristic` and `useCase`. The shape varies by provider.",
            "examples": [
              {
                "catalogLabel": "tessa - kind companion",
                "languageCode": {
                  "en-US": "en"
                },
                "traits": {
                  "description": "Friendly female voice with a warm, conversational tone",
                  "characteristic": "kind companion",
                  "accent": "american"
                },
                "providerDetails": {
                  "mode": "similarity"
                }
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the voice was added to the catalog.",
            "examples": [
              "2026-07-14T09:21:03.000Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the voice was last changed.",
            "examples": [
              "2026-09-02T11:48:27.000Z"
            ]
          },
          "deletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Always null in responses: deleted voices are not returned.",
            "examples": [
              null
            ]
          }
        },
        "required": [
          "id",
          "name",
          "voiceType",
          "provider",
          "providerVoiceId",
          "gender",
          "previewUrl",
          "supportedLanguages",
          "isActive",
          "metadata",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ]
      },
      "ClonedVoiceResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Voice ID. Use it to fetch, update or delete the voice and to pick it for a speaker when you start a job.",
            "examples": [
              "7d4b1e9c-2a6f-4c8d-b3e1-0f5a9c7d2b6e"
            ]
          },
          "source": {
            "type": "string",
            "enum": [
              "translate-video",
              "playground"
            ],
            "description": "Product the voice was cloned in: `translate-video` (Video Dubbing) or `playground`.",
            "examples": [
              "translate-video"
            ]
          },
          "fk_orgId": {
            "type": "string",
            "format": "uuid",
            "description": "Organization that cloned the voice. It can differ from yours when the voice is shared within your organization family (your parent organization or sub-organizations on the same provider account).",
            "examples": [
              "1c8e5a3f-9d2b-4f7e-a6c4-3b0d8e1f5a2c"
            ]
          },
          "fk_ownerId": {
            "type": "string",
            "format": "uuid",
            "description": "Member who cloned the voice.",
            "examples": [
              "5e2a7c1d-4b9f-4e3a-8d6c-2f1b0a9e7c4d"
            ]
          },
          "name": {
            "type": "string",
            "description": "Display name of the voice.",
            "examples": [
              "Narrator (Priya)"
            ]
          },
          "provider": {
            "type": "string",
            "enum": [
              "microsoft",
              "google",
              "elevenlabs",
              "cartesia"
            ],
            "description": "Provider that hosts the clone.",
            "examples": [
              "elevenlabs"
            ]
          },
          "providerVoiceId": {
            "type": [
              "string",
              "null"
            ],
            "description": "The voice's ID at its provider. Null while a clone made in the Playground is processing.",
            "examples": [
              "Xb7hH8MSUJpSbSDYk0k2"
            ]
          },
          "gender": {
            "type": [
              "string",
              "null"
            ],
            "description": "Gender of the voice, when set.",
            "examples": [
              "female"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "RUNNING",
              "COMPLETED",
              "FAILED",
              "TERMINATED"
            ],
            "description": "Clone status: `processing` while the provider builds it, `ready` when it can speak, `failed` when cloning did not succeed. Only `ready` voices can be used in a job.",
            "examples": [
              "COMPLETED"
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether the voice is active. List voices returns only active voices by default.",
            "examples": [
              true
            ]
          },
          "previewUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link to a short audio sample of the voice, or null. In list responses, a voice with no stored link can get a short-lived link to its preview clip or recording instead.",
            "examples": [
              "{{STORAGE_BASE_URL}}/9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/voice-preview.mp3"
            ]
          },
          "supportedLanguages": {
            "description": "BCP-47 codes of the languages the voice speaks. Null or empty means any language.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "en-US"
              ]
            ]
          },
          "trainingAudios": {
            "description": "The recordings the voice was cloned from. Used to re-create the voice at its provider if it is removed there. Null when not recorded.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/ClonedVoiceTrainingAudioResponseDto"
            }
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Free-form details stored with the voice. After the voice is re-created at its provider, `previousVoiceIds` lists its earlier provider voice IDs.",
            "examples": [
              {
                "previousVoiceIds": [
                  "21m00Tcm4TlvDq8ikWAM"
                ]
              }
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of the voice. Set for voices cloned in the Playground; null otherwise.",
            "examples": [
              "Warm, calm narration voice"
            ]
          },
          "language": {
            "type": [
              "string",
              "null"
            ],
            "description": "Language of the recording, as given when the voice was cloned in the Playground. Null for voices cloned in Video Dubbing.",
            "examples": [
              null
            ]
          },
          "sampleKeys": {
            "description": "Storage keys of the recordings, for voices cloned in the Playground. Null otherwise.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "examples": [
              null
            ]
          },
          "previewKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "Storage key of a preview clip, for some voices cloned in the Playground. Usually null.",
            "examples": [
              null
            ]
          },
          "durationMs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Length of the recording in milliseconds, for some voices cloned in the Playground. Usually null.",
            "examples": [
              null
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why cloning failed, when `status` is `failed`.",
            "examples": [
              null
            ]
          },
          "lastUsedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When a job last spoke with the voice. Null if it has not been used.",
            "examples": [
              "2026-09-28T16:05:12.000Z"
            ]
          },
          "moderation": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Result of the content check on the voice's name and description. Null when no check ran.",
            "examples": [
              {
                "scope": "voice",
                "engine": "openai:omni-moderation-latest",
                "verdict": "allowed",
                "categories": [],
                "blockedBy": []
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the voice was cloned.",
            "examples": [
              "2026-09-21T08:30:44.000Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the voice was last changed.",
            "examples": [
              "2026-09-28T16:05:12.000Z"
            ]
          },
          "deletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Always null in responses: deleted voices are not returned.",
            "examples": [
              null
            ]
          }
        },
        "required": [
          "id",
          "source",
          "fk_orgId",
          "fk_ownerId",
          "name",
          "provider",
          "providerVoiceId",
          "gender",
          "status",
          "isActive",
          "previewUrl",
          "supportedLanguages",
          "trainingAudios",
          "metadata",
          "description",
          "language",
          "sampleKeys",
          "previewKey",
          "durationMs",
          "error",
          "lastUsedAt",
          "moderation",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ]
      },
      "ClonedVoiceTrainingAudioResponseDto": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string",
            "description": "ID of the upload the recording came from, when known.",
            "examples": [
              "9b2e4f1a-6c3d-4e8b-a7f5-1d0c2b3a4e5f"
            ]
          },
          "url": {
            "type": "string",
            "description": "Link to the recording.",
            "examples": [
              "{{STORAGE_BASE_URL}}/9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/speaker-1.wav"
            ]
          },
          "durationMs": {
            "type": "number",
            "description": "Length of the recording in milliseconds.",
            "examples": [
              42500
            ]
          },
          "originalName": {
            "type": "string",
            "description": "File name of the recording, when known.",
            "examples": [
              "speaker-1.wav"
            ]
          }
        }
      },
      "CompleteMultipartUploadItemDto": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string",
            "description": "The `uploadId` from Start a multipart upload, unchanged.",
            "examples": [
              "eyJrIjoiOWIxZjZjMmUtM2Q0YS00ZThiLWE1YzctMWYyZTNkNGM1YjZhLzBkN2MzZThhLTZmMjEtNGI5ZS04YTNkLTVjMWYyZTRiN2E5MC5tcDQiLCJ1IjoiMn5IcTNmVDhzS3BYdzFMbVpiTjdjUnZZMGRFYSIsIm4iOiJwcm9kdWN0LWxhdW5jaC5tcDQiLCJzIjo1MjQyODgwMDAsIm0iOiJ2aWRlby9tcDQifQ"
            ]
          },
          "parts": {
            "description": "Every part you uploaded, each with its number and `ETag`, in ascending `partNumber` order. Each part except the last must be exactly `partSizeBytes` long.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultipartUploadedPartDto"
            }
          },
          "checksum": {
            "type": "string",
            "description": "SHA-256 of the whole file as 64 hex characters (any case). Compute it while you read the file into parts. It is stored as the upload's `sha256` (in lower case), so List uploads can find the file again by `checksum`. The server does not check it against the uploaded bytes.",
            "examples": [
              "437daae8e613363b2ccda01714582824c21f416b368cfbcc9c85f55fd773e4d1"
            ]
          }
        },
        "required": [
          "uploadId",
          "parts",
          "checksum"
        ]
      },
      "CompleteMultipartUploadResponseDto": {
        "type": "object",
        "properties": {
          "uploads": {
            "description": "One stored upload per entry in `uploads`, in the same order. Pass each `id` and `fileKey` when you start a job.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedFileResponseDto"
            }
          }
        },
        "required": [
          "uploads"
        ]
      },
      "CreateOrgRuleDto": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "description": "BCP-47 code of the speech the rule applies to, such as `ta-IN` or `en-US`, from List languages. It is not checked against that list, so make sure it is spelled exactly.",
            "examples": [
              "en-US"
            ]
          },
          "matchText": {
            "type": "string",
            "description": "Word or phrase whose pronunciation you are setting, such as a brand or product name. It is matched as a whole word or phrase. Leading and trailing spaces are removed.",
            "examples": [
              "SQL"
            ]
          },
          "strategy": {
            "type": "string",
            "description": "How `value` is used. `alias` says another spelling instead of the word, for example `sequel` for `SQL`. `phoneme` gives the exact sounds as a phonetic transcription in `alphabet`.",
            "enum": [
              "alias",
              "phoneme"
            ],
            "examples": [
              "alias"
            ]
          },
          "value": {
            "type": "string",
            "description": "What to say. For `alias`, the spelling to say instead, such as `sequel`. For `phoneme`, the transcription in `alphabet`, such as `ˈsiːkwəl` in IPA. Leading and trailing spaces are removed.",
            "examples": [
              "sequel"
            ]
          },
          "alphabet": {
            "type": "string",
            "description": "Phonetic alphabet `value` is written in, for `phoneme` rules. When you leave it out, it is stored as null and `ipa` (International Phonetic Alphabet) is used. Ignored for `alias` rules.",
            "examples": [
              "ipa"
            ]
          },
          "caseSensitive": {
            "type": "boolean",
            "description": "When true, only text in the same letter case as `matchText` is changed: a rule for `SQL` leaves `sql` alone. Set it to false to match any letter case.",
            "default": true,
            "examples": [
              true
            ]
          }
        },
        "required": [
          "language",
          "matchText",
          "strategy",
          "value"
        ]
      },
      "CropFocusDto": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "description": "Horizontal position to keep: `0` is the left edge, `0.5` the centre, `1` the right edge.",
            "minimum": 0,
            "maximum": 1,
            "examples": [
              0.5
            ]
          },
          "y": {
            "type": "number",
            "description": "Vertical position to keep: `0` is the top, `0.5` the centre, `1` the bottom.",
            "minimum": 0,
            "maximum": 1,
            "examples": [
              0.5
            ]
          }
        },
        "required": [
          "x",
          "y"
        ]
      },
      "ElevenLabsVoiceSettingsDto": {
        "type": "object",
        "properties": {
          "voiceConsistency": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Stability of the voice, 0 to 1. Higher is more even; lower is more expressive.",
            "examples": [
              0.6
            ]
          },
          "voiceMatch": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "How closely the speech sticks to the sound of the chosen voice, 0 to 1.",
            "examples": [
              0.6
            ]
          },
          "styleEmphasis": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "How strongly the style of the voice is exaggerated, 0 to 1.",
            "examples": [
              0.6
            ]
          },
          "enhancedVoiceMatch": {
            "type": "boolean",
            "description": "Boost the similarity to the original voice, at a small cost in speed.",
            "examples": [
              true
            ]
          },
          "speed": {
            "type": "number",
            "minimum": 0.7,
            "maximum": 1.2,
            "description": "Speaking speed, 0.7 to 1.2 (1 is normal). Some voice models ignore it.",
            "examples": [
              1
            ]
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "description": "Error body returned for every 4xx and 5xx response.",
        "required": [
          "statusCode",
          "message"
        ],
        "properties": {
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code, repeated in the body.",
            "examples": [
              404
            ]
          },
          "message": {
            "description": "What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.",
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ],
            "examples": [
              "Booking not found"
            ]
          },
          "error": {
            "type": "string",
            "description": "Short name of the status.",
            "examples": [
              "Not Found"
            ]
          }
        }
      },
      "ExportLipSyncInfoResponseDto": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string",
            "enum": [
              "sync-3",
              "lipsync-2-pro",
              "lipsync-2",
              "latentsync"
            ],
            "description": "The default model: the one used when you export with `lipSync: true` and no `lipSyncModel`.",
            "examples": [
              "lipsync-2"
            ]
          },
          "label": {
            "type": "string",
            "description": "Name of the default model.",
            "examples": [
              "lipsync-2 · Sync Labs · HD"
            ]
          },
          "available": {
            "type": "boolean",
            "description": "Whether your organization has an API key for the default model's provider.",
            "examples": [
              true
            ]
          },
          "creditsPerMinute": {
            "type": "number",
            "description": "Credits per minute of lip-synced video for the default model.",
            "examples": [
              750
            ]
          },
          "options": {
            "description": "Every model of the lip-sync providers your organization has turned on (Settings → Provider Preference), default included.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LipSyncModelOptionDto"
            }
          }
        },
        "required": [
          "model",
          "label",
          "available",
          "creditsPerMinute",
          "options"
        ]
      },
      "ExportVideoDto": {
        "type": "object",
        "properties": {
          "processId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the finished job to export (`jobId` from Start a job).",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "resolution": {
            "type": "string",
            "enum": [
              "4K",
              "2K",
              "1080",
              "720",
              "480",
              "360"
            ],
            "description": "Output size, by the short side of the frame: `1080` gives 1920x1080 for a 16:9 video, 1080x1920 for 9:16 and 1080x1080 for 1:1. Not used when `audioOnly` is true.",
            "examples": [
              "1080"
            ]
          },
          "videoLanguage": {
            "type": "string",
            "description": "Language of the video's audio: one of the job's target languages for the dubbed audio, or its source language for the original audio. A BCP-47 code from List languages.",
            "examples": [
              "hi-IN"
            ]
          },
          "artboard": {
            "type": "string",
            "enum": [
              "ORIGINAL",
              "1:1",
              "16:9",
              "9:16",
              "4:5",
              "21:9"
            ],
            "description": "Shape of the exported frame. Leave it out to keep the shape set in the editor; `ORIGINAL` keeps the source video's own shape.",
            "examples": [
              "16:9"
            ]
          },
          "fitMode": {
            "type": "string",
            "enum": [
              "contain",
              "cover"
            ],
            "default": "contain",
            "description": "How the frame fits the artboard: `contain` keeps the whole frame and adds bars, `cover` fills the artboard and crops what overflows.",
            "examples": [
              "contain"
            ]
          },
          "cropFocus": {
            "description": "With `fitMode: cover`, the part of the frame to keep. Ignored otherwise. Default: the centre.",
            "allOf": [
              {
                "$ref": "#/components/schemas/CropFocusDto"
              }
            ],
            "examples": [
              {
                "x": 0.5,
                "y": 0.5
              }
            ]
          },
          "lipSync": {
            "type": "boolean",
            "default": false,
            "description": "Lip-sync the lines marked for lip-sync in the editor to the dubbed audio. This is charged (see Credits). If no lines are marked, no lip-sync API key is set, lip-sync is switched off, or the export is audio-only, the export goes ahead without lip-sync, is not charged for it, and `warning` says why.",
            "examples": [
              false
            ]
          },
          "lipSyncModel": {
            "type": "string",
            "enum": [
              "sync-3",
              "lipsync-2-pro",
              "lipsync-2",
              "latentsync"
            ],
            "description": "Lip-sync model, used only with `lipSync: true`. It must belong to a lip-sync provider your organization has turned on and has an API key for (Settings → Voice & Lipsync), or the request fails with 400. Leave it out to use your organization's default model.",
            "examples": [
              "lipsync-2"
            ]
          },
          "subtitleOnly": {
            "type": "boolean",
            "default": false,
            "description": "Burn in the captions of `subtitleLanguage` on their own timing, and name the file after that language. This flag does not remove the dub: for the original audio with burned-in subtitles, also set `videoLanguage` to the source language and `embedSubtitle` to true.",
            "examples": [
              false
            ]
          },
          "audioOnly": {
            "type": "boolean",
            "default": false,
            "description": "Export only the audio of `videoLanguage`, as a .wav file, with no video. The export job then has `result.audio` and no `result.video`.",
            "examples": [
              false
            ]
          },
          "embedSubtitle": {
            "type": "boolean",
            "default": false,
            "description": "Burn subtitles into the video picture. The subtitles are drawn on the frames; no separate subtitle track is added. To get subtitle files, use Get subtitles.",
            "examples": [
              false
            ]
          },
          "subtitleLanguage": {
            "type": "string",
            "description": "Language of the burned-in subtitles, if it differs from `videoLanguage` (for example, English subtitles over Hindi audio). Defaults to `videoLanguage`. A BCP-47 code the job has.",
            "examples": [
              "en-US"
            ]
          },
          "ignoreTranscriptErrors": {
            "type": "boolean",
            "default": false,
            "description": "Export even if some lines of `videoLanguage` have errors, such as missing audio or invalid timing. Those lines are left silent instead of the request failing with 400.",
            "examples": [
              false
            ]
          }
        },
        "required": [
          "processId",
          "resolution",
          "videoLanguage"
        ]
      },
      "ExportVideoJobDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the export job. Poll it with Get a job. Once it has succeeded, its `result.video` (or `result.audio` for an audio-only export) is the file to pass as `s3Url` to Get a download URL.",
            "examples": [
              "3c7e2a91-5b4d-4f60-a8e2-0d9b1c6f7e34"
            ]
          },
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_EXPORT"
            ],
            "description": "Type of the export job. Always `VIDEO_EXPORT`.",
            "examples": [
              "VIDEO_EXPORT"
            ]
          },
          "warning": {
            "type": "string",
            "description": "Set only when you asked for lip-sync and it will not run: lip-sync is switched off, no lip-sync API key is set, no lines are marked for lip-sync, or the export is audio-only. The export goes ahead without lip-sync and lip-sync is not charged.",
            "examples": [
              "Lip-sync was skipped: no lines are marked for lip-sync."
            ]
          }
        },
        "required": [
          "id",
          "processType"
        ]
      },
      "ExportVideoResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The export job that was started.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ExportVideoJobDto"
              }
            ]
          }
        },
        "required": [
          "data"
        ]
      },
      "HumanValidationResponseDto": {
        "type": "object",
        "properties": {
          "processId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the job that continues.",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "processType": {
            "type": "string",
            "description": "Type of the job.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "downgraded": {
            "type": "boolean",
            "description": "Always `false`. Kept for compatibility: the job continues with the voices you sent, whether they are cloned or catalog voices.",
            "examples": [
              false
            ]
          }
        },
        "required": [
          "processId",
          "processType",
          "downgraded"
        ]
      },
      "InitMultipartUploadDto": {
        "type": "object",
        "properties": {
          "files": {
            "description": "The files to upload, one entry per file. Each file gets its own `uploadId` and part URLs.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InitMultipartUploadFileDto"
            }
          }
        },
        "required": [
          "files"
        ]
      },
      "InitMultipartUploadFileDto": {
        "type": "object",
        "properties": {
          "originalname": {
            "type": "string",
            "maxLength": 512,
            "description": "File name, including its extension (note the lowercase `n` in `originalname`). It becomes the upload's `originalName`, and its extension is kept in the storage key. Up to 512 characters.",
            "examples": [
              "product-launch.mp4"
            ]
          },
          "filename": {
            "type": "string",
            "maxLength": 512,
            "description": "Name to use only when `originalname` is blank (only spaces). You can leave it out.",
            "examples": [
              "product-launch.mp4"
            ]
          },
          "mimetype": {
            "type": "string",
            "maxLength": 128,
            "description": "MIME type of the file. Together with the extension, it decides the upload's `mediaType`, so send the real type (for example `video/mp4` or `audio/mpeg`). Up to 128 characters.",
            "examples": [
              "video/mp4"
            ]
          },
          "sizeBytes": {
            "type": "number",
            "minimum": 1,
            "description": "Exact size of the whole file in bytes. It sets how many parts you get: `sizeBytes` divided by the part size of 10,485,760 bytes (10 MiB), rounded up. The largest file you can upload this way is 104,857,600,000 bytes (10,000 parts).",
            "examples": [
              524288000
            ]
          },
          "partCount": {
            "type": "number",
            "description": "Number of part URLs to return for this file. Leave it out to get exactly the number the file needs. If you set it, it must be at least `sizeBytes` divided by 10,485,760, rounded up, and at most 10,000. The part size stays 10,485,760 bytes either way, so extra URLs simply go unused.",
            "minimum": 1,
            "maximum": 10000,
            "examples": [
              50
            ]
          }
        },
        "required": [
          "originalname",
          "mimetype",
          "sizeBytes"
        ]
      },
      "InitMultipartUploadItemResponseDto": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string",
            "description": "Opaque token for this multipart session (not a UUID). Pass it unchanged to complete or abort the upload.",
            "examples": [
              "eyJrIjoiOWIxZjZjMmUtM2Q0YS00ZThiLWE1YzctMWYyZTNkNGM1YjZhLzBkN2MzZThhLTZmMjEtNGI5ZS04YTNkLTVjMWYyZTRiN2E5MC5tcDQiLCJ1IjoiMn5IcTNmVDhzS3BYdzFMbVpiTjdjUnZZMGRFYSIsIm4iOiJwcm9kdWN0LWxhdW5jaC5tcDQiLCJzIjo1MjQyODgwMDAsIm0iOiJ2aWRlby9tcDQifQ"
            ]
          },
          "originalName": {
            "type": "string",
            "description": "The file name you sent in `originalname` (or `filename` when `originalname` was blank).",
            "examples": [
              "product-launch.mp4"
            ]
          },
          "fileKey": {
            "type": "string",
            "description": "Storage key the file will have. The completed upload reports the same `fileKey`.",
            "examples": [
              "9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4"
            ]
          },
          "partSizeBytes": {
            "type": "number",
            "description": "Split the file into parts of exactly this many bytes (the last part may be smaller). Always 10,485,760 (10 MiB).",
            "examples": [
              10485760
            ]
          },
          "parts": {
            "description": "One presigned URL per part, in `partNumber` order. Upload every part before you complete the upload; parts can go in parallel.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultipartPresignedPartDto"
            }
          }
        },
        "required": [
          "uploadId",
          "originalName",
          "fileKey",
          "partSizeBytes",
          "parts"
        ]
      },
      "InitMultipartUploadResponseDto": {
        "type": "object",
        "properties": {
          "uploads": {
            "description": "One multipart session per file, in the order you sent them.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InitMultipartUploadItemResponseDto"
            }
          }
        },
        "required": [
          "uploads"
        ]
      },
      "InsufficientCreditsErrorDto": {
        "type": "object",
        "properties": {
          "statusCode": {
            "type": "number",
            "description": "HTTP status code.",
            "examples": [
              402
            ]
          },
          "error": {
            "type": "string",
            "description": "Always `InsufficientCredits`.",
            "examples": [
              "InsufficientCredits"
            ]
          },
          "message": {
            "type": "string",
            "description": "What happened, in plain words.",
            "examples": [
              "You don't have enough credits to start this. It needs 120; you have 45."
            ]
          },
          "required": {
            "type": "number",
            "description": "Credits this request needs.",
            "examples": [
              120
            ]
          },
          "available": {
            "type": "number",
            "description": "Credits your organization can spend now.",
            "examples": [
              45
            ]
          },
          "owed": {
            "type": "number",
            "description": "Credits your organization owes from earlier jobs (0 when nothing is owed). While anything is owed, every paid request is refused until it is repaid.",
            "examples": [
              0
            ]
          }
        },
        "required": [
          "statusCode",
          "error",
          "message",
          "required",
          "available",
          "owed"
        ]
      },
      "LanguageCapabilitiesDto": {
        "type": "object",
        "properties": {
          "translation": {
            "description": "Present when you filter by translation.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ProvidersDto"
              }
            ]
          },
          "transcription": {
            "description": "Present when you filter by transcription.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ProvidersDto"
              }
            ]
          },
          "speech": {
            "description": "Present when you filter by speech.",
            "allOf": [
              {
                "$ref": "#/components/schemas/SpeechCapabilityDto"
              }
            ]
          }
        }
      },
      "LanguageCatalogItemDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Language key. Use it as `sourceLanguage` and in `targetLanguages` when you start a Video Dubbing job.",
            "examples": [
              "english_united_states"
            ]
          },
          "code": {
            "type": "string",
            "description": "BCP-47 code of the language. Video Dubbing endpoints take `name`, not this code.",
            "examples": [
              "en-US"
            ]
          },
          "label": {
            "type": "string",
            "description": "Language name in English, for display.",
            "examples": [
              "English (United States)"
            ]
          },
          "direction": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "ltr",
              "rtl"
            ],
            "description": "Writing direction: `ltr` (left to right) or `rtl` (right to left). Null when not known.",
            "examples": [
              "ltr"
            ]
          },
          "flag": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lowercase ISO 3166 country code, for showing a flag. Null when none.",
            "examples": [
              "us"
            ]
          },
          "nativeName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Language name in the language itself, for display. Null when not known.",
            "examples": [
              "English"
            ]
          },
          "capabilities": {
            "description": "Present only when you filter by a capability: the providers that support the language for it.",
            "allOf": [
              {
                "$ref": "#/components/schemas/LanguageCapabilitiesDto"
              }
            ]
          }
        },
        "required": [
          "name",
          "code",
          "label",
          "direction",
          "flag",
          "nativeName"
        ]
      },
      "LanguageListItemDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Language key. Use it as `sourceLanguage` and in `targetLanguages` when you start a Video Dubbing job.",
            "examples": [
              "english_united_states"
            ]
          },
          "code": {
            "type": "string",
            "description": "BCP-47 code of the language. Video Dubbing endpoints take `name`, not this code.",
            "examples": [
              "en-US"
            ]
          },
          "label": {
            "type": "string",
            "description": "Language name in English, for display.",
            "examples": [
              "English (United States)"
            ]
          }
        },
        "required": [
          "name",
          "code",
          "label"
        ]
      },
      "LanguageListResponseDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Always `true` on success.",
            "examples": [
              true
            ]
          },
          "data": {
            "oneOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LanguageCatalogItemDto"
                }
              },
              {
                "$ref": "#/components/schemas/SourceTargetLanguagesDto"
              }
            ],
            "description": "A list of active languages by default; `{ source, target }` with `group=source-target`. Languages are grouped A to Z by base language: the base language first, then its main locale (for example `en-US` for English), then other variants A to Z."
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "LipSyncModelOptionDto": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string",
            "enum": [
              "sync-3",
              "lipsync-2-pro",
              "lipsync-2",
              "latentsync"
            ],
            "description": "The model. Send it as `lipSyncModel` to Export a video.",
            "examples": [
              "lipsync-2"
            ]
          },
          "label": {
            "type": "string",
            "description": "Name of the model, with its provider and quality.",
            "examples": [
              "lipsync-2 · Sync Labs · HD"
            ]
          },
          "available": {
            "type": "boolean",
            "description": "Whether your organization has an API key for the model's provider (Settings → Voice & Lipsync). An export with a model that is not available fails with 400.",
            "examples": [
              true
            ]
          },
          "creditsPerMinute": {
            "type": "number",
            "description": "Credits per minute of lip-synced video, with your rates applied.",
            "examples": [
              750
            ]
          }
        },
        "required": [
          "model",
          "label",
          "available",
          "creditsPerMinute"
        ]
      },
      "MultipartPresignedPartDto": {
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "number",
            "minimum": 1,
            "description": "Position of the part in the file, starting at 1. Part 1 is bytes 0 to 10,485,759, part 2 the next 10,485,760 bytes, and so on.",
            "examples": [
              1
            ]
          },
          "uploadUrl": {
            "type": "string",
            "description": "Presigned URL to `PUT` this part to, without your API key or any other auth header. Valid for 6 hours. Keep the `ETag` header of the response: you send it when you complete the upload.",
            "examples": [
              "{{PRESIGNED_URL}}"
            ]
          }
        },
        "required": [
          "partNumber",
          "uploadUrl"
        ]
      },
      "MultipartUploadedPartDto": {
        "type": "object",
        "properties": {
          "partNumber": {
            "type": "number",
            "minimum": 1,
            "description": "The part's `partNumber` from Start a multipart upload.",
            "examples": [
              1
            ]
          },
          "etag": {
            "type": "string",
            "description": "The `ETag` header from the response to this part's `PUT`. Send it as received; surrounding double quotes are optional and are removed.",
            "examples": [
              "ffc88b4ca90a355f8ddba6b2c3b2af5c"
            ]
          }
        },
        "required": [
          "partNumber",
          "etag"
        ]
      },
      "PaginatedCatalogVoiceResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The voices on this page.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogVoiceResponseDto"
            }
          },
          "meta": {
            "description": "Paging details.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceListMetaDto"
              }
            ]
          }
        },
        "required": [
          "data",
          "meta"
        ]
      },
      "PaginatedClonedVoiceResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The cloned voices on this page.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClonedVoiceResponseDto"
            }
          },
          "meta": {
            "description": "Paging details.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceListMetaDto"
              }
            ]
          }
        },
        "required": [
          "data",
          "meta"
        ]
      },
      "PaginatedProcessListResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The jobs on this page.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProcessListItemResponseDto"
            }
          },
          "meta": {
            "description": "Paging details.",
            "allOf": [
              {
                "$ref": "#/components/schemas/PaginationMetaDto"
              }
            ]
          }
        },
        "required": [
          "data",
          "meta"
        ]
      },
      "PaginatedUploadListResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Uploads on this page, in the requested sort order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedFileResponseDto"
            }
          },
          "meta": {
            "description": "Paging details for the whole result.",
            "allOf": [
              {
                "$ref": "#/components/schemas/UploadListMetaDto"
              }
            ]
          }
        },
        "required": [
          "data",
          "meta"
        ]
      },
      "PaginatedVoiceResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CatalogVoiceResponseDto"
                },
                {
                  "$ref": "#/components/schemas/ClonedVoiceResponseDto"
                }
              ]
            },
            "description": "Catalog voices and cloned voices together. Cloned voices have `source` and `status`; catalog voices have `voiceType`."
          },
          "meta": {
            "description": "Paging details for the combined list.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceListMetaDto"
              }
            ]
          }
        },
        "required": [
          "data",
          "meta"
        ]
      },
      "PaginationMetaDto": {
        "type": "object",
        "properties": {
          "page": {
            "type": "number",
            "description": "Page returned (1 with `all=true`).",
            "examples": [
              1
            ]
          },
          "limit": {
            "type": "number",
            "description": "Page size used (the total count with `all=true`).",
            "examples": [
              20
            ]
          },
          "total": {
            "type": "number",
            "description": "Jobs matching the filters.",
            "examples": [
              42
            ]
          },
          "totalPages": {
            "type": "number",
            "description": "Number of pages at this `limit` (1 with `all=true`, 0 when nothing matches).",
            "examples": [
              3
            ]
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether a later page exists.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "page",
          "limit",
          "total",
          "totalPages",
          "hasMore"
        ]
      },
      "PresignedExportUrlDataDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Download link, valid for 1 hour. It downloads as an attachment named after `downloadFileName`. If a link cannot be signed, the `s3Url` you sent is returned unchanged.",
            "examples": [
              "https://storage.example.com/0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/video-translator/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/EXPORT-ENGINE-3c7e2a91-5b4d-4f60-a8e2-0d9b1c6f7e34/exports/hindi_india.mp4?X-Amz-Expires=3600&X-Amz-Signature=…"
            ]
          }
        },
        "required": [
          "url"
        ]
      },
      "PresignedExportUrlDto": {
        "type": "object",
        "properties": {
          "s3Url": {
            "type": "string",
            "description": "URL of an exported file in your organization: `result.video` or `result.audio` of a finished export job (Get a job), or an export's `videoUrl`. Must include `https://`.",
            "examples": [
              "https://storage.example.com/0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/video-translator/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/EXPORT-ENGINE-3c7e2a91-5b4d-4f60-a8e2-0d9b1c6f7e34/exports/hindi_india.mp4"
            ]
          },
          "downloadFileName": {
            "type": "string",
            "maxLength": 500,
            "description": "File name the download is saved as, up to 500 characters. If it has no extension, the extension of the file is added. Defaults to the name of the stored file, such as `hi-IN.mp4`.",
            "examples": [
              "My Video - Hindi.mp4"
            ]
          }
        },
        "required": [
          "s3Url"
        ]
      },
      "PresignedExportUrlResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The download link.",
            "allOf": [
              {
                "$ref": "#/components/schemas/PresignedExportUrlDataDto"
              }
            ]
          }
        },
        "required": [
          "data"
        ]
      },
      "ProcessDataDto": {
        "type": "object",
        "properties": {
          "processName": {
            "type": "string",
            "description": "The name of the job, as saved (spaces trimmed).",
            "examples": [
              "Product launch — Hindi dub"
            ]
          }
        },
        "required": [
          "processName"
        ]
      },
      "ProcessDataResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The saved fields.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ProcessDataDto"
              }
            ]
          }
        },
        "required": [
          "data"
        ]
      },
      "ProcessFileDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The `id` of the upload, from Upload files or Complete a multipart upload.",
            "examples": [
              "4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38"
            ]
          },
          "fileKey": {
            "type": "string",
            "description": "The `fileKey` of the same upload: where the file is stored. Send it exactly as the upload returned it.",
            "examples": [
              "0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/uploads/4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38/launch.mp4"
            ]
          },
          "url": {
            "type": "string",
            "description": "Optional. An `https://` URL of the same file, used when it cannot be read through `fileKey`. Leave it out for files you uploaded.",
            "examples": [
              "https://storage.example.com/media/launch.mp4"
            ]
          },
          "checksum": {
            "type": "string",
            "description": "Optional SHA-256 of the file, as 64 hex characters. Recorded with the job; the file is not checked against it at present.",
            "examples": [
              "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
            ]
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "video",
              "audio",
              "image",
              "subtitle",
              "text"
            ],
            "description": "Kind of file, from the upload's `mediaType`. Send it: the job is priced by measuring the first `video` or `audio` file (or, without one, the first file).",
            "examples": [
              "video"
            ]
          },
          "extension": {
            "type": "string",
            "description": "File extension without the dot, from the upload's `extension`, such as `mp4`, `mov`, `mp3`, `wav`, `srt` or `vtt`. If left out, it is read from `fileKey`.",
            "examples": [
              "mp4"
            ]
          }
        },
        "required": [
          "id",
          "fileKey"
        ]
      },
      "ProcessListAssigneeDto": {
        "type": "object",
        "properties": {
          "memberId": {
            "type": "string",
            "format": "uuid",
            "description": "Member ID.",
            "examples": [
              "a81bc81b-dead-4e5d-abff-90865d1e13b1"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The member's name. Null if not set.",
            "examples": [
              "Priya Sharma"
            ]
          },
          "image": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL of the member's profile picture. Null if not set.",
            "examples": [
              "{{APP_BASE_URL}}/avatars/6a1f3c9e.png"
            ]
          },
          "languages": {
            "description": "Target languages the member is assigned to on this job (BCP-47 codes). `*` means the whole job.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN"
              ]
            ]
          }
        },
        "required": [
          "memberId",
          "name",
          "image",
          "languages"
        ]
      },
      "ProcessListItemResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Job ID (`jobId`).",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "processName": {
            "type": "string",
            "description": "Name of the job (`processName` from Start a job). The job ID when it was started without a name.",
            "examples": [
              "Product launch video"
            ]
          },
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_TO_TRANSCRIPT",
              "VIDEO_TO_SUBTITLE",
              "SUBTITLE_TO_TRANSCRIPT_TRANSLATION",
              "VIDEO_TO_SPEECH_TRANSLATION"
            ],
            "description": "What the job does.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SCHEDULED",
              "RUNNING",
              "PAUSED",
              "COMPLETED",
              "COMPLETED_WITH_ERRORS",
              "FAILED",
              "TIMED_OUT",
              "TERMINATED"
            ],
            "description": "`SCHEDULED`, `RUNNING`, `PAUSED` (waiting at the voice review), `COMPLETED`, `FAILED`, `TIMED_OUT` or `TERMINATED` (cancelled). The last four are final.",
            "examples": [
              "RUNNING"
            ]
          },
          "progress": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "How far the job has got, from 0 to 100.",
            "examples": [
              40
            ]
          },
          "isFinished": {
            "type": "boolean",
            "description": "True when `status` is final: the job will not change any more.",
            "examples": [
              false
            ]
          },
          "awaitingHumanValidation": {
            "type": "boolean",
            "description": "True when the job is paused until someone approves the speaker voices (Approve speaker voices).",
            "examples": [
              false
            ]
          },
          "usesInstantClone": {
            "type": "boolean",
            "description": "True when the job clones the speakers' own voices. Once the voices are approved, this follows the approved voices; before that, it follows `inputData.voiceMode`. Always false for jobs that make no speech.",
            "examples": [
              true
            ]
          },
          "sourceLanguage": {
            "type": [
              "string",
              "null"
            ],
            "description": "BCP-47 code of the input.",
            "examples": [
              "en-US"
            ]
          },
          "targetLanguages": {
            "description": "BCP-47 codes the job translates into, including languages added later.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "es-ES"
              ]
            ]
          },
          "assignees": {
            "description": "Members assigned to work on this job. Empty when nobody is assigned.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProcessListAssigneeDto"
            },
            "examples": [
              [
                {
                  "memberId": "a81bc81b-dead-4e5d-abff-90865d1e13b1",
                  "name": "Priya Sharma",
                  "image": "{{APP_BASE_URL}}/avatars/6a1f3c9e.png",
                  "languages": [
                    "hi-IN"
                  ]
                }
              ]
            ]
          },
          "projectId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Project the job is filed in, or null when it is in no project. Projects only group jobs; they do not change who can see them.",
            "examples": [
              "7e57d004-2b97-4e7a-b45f-5387367791cd"
            ]
          },
          "tmId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Translation memory the job translates through. Null if it has none.",
            "examples": [
              "b7d1e9a2-4c3f-4a8b-9e6d-1f2a3b4c5d6e"
            ]
          },
          "tmName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the translation memory in `tmId`.",
            "examples": [
              "dub · en-US → hi-IN"
            ]
          },
          "startedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the first step started. Null while the job is queued.",
            "examples": [
              "2026-10-03T09:15:04.000Z"
            ]
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job completed. Null unless `status` is `completed`.",
            "examples": [
              null
            ]
          },
          "failedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job failed or was cancelled. Null unless `status` is `FAILED` or `TERMINATED`.",
            "examples": [
              null
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the job was created.",
            "examples": [
              "2026-10-03T09:15:00.000Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When anything about the job last changed. The default sort.",
            "examples": [
              "2026-10-03T09:21:47.000Z"
            ]
          },
          "ownerId": {
            "type": "string",
            "description": "Member who started the job, or an empty string when unknown (for example, a deleted member).",
            "examples": [
              "6a1f3c9e-2b4d-4e8a-9c7b-5d3e1f2a4b6c"
            ]
          }
        },
        "required": [
          "id",
          "processName",
          "processType",
          "status",
          "progress",
          "isFinished",
          "awaitingHumanValidation",
          "usesInstantClone",
          "assignees",
          "createdAt",
          "updatedAt",
          "ownerId"
        ]
      },
      "ProcessResultResponseDto": {
        "type": "object",
        "properties": {
          "processId": {
            "type": "string",
            "format": "uuid",
            "description": "Job ID (`jobId`).",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "processName": {
            "type": "string",
            "description": "Name of the job. The job ID when it was started without a name.",
            "examples": [
              "Product launch video"
            ]
          },
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_TO_TRANSCRIPT",
              "VIDEO_TO_SUBTITLE",
              "SUBTITLE_TO_TRANSCRIPT_TRANSLATION",
              "VIDEO_TO_SPEECH_TRANSLATION",
              "TRANSCRIPT_TO_TRANSLATION_INTERNAL",
              "TRANSCRIPT_TO_SUBTITLE_INTERNAL",
              "TRANSCRIPT_TO_SPEECH_GENERATION_INTERNAL",
              "TRANSCRIPT_AUTOFIX_INTERNAL",
              "SYNC_TEXT_TRANSCREATION",
              "SYNC_SPEECH_GENERATION",
              "SYNC_SUBTITLE_GENERATION",
              "VIDEO_EXPORT",
              "VIDEO_WITH_SUBTITLE_EXPORT",
              "TRANSCRIPT_AUTOFIX",
              "GENERATE_ALL",
              "SUBTITLE_GENERATION"
            ],
            "description": "What the job does.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "COMPLETED",
              "FAILED",
              "TIMED_OUT",
              "TERMINATED"
            ],
            "description": "Always final: a job that is still scheduled, running or paused returns 409 instead.",
            "examples": [
              "COMPLETED"
            ]
          },
          "inputData": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The options the job ran with: the `inputData` you sent to Start a job, the defaults it was given, the uploaded `files`, and the approved voices in `speakers`.",
            "examples": [
              {
                "voicePolicy": "ask",
                "diarization": true,
                "speakerCount": 2
              }
            ]
          },
          "sourceLanguage": {
            "type": [
              "string",
              "null"
            ],
            "description": "BCP-47 code of the input.",
            "examples": [
              "en-US"
            ]
          },
          "targetLanguages": {
            "description": "BCP-47 codes the job translates into, including languages added later. If the API key's member is assigned only to some languages of the job, only those are listed, and the other languages are removed from `outputData`.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "es-ES"
              ]
            ]
          },
          "outputData": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The job's output: the transcript (`transcripts`: one entry per line, holding each language side by side), with timings, speakers, subtitles and links to the generated audio. Set when the job completed, and possibly partly set when it failed. Null when it was cancelled. For a finished video, use Export a video; for subtitle files, use Get subtitles.",
            "examples": [
              {
                "transcripts": [
                  {
                    "en-US": {
                      "text": "Hello, and welcome."
                    },
                    "hi-IN": {
                      "text": "नमस्ते, स्वागत है।"
                    }
                  }
                ]
              }
            ]
          },
          "tmId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Translation memory the job translated through. Null if it has none.",
            "examples": [
              "b7d1e9a2-4c3f-4a8b-9e6d-1f2a3b4c5d6e"
            ]
          },
          "tmName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the translation memory in `tmId`.",
            "examples": [
              "dub · en-US → hi-IN"
            ]
          },
          "tmProvider": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "vitratm",
              "phrase"
            ],
            "description": "Where the translation memory in `tmId` is kept: `vitratm` or `phrase`. Null if the job has no translation memory.",
            "examples": [
              "vitratm"
            ]
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job completed. Null unless `status` is `completed`.",
            "examples": [
              "2026-10-03T09:42:17.000Z"
            ]
          },
          "failedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job failed or was cancelled. Null unless `status` is `FAILED` or `TERMINATED`.",
            "examples": [
              null
            ]
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reserved for a machine-readable failure code. Not set at present, so always null: read `errorMessage` instead.",
            "examples": [
              null
            ]
          },
          "errorMessage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the job failed. Null unless `status` is `failed`.",
            "examples": [
              null
            ]
          },
          "errorDetails": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Reserved; currently always null.",
            "examples": [
              null
            ]
          }
        },
        "required": [
          "processId",
          "processName",
          "processType",
          "status",
          "tmProvider"
        ]
      },
      "ProcessRunResponseDto": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the job.",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_TO_TRANSCRIPT",
              "VIDEO_TO_SUBTITLE",
              "SUBTITLE_TO_TRANSCRIPT_TRANSLATION",
              "VIDEO_TO_SPEECH_TRANSLATION",
              "TRANSCRIPT_TO_TRANSLATION_INTERNAL",
              "TRANSCRIPT_TO_SUBTITLE_INTERNAL",
              "TRANSCRIPT_TO_SPEECH_GENERATION_INTERNAL",
              "TRANSCRIPT_AUTOFIX_INTERNAL",
              "SYNC_TEXT_TRANSCREATION",
              "SYNC_SPEECH_GENERATION",
              "SYNC_SUBTITLE_GENERATION",
              "VIDEO_EXPORT",
              "VIDEO_WITH_SUBTITLE_EXPORT",
              "TRANSCRIPT_AUTOFIX",
              "GENERATE_ALL",
              "SUBTITLE_GENERATION"
            ],
            "description": "What the job does. Exports and added languages run as jobs of their own types, such as `VIDEO_EXPORT`.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SCHEDULED",
              "RUNNING",
              "PAUSED",
              "COMPLETED",
              "COMPLETED_WITH_ERRORS",
              "FAILED",
              "TIMED_OUT",
              "TERMINATED"
            ],
            "description": "`SCHEDULED`, `RUNNING`, `PAUSED` (waiting at the voice review), `COMPLETED`, `FAILED`, `TIMED_OUT` or `TERMINATED` (cancelled). The last four are final.",
            "examples": [
              "RUNNING"
            ]
          },
          "stage": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "DOWNLOAD",
              "AUDIO-EXTRACTOR",
              "AUDIO-SOURCE-SEPARATOR",
              "TRANSCRIPTION-ENGINE",
              "TRANSCREATION-ENGINE",
              "INSTANT-VOICE-CLONING-ENGINE",
              "SUBTITLE-ENGINE",
              "SPEECH-GENERATION-ENGINE",
              "AGGREGATE",
              "STITCH-ENGINE",
              "STITCH-SUBTITLE-ENGINE",
              "EXPORT-ENGINE",
              "TRANSCRIPT-AUTOFIX-ENGINE"
            ],
            "description": "The step running now. Null before the first step starts.",
            "examples": [
              "TRANSCRIPTION-ENGINE"
            ]
          },
          "progress": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "How far the job has got, from 0 to 100. 100 once it has completed.",
            "examples": [
              40
            ]
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Internal details of the run, such as per-step progress and billing. The contents may change; do not depend on them.",
            "examples": [
              {
                "steps": {
                  "TRANSCRIPTION-ENGINE": {
                    "status": "running",
                    "progress": 60
                  }
                }
              }
            ]
          },
          "parentProcessId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The job this one belongs to, for exports and added languages. Null for a job you started.",
            "examples": [
              null
            ]
          },
          "sourceLanguage": {
            "type": [
              "string",
              "null"
            ],
            "description": "BCP-47 code of the input.",
            "examples": [
              "en-US"
            ]
          },
          "targetLanguages": {
            "description": "BCP-47 codes the job translates into. Includes languages added later with Add target languages. For an export or an added language, the one language it handles.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "es-ES"
              ]
            ]
          },
          "workspacePrefix": {
            "type": "string",
            "description": "Storage folder of the job.",
            "examples": [
              "0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/video-translator/9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/"
            ]
          },
          "deliverableKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "Storage key of the main output, once delivered.",
            "examples": [
              null
            ]
          },
          "result": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The output once the job has completed. For an export job, `video` (or `audio` for an audio-only export) is the file to pass as `s3Url` to Get a download URL.",
            "examples": [
              null
            ]
          },
          "credits": {
            "type": "number",
            "description": "Credits charged at start; replaced by the final amount once the job settles.",
            "examples": [
              120
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the job failed. Null unless it failed.",
            "examples": [
              null
            ]
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reserved for a machine-readable failure code. Not set at present, so always null: read `error` instead.",
            "examples": [
              null
            ]
          },
          "startedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the first step started. Null while the job is queued.",
            "examples": [
              "2026-10-03T09:15:04.000Z"
            ]
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job completed. Null otherwise.",
            "examples": [
              null
            ]
          },
          "failedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job failed or was cancelled. Null otherwise.",
            "examples": [
              null
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the job was created.",
            "examples": [
              "2026-10-03T09:15:00.000Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When anything about the job last changed.",
            "examples": [
              "2026-10-03T09:21:47.000Z"
            ]
          }
        },
        "required": [
          "jobId",
          "processType",
          "status",
          "stage",
          "progress",
          "metadata",
          "parentProcessId",
          "sourceLanguage",
          "targetLanguages",
          "workspacePrefix",
          "deliverableKey",
          "result",
          "credits",
          "error",
          "errorCode",
          "startedAt",
          "completedAt",
          "failedAt",
          "createdAt",
          "updatedAt"
        ]
      },
      "ProcessStatusResponseDto": {
        "type": "object",
        "properties": {
          "processId": {
            "type": "string",
            "format": "uuid",
            "description": "Job ID (`jobId`).",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "processName": {
            "type": "string",
            "description": "Name of the job. The job ID when it was started without a name.",
            "examples": [
              "Product launch video"
            ]
          },
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_TO_TRANSCRIPT",
              "VIDEO_TO_SUBTITLE",
              "SUBTITLE_TO_TRANSCRIPT_TRANSLATION",
              "VIDEO_TO_SPEECH_TRANSLATION",
              "TRANSCRIPT_TO_TRANSLATION_INTERNAL",
              "TRANSCRIPT_TO_SUBTITLE_INTERNAL",
              "TRANSCRIPT_TO_SPEECH_GENERATION_INTERNAL",
              "TRANSCRIPT_AUTOFIX_INTERNAL",
              "SYNC_TEXT_TRANSCREATION",
              "SYNC_SPEECH_GENERATION",
              "SYNC_SUBTITLE_GENERATION",
              "VIDEO_EXPORT",
              "VIDEO_WITH_SUBTITLE_EXPORT",
              "TRANSCRIPT_AUTOFIX",
              "GENERATE_ALL",
              "SUBTITLE_GENERATION"
            ],
            "description": "What the job does. Exports and added languages have types of their own, such as `VIDEO_EXPORT`.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SCHEDULED",
              "RUNNING",
              "PAUSED",
              "COMPLETED",
              "COMPLETED_WITH_ERRORS",
              "FAILED",
              "TIMED_OUT",
              "TERMINATED"
            ],
            "description": "`SCHEDULED`, `RUNNING`, `PAUSED` (waiting at the voice review), `COMPLETED`, `FAILED`, `TIMED_OUT` or `TERMINATED` (cancelled). The last four are final.",
            "examples": [
              "RUNNING"
            ]
          },
          "progress": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "How far the whole job has got, from 0 to 100.",
            "examples": [
              45
            ]
          },
          "totalTaskCount": {
            "type": "number",
            "minimum": 0,
            "description": "Number of steps listed in `tasks`: the steps that have started so far. It grows as the job moves on.",
            "examples": [
              4
            ]
          },
          "completedTaskCount": {
            "type": "number",
            "minimum": 0,
            "description": "Number of steps in `tasks` that have completed.",
            "examples": [
              3
            ]
          },
          "tasks": {
            "description": "The steps that have started, in the order they run, each with its status and progress. A step that has not started yet is not listed.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProcessStatusTaskItemDto"
            }
          },
          "activeTaskIdentifier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "DOWNLOAD",
              "AUDIO-EXTRACTOR",
              "AUDIO-SOURCE-SEPARATOR",
              "TRANSCRIPTION-ENGINE",
              "TRANSCREATION-ENGINE",
              "INSTANT-VOICE-CLONING-ENGINE",
              "SUBTITLE-ENGINE",
              "SPEECH-GENERATION-ENGINE",
              "AGGREGATE",
              "STITCH-ENGINE",
              "STITCH-SUBTITLE-ENGINE",
              "EXPORT-ENGINE"
            ],
            "description": "The first listed step that has not completed: the one running now, or the one that failed. Null when every listed step has completed.",
            "examples": [
              "TRANSCREATION-ENGINE"
            ]
          },
          "isFinished": {
            "type": "boolean",
            "description": "True when `status` is final. Then call Get the result.",
            "examples": [
              false
            ]
          },
          "workflowId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal run reference. Quote it when you contact support about this job. Null until the job has started.",
            "examples": [
              "b7d1e3a0-7c2f-4e6a-9d1b-3f5a7c9e1b2d"
            ]
          },
          "startedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the first step started. Null while the job is queued.",
            "examples": [
              "2026-10-03T09:15:04.000Z"
            ]
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job completed. Null unless `status` is `completed`.",
            "examples": [
              null
            ]
          },
          "failedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job failed or was cancelled. Null unless `status` is `FAILED` or `TERMINATED`.",
            "examples": [
              null
            ]
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reserved for a machine-readable failure code. Not set at present, so always null: read `errorMessage` instead.",
            "examples": [
              null
            ]
          },
          "errorMessage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the job failed. Null unless `status` is `failed`.",
            "examples": [
              null
            ]
          },
          "awaitingHumanValidation": {
            "type": "boolean",
            "description": "True when the job is paused until someone approves the speaker voices. Call Approve speaker voices to continue it.",
            "examples": [
              false
            ]
          },
          "usesInstantClone": {
            "type": "boolean",
            "description": "True when the job clones the speakers' own voices. Once the voices are approved, this follows the approved voices; before that, it follows `inputData.voiceMode`. Always false for jobs that make no speech.",
            "examples": [
              true
            ]
          },
          "humanValidationTaskId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Same value as `humanValidationTaskIdentifier` while the job waits for approval. Null otherwise.",
            "examples": [
              null
            ]
          },
          "humanValidationTaskIdentifier": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "DOWNLOAD",
              "AUDIO-EXTRACTOR",
              "AUDIO-SOURCE-SEPARATOR",
              "TRANSCRIPTION-ENGINE",
              "SUBTITLE-GENERATION-ENGINE",
              "TRANSCREATION-ENGINE",
              "INSTANT-VOICE-CLONING-ENGINE",
              "SPEECH-GENERATION-ENGINE",
              "SYNC-TRANSCREATION-ENGINE",
              "SYNC-SPEECH-GENERATION-ENGINE",
              "SYNC-SUBTITLE-GENERATION-ENGINE",
              "FFMPEG-STITCHING",
              "ANIMATED-SUBTITLE-STITCHING",
              "AGGREGATE-STITCHING",
              "AGGREGATE"
            ],
            "description": "The step waiting for approval, while `awaitingHumanValidation` is true. Send it as `taskIdentifier` to Approve speaker voices. Null otherwise.",
            "examples": [
              null
            ]
          },
          "humanValidationExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "While the job waits for approval: when the wait ends. A job not approved by then is stopped and its credits are refunded. Null otherwise.",
            "examples": [
              null
            ]
          },
          "inputData": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The `inputData` the job runs with: what you sent to Start a job, plus the defaults it was given. While the job waits for approval, `inputData.speakers` lists the speakers it found, keyed by speaker ID, each with a `label` and `gender` under the source language. Use those IDs in Approve speaker voices.",
            "examples": [
              {
                "voiceMode": "instant_clone",
                "speakers": {
                  "1": {
                    "en-US": {
                      "label": "Speaker 1",
                      "gender": "female"
                    }
                  },
                  "2": {
                    "en-US": {
                      "label": "Speaker 2",
                      "gender": "male"
                    }
                  }
                }
              }
            ]
          },
          "sourceLanguage": {
            "type": [
              "string",
              "null"
            ],
            "description": "BCP-47 code of the input.",
            "examples": [
              "en-US"
            ]
          },
          "targetLanguages": {
            "description": "BCP-47 codes the job translates into, including languages added later. If the API key's member is assigned only to some languages of the job, only those are listed and `languagesRestricted` is true.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "es-ES"
              ]
            ]
          },
          "languagesRestricted": {
            "type": "boolean",
            "description": "Present, and true, only when `targetLanguages` leaves out languages of the job that the member is not assigned to. Adding one of those hidden languages with Add target languages is rejected as already on the job.",
            "examples": [
              true
            ]
          },
          "nextPollAfterSeconds": {
            "type": [
              "number",
              "null"
            ],
            "enum": [
              10,
              20,
              30
            ],
            "description": "Seconds to wait before you poll again: 30 while queued, 20 while running, 10 from 80% progress. Null when the job has finished or is waiting for voice approval, because nothing will change until you act.",
            "examples": [
              20
            ]
          }
        },
        "required": [
          "processId",
          "processName",
          "processType",
          "status",
          "progress",
          "totalTaskCount",
          "completedTaskCount",
          "tasks",
          "isFinished",
          "awaitingHumanValidation",
          "usesInstantClone",
          "nextPollAfterSeconds"
        ]
      },
      "ProcessStatusTaskItemDto": {
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string",
            "description": "The step name (same as `taskIdentifier`).",
            "examples": [
              "TRANSCRIPTION-ENGINE"
            ]
          },
          "taskIdentifier": {
            "type": "string",
            "enum": [
              "DOWNLOAD",
              "AUDIO-EXTRACTOR",
              "AUDIO-SOURCE-SEPARATOR",
              "TRANSCRIPTION-ENGINE",
              "TRANSCREATION-ENGINE",
              "INSTANT-VOICE-CLONING-ENGINE",
              "SUBTITLE-ENGINE",
              "SPEECH-GENERATION-ENGINE",
              "AGGREGATE",
              "STITCH-ENGINE",
              "STITCH-SUBTITLE-ENGINE",
              "EXPORT-ENGINE"
            ],
            "description": "The step. Dubbing runs `DOWNLOAD`, `AUDIO-EXTRACTOR`, `AUDIO-SOURCE-SEPARATOR`, `TRANSCRIPTION-ENGINE`, `TRANSCREATION-ENGINE`, `INSTANT-VOICE-CLONING-ENGINE`, `SPEECH-GENERATION-ENGINE` and `AGGREGATE`; an export runs the `STITCH-*` and `EXPORT-ENGINE` steps.",
            "examples": [
              "TRANSCRIPTION-ENGINE"
            ]
          },
          "name": {
            "type": "string",
            "description": "The step name (same as `taskIdentifier`).",
            "examples": [
              "TRANSCRIPTION-ENGINE"
            ]
          },
          "sequence": {
            "type": [
              "number",
              "null"
            ],
            "description": "Position of the step in the pipeline, counting from 0 (`DOWNLOAD`).",
            "examples": [
              3
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "RUNNING",
              "COMPLETED",
              "FAILED"
            ],
            "description": "Status of this step.",
            "examples": [
              "COMPLETED"
            ]
          },
          "progress": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Progress of this step, from 0 to 100. 100 once it has completed.",
            "examples": [
              100
            ]
          },
          "startedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Not recorded per step; always null.",
            "examples": [
              null
            ]
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the whole job completed, shown on each completed step once the job has finished. Null until then: steps do not record their own times.",
            "examples": [
              "2026-10-03T09:42:17.000Z"
            ]
          },
          "failedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the job failed, shown on the step that failed. Null otherwise.",
            "examples": [
              null
            ]
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reserved for a machine-readable failure code. Always null at present.",
            "examples": [
              null
            ]
          },
          "errorMessage": {
            "type": [
              "string",
              "null"
            ],
            "description": "The job's failure message, shown on the step that failed. Null otherwise.",
            "examples": [
              null
            ]
          }
        },
        "required": [
          "taskId",
          "taskIdentifier",
          "name",
          "status",
          "progress"
        ]
      },
      "PronunciationRuleResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the rule. Pass it to Delete a pronunciation rule.",
            "examples": [
              "c3a8f1e6-7b2d-4e9a-8f4c-1b6d3e9a5c72"
            ]
          },
          "scope": {
            "type": "string",
            "enum": [
              "system",
              "organization",
              "transcript_segment"
            ],
            "description": "`organization` rules apply everywhere in your organization; `transcript_segment` rules apply to one line of one job.",
            "examples": [
              "organization"
            ]
          },
          "fk_dictionaryId": {
            "type": "string",
            "format": "uuid",
            "description": "Groups the rules of one language (organization rules) or one transcript line.",
            "examples": [
              "5f9e2b7c-1a4d-4c8e-b3f6-9d0a7e2c4b18"
            ]
          },
          "language": {
            "type": "string",
            "description": "BCP-47 code of the speech the rule applies to.",
            "examples": [
              "en-US"
            ]
          },
          "matchText": {
            "type": "string",
            "description": "Word or phrase whose pronunciation the rule sets.",
            "examples": [
              "SQL"
            ]
          },
          "strategy": {
            "type": "string",
            "enum": [
              "alias",
              "phoneme"
            ],
            "description": "`alias`: `value` is another spelling to say instead. `phoneme`: `value` is a phonetic transcription in `alphabet`.",
            "examples": [
              "alias"
            ]
          },
          "value": {
            "type": "string",
            "description": "The spelling to say instead, or the phonemes.",
            "examples": [
              "sequel"
            ]
          },
          "alphabet": {
            "type": [
              "string",
              "null"
            ],
            "description": "Phonetic alphabet of `value`, for `phoneme` rules. Null when none was sent; `ipa` is then used.",
            "examples": [
              "ipa"
            ]
          },
          "caseSensitive": {
            "type": "boolean",
            "description": "Whether only text in the same letter case as `matchText` is matched.",
            "examples": [
              true
            ]
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the rule is in use.",
            "examples": [
              true
            ]
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Not used by the API; null for rules saved through it.",
            "examples": [
              null
            ]
          },
          "fk_orgId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your organization ID.",
            "examples": [
              "9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a"
            ]
          },
          "fk_projectId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Project of the rule's job, for `transcript_segment` rules. Null for organization rules.",
            "examples": [
              null
            ]
          },
          "fk_processId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The job, for `transcript_segment` rules. Null for organization rules.",
            "examples": [
              null
            ]
          },
          "fk_transcriptId": {
            "type": [
              "string",
              "null"
            ],
            "description": "The transcript line's `id`, for `transcript_segment` rules. Null for organization rules.",
            "examples": [
              null
            ]
          },
          "fk_creatorId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Member who created the rule.",
            "examples": [
              "6a1f3c9e-2b4d-4e8a-9c7b-5d3e1f2a4b6c"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the rule was created.",
            "examples": [
              "2026-09-14T10:32:07.412Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the rule was last saved.",
            "examples": [
              "2026-09-14T10:32:07.412Z"
            ]
          },
          "deletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Always null in responses: deleted rules are not returned.",
            "examples": [
              null
            ]
          }
        },
        "required": [
          "id",
          "scope",
          "fk_dictionaryId",
          "language",
          "matchText",
          "strategy",
          "value",
          "alphabet",
          "caseSensitive",
          "enabled",
          "metadata",
          "fk_orgId",
          "fk_projectId",
          "fk_processId",
          "fk_transcriptId",
          "fk_creatorId",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ]
      },
      "ProvidersDto": {
        "type": "object",
        "properties": {
          "providers": {
            "description": "Providers that support the language for this capability, after your filters. Never empty.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "vitratm",
                "phrase"
              ]
            ]
          }
        },
        "required": [
          "providers"
        ]
      },
      "RejectedLanguageDto": {
        "type": "object",
        "properties": {
          "targetLanguage": {
            "type": "string",
            "description": "The language that was not added.",
            "examples": [
              "hi-IN"
            ]
          },
          "reason": {
            "type": "string",
            "description": "Why it was not added.",
            "examples": [
              "Target language already exists on process: hi-IN"
            ]
          }
        },
        "required": [
          "targetLanguage",
          "reason"
        ]
      },
      "RetryProcessResponseDto": {
        "type": "object",
        "properties": {
          "processId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the job that is running again. The job keeps its ID.",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "RUNNING"
            ],
            "description": "Always `running`. Poll Get a job to follow it.",
            "examples": [
              "RUNNING"
            ]
          }
        },
        "required": [
          "processId",
          "status"
        ]
      },
      "SaveExportToDriveResponseDto": {
        "type": "object",
        "properties": {
          "savedToDrive": {
            "type": "boolean",
            "description": "Always `true`: the video was saved as a new asset.",
            "examples": [
              true
            ]
          },
          "alreadySaved": {
            "type": "boolean",
            "description": "Always `false`: every call saves another copy, even when the export was saved before.",
            "examples": [
              false
            ]
          },
          "assetId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "ID of the new asset. Use it with the Assets API.",
            "examples": [
              "5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "File name of the new asset: the job name, a short ID, the language and a timestamp.",
            "examples": [
              "launch-video-6b6844478f19-hi-IN-20261004-141205123.mp4"
            ]
          }
        },
        "required": [
          "savedToDrive",
          "alreadySaved",
          "assetId",
          "name"
        ]
      },
      "SourceTargetLanguagesDto": {
        "type": "object",
        "properties": {
          "source": {
            "description": "Languages a video can be transcribed from. Use a `name` as `sourceLanguage`.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageListItemDto"
            }
          },
          "target": {
            "description": "Languages a video can be translated and dubbed into: each has a translation provider and at least one voice type. Use a `name` in `targetLanguages`.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TargetLanguageItemDto"
            }
          }
        },
        "required": [
          "source",
          "target"
        ]
      },
      "SpeakerLanguageProfileDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Display name of the speaker, such as `Speaker 1` or `Host`. The job fills it in for the source language when it detects the speakers.",
            "examples": [
              "Speaker 1"
            ]
          },
          "gender": {
            "type": "string",
            "description": "Gender of the speaker as detected, such as `male` or `female`.",
            "examples": [
              "female"
            ]
          },
          "voiceId": {
            "type": "string",
            "description": "ID of the voice to speak this language with: a voice from List cloned voices, or a catalog voice from List standard voices or List native voices that supports this language. Leave it out to clone the speaker (see `voiceType`).",
            "examples": [
              "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
            ]
          },
          "voiceName": {
            "type": "string",
            "description": "Name of a catalog voice, used to find it when `voiceId` is not sent. Required when cloning (`voiceType: instant-clone`): the name the new cloned voice gets.",
            "examples": [
              "Aria"
            ]
          },
          "voiceType": {
            "type": "string",
            "enum": [
              "instant-clone",
              "standard",
              "native"
            ],
            "description": "`instant-clone`: clone this speaker's own voice from the video and dub with it (send `voiceName`, leave `voiceId` out). `standard` or `native`: use the catalog voice in `voiceId` or `voiceName` from that list. Leave it out for a voice ID from List cloned voices, or a standard voice.",
            "examples": [
              "instant-clone"
            ]
          }
        }
      },
      "SpeechCapabilityDto": {
        "type": "object",
        "properties": {
          "voiceTypes": {
            "description": "Speech providers for the language, per voice type. At least one voice type has a provider.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceTypeProvidersDto"
              }
            ]
          }
        },
        "required": [
          "voiceTypes"
        ]
      },
      "StartAudioConfigDoc": {
        "type": "object",
        "properties": {
          "voiceConsistency": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 0.5,
            "description": "How steady the voice sounds from line to line. Lower values are more expressive.",
            "examples": [
              0.5
            ]
          },
          "voiceMatch": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 0.75,
            "description": "How closely the speech keeps to the original voice.",
            "examples": [
              0.75
            ]
          },
          "styleEmphasis": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 0,
            "description": "How strongly the voice's speaking style is exaggerated.",
            "examples": [
              0
            ]
          },
          "enhancedVoiceMatch": {
            "type": "boolean",
            "default": true,
            "description": "Boost similarity to the original speaker.",
            "examples": [
              true
            ]
          }
        }
      },
      "StartInputDataDoc": {
        "type": "object",
        "properties": {
          "autoExport": {
            "type": "boolean",
            "default": false,
            "description": "Dubbing only. Set to `true` to export a finished video for every target language as soon as the dub succeeds: 1080p, no lip-sync, no burned-in subtitles. Fetch the videos with Get auto-exported videos. Plain exports are free.",
            "examples": [
              true
            ]
          },
          "autoQe": {
            "type": "boolean",
            "default": false,
            "description": "Dubbing only. Set to `true` to run the QE report on the translated transcript as soon as the dub succeeds, so you do not have to start it yourself. Needs the `aiqe:create` permission (403 otherwise, before anything is charged) and is charged on its own when it starts, per source word. What became of it is in the job's `metadata.autoQe`.",
            "examples": [
              true
            ]
          },
          "qeScope": {
            "type": "string",
            "enum": [
              "all",
              "unverified"
            ],
            "default": "all",
            "description": "With `autoQe`: which transcript segments the QE report checks.",
            "examples": [
              "unverified"
            ]
          },
          "voicePolicy": {
            "type": "string",
            "enum": [
              "ask",
              "clone_all",
              "catalog_auto"
            ],
            "default": "ask",
            "description": "Dubbing only. Who answers the voice review after the speakers are found. `ask`: the job pauses (`awaitingHumanValidation: true`) until you call Approve speaker voices. `clone_all`: every speaker is cloned from their own voice and the job carries on without pausing; with more than 4 speakers it pauses for approval instead. `catalog_auto`: nobody is cloned and the job carries on without pausing. Each speaker then needs a catalog voice in `speakers` under the target language, or the job fails when it generates speech. An unknown value counts as `ask`.",
            "examples": [
              "clone_all"
            ]
          },
          "voiceMode": {
            "type": "string",
            "enum": [
              "instant_clone",
              "standard"
            ],
            "default": "instant_clone",
            "description": "Dubbing only. Whether you mean to clone the speakers (`instant_clone`) or use catalog voices (`standard`). It is recorded on the job and reported as `usesInstantClone` until the voices are approved. It does not pick voices by itself: the voices you approve, or `voicePolicy`, decide who is cloned.",
            "examples": [
              "instant_clone"
            ]
          },
          "speakers": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/SpeakerLanguageProfileDto"
              }
            },
            "description": "Dubbing only. Voices for each speaker, keyed by speaker ID, then by BCP-47 code. Speaker IDs are assigned when the job detects the speakers, so you usually send voices with Approve speaker voices instead. When you do send this map, the job is priced for that many speakers from the start (dubbing with more than one speaker costs more).",
            "examples": [
              {
                "1": {
                  "hi-IN": {
                    "voiceName": "Speaker 1",
                    "voiceType": "instant-clone"
                  }
                },
                "2": {
                  "hi-IN": {
                    "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
                    "voiceType": "standard"
                  }
                }
              }
            ]
          },
          "speakerCount": {
            "type": "integer",
            "minimum": 1,
            "description": "How many people speak in the video, if you know. Speech recognition then looks for exactly that many. For dubbing it also sets the start price when `speakers` is not sent (dubbing with more than one speaker costs more). Leave it out to detect the number.",
            "examples": [
              2
            ]
          },
          "diarization": {
            "type": "boolean",
            "default": false,
            "description": "Dubbing and VIDEO_TO_SUBTITLE. Detect who speaks each line, so each speaker can get a voice of their own. A dubbing job turns it on itself once voices are approved.",
            "examples": [
              true
            ]
          },
          "detectEmotion": {
            "type": "boolean",
            "default": false,
            "description": "Dubbing and VIDEO_TO_SUBTITLE. Tag each line with an emotion, such as `happy` or `sad` (otherwise `neutral`). Voices that support it then speak with that emotion.",
            "examples": [
              false
            ]
          },
          "voiceId": {
            "type": "string",
            "description": "Dubbing only. One voice for the whole video, for a single speaker: a voice ID from List cloned voices, List standard voices or List native voices. Once speakers are detected and approved, each speaker uses their own voice in `speakers` and this is only the fallback.",
            "examples": [
              "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
            ]
          },
          "voiceName": {
            "type": "string",
            "description": "Dubbing only. Name of a catalog voice for the whole video, used when `voiceId` is not sent. It must support the target language.",
            "examples": [
              "Aria"
            ]
          },
          "voiceType": {
            "type": "string",
            "enum": [
              "standard",
              "native",
              "instant-clone"
            ],
            "default": "standard",
            "description": "Dubbing only. Which list `voiceId` or `voiceName` comes from: `standard` or `native` catalog voices, or `instant-clone` for a voice ID from List cloned voices.",
            "examples": [
              "standard"
            ]
          },
          "audioConfig": {
            "description": "Dubbing only. Fine-tuning for ElevenLabs voices; other voices ignore it.",
            "allOf": [
              {
                "$ref": "#/components/schemas/StartAudioConfigDoc"
              }
            ],
            "examples": [
              {
                "voiceConsistency": 0.5,
                "voiceMatch": 0.75,
                "styleEmphasis": 0,
                "enhancedVoiceMatch": true
              }
            ]
          },
          "cpl": {
            "type": "integer",
            "minimum": 1,
            "default": 42,
            "description": "VIDEO_TO_SUBTITLE and SUBTITLE_TO_TRANSCRIPT_TRANSLATION. The most characters a subtitle line may hold before it is split.",
            "examples": [
              42
            ]
          },
          "breakSubtitles": {
            "type": "boolean",
            "description": "VIDEO_TO_SUBTITLE and SUBTITLE_TO_TRANSCRIPT_TRANSLATION. `true` re-splits subtitles to fit `cpl`. `false` keeps one subtitle per line on its original timing and only wraps long lines. Defaults to `false` for SUBTITLE_TO_TRANSCRIPT_TRANSLATION, so the translated file lines up cue for cue with yours, and `true` otherwise.",
            "examples": [
              true
            ]
          }
        }
      },
      "StartProcessDto": {
        "type": "object",
        "properties": {
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_TO_SPEECH_TRANSLATION",
              "VIDEO_TO_SUBTITLE",
              "SUBTITLE_TO_TRANSCRIPT_TRANSLATION"
            ],
            "description": "What the job does. `VIDEO_TO_SPEECH_TRANSLATION`: dub a video or audio file into the target language. `VIDEO_TO_SUBTITLE`: transcribe a video or audio file and make subtitles. `SUBTITLE_TO_TRANSCRIPT_TRANSLATION`: translate a subtitle file (.srt or .vtt), keeping its timing. `VIDEO_TO_TRANSCRIPT` is accepted by validation but cannot be started yet (400).",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "files": {
            "description": "The file to process, as returned by an upload: its `id` and `fileKey`, ideally with `mediaType` and `extension`. Usually a single file.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProcessFileDto"
            },
            "examples": [
              [
                {
                  "id": "4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38",
                  "fileKey": "0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/uploads/4d2a7f10-8c3b-4e9a-b1f5-2e6d9c0a7b38/launch.mp4",
                  "mediaType": "video",
                  "extension": "mp4"
                }
              ]
            ]
          },
          "sourceLanguage": {
            "type": "string",
            "description": "Language spoken (or written) in the file: a BCP-47 code from List languages.",
            "examples": [
              "en-US"
            ]
          },
          "targetLanguages": {
            "description": "Language to translate into: a BCP-47 code from List languages. Send one. The job translates only the first language in the list; any others are recorded on the job but not translated, and cannot be added later because they are already on it. Add more languages with Add target languages.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN"
              ]
            ]
          },
          "processName": {
            "type": "string",
            "description": "A name for the job, shown in List jobs. Defaults to the job ID.",
            "examples": [
              "Product launch video"
            ]
          },
          "compress": {
            "type": "boolean",
            "description": "Ignored. Whether the video is re-encoded is set by your organization's settings, whatever you send.",
            "examples": [
              false
            ]
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "description": "Your own data to attach to the job, such as an ID from your system. It is stored with the job files but is not returned by any endpoint.",
            "examples": [
              {
                "externalId": "cms-48213"
              }
            ]
          },
          "inputData": {
            "description": "Options for the job. All optional; the keys listed here are the ones the job reads. Each key notes the process types it applies to. `files`, `optimize` and `compress` are set by the server and cannot be overridden.",
            "allOf": [
              {
                "$ref": "#/components/schemas/StartInputDataDoc"
              }
            ],
            "examples": [
              {
                "autoExport": true,
                "voicePolicy": "clone_all",
                "speakerCount": 2
              }
            ]
          },
          "tmId": {
            "type": "string",
            "description": "ID of a translation memory in your organization to translate through. Leave it out to use the translation memory for this language pair, which is created if there is none.",
            "examples": [
              "b7d1e9a2-4c3f-4a8b-9e6d-1f2a3b4c5d6e"
            ]
          },
          "projectId": {
            "type": "string",
            "format": "uuid",
            "description": "Project to file this job under; omit for none. See List projects. Projects only group jobs; they do not change who can see them.",
            "examples": [
              "7e57d004-2b97-4e7a-b45f-5387367791cd"
            ]
          },
          "durationSeconds": {
            "type": "number",
            "minimum": 0,
            "description": "Length of the file in seconds, if you know it. The job is priced by the length we measure; this is used only if the file cannot be measured. Without either, the request fails with 400.",
            "examples": [
              92.4
            ]
          }
        },
        "required": [
          "processType",
          "files",
          "sourceLanguage",
          "targetLanguages"
        ]
      },
      "StartProcessResponseDto": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the new job. Use it to poll the job or fetch results.",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "SCHEDULED"
            ],
            "description": "Always `SCHEDULED`: the job is waiting to start.",
            "examples": [
              "SCHEDULED"
            ]
          },
          "processType": {
            "type": "string",
            "enum": [
              "VIDEO_TO_SPEECH_TRANSLATION",
              "VIDEO_TO_SUBTITLE",
              "SUBTITLE_TO_TRANSCRIPT_TRANSLATION"
            ],
            "description": "The `processType` you sent.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          }
        },
        "required": [
          "jobId",
          "status",
          "processType"
        ]
      },
      "SubmitHumanValidationDto": {
        "type": "object",
        "properties": {
          "taskIdentifier": {
            "type": "string",
            "enum": [
              "DOWNLOAD",
              "AUDIO-EXTRACTOR",
              "AUDIO-SOURCE-SEPARATOR",
              "TRANSCRIPTION-ENGINE",
              "SUBTITLE-GENERATION-ENGINE",
              "TRANSCREATION-ENGINE",
              "INSTANT-VOICE-CLONING-ENGINE",
              "SPEECH-GENERATION-ENGINE",
              "SYNC-TRANSCREATION-ENGINE",
              "SYNC-SPEECH-GENERATION-ENGINE",
              "SYNC-SUBTITLE-GENERATION-ENGINE",
              "FFMPEG-STITCHING",
              "ANIMATED-SUBTITLE-STITCHING",
              "AGGREGATE-STITCHING",
              "AGGREGATE"
            ],
            "description": "The step waiting for approval: send `humanValidationTaskIdentifier` from Get detailed progress.",
            "examples": [
              "INSTANT-VOICE-CLONING-ENGINE"
            ]
          },
          "approved": {
            "type": "boolean",
            "default": true,
            "description": "`true` approves the voices and the job continues. `false` rejects them and **cancels the job** (the response is a 400); credits are kept.",
            "examples": [
              true
            ]
          },
          "speakers": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/SpeakerLanguageProfileDto"
              }
            },
            "description": "The voice for each speaker, keyed by speaker ID, then by BCP-47 code. Use the speaker IDs in `inputData.speakers` of Get detailed progress, and give each speaker a voice under every target language: a `voiceId` or `voiceName`, or `voiceType: instant-clone` with a `voiceName` to clone them. What you send is merged into the speakers the job found. Approving more speakers than the job was charged for charges the difference.",
            "examples": [
              {
                "1": {
                  "en-US": {
                    "label": "Host",
                    "gender": "female"
                  },
                  "hi-IN": {
                    "voiceName": "Host",
                    "voiceType": "instant-clone"
                  }
                },
                "2": {
                  "en-US": {
                    "label": "Guest",
                    "gender": "male"
                  },
                  "hi-IN": {
                    "voiceId": "6f3c2b1a-9d8e-4f7a-b6c5-d4e3f2a1b0c9",
                    "voiceType": "standard"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "taskIdentifier",
          "approved"
        ]
      },
      "SubtitleCaptionDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "caption"
            ],
            "description": "Always `caption`.",
            "examples": [
              "caption"
            ]
          },
          "index": {
            "type": "number",
            "description": "Number of the caption. Captions are sorted by `start`, so numbers may not be in order.",
            "examples": [
              1
            ]
          },
          "start": {
            "type": "number",
            "description": "Start time in seconds.",
            "examples": [
              1.24
            ]
          },
          "end": {
            "type": "number",
            "description": "End time in seconds.",
            "examples": [
              3.8
            ]
          },
          "duration": {
            "type": "number",
            "description": "Length in seconds.",
            "examples": [
              2.56
            ]
          },
          "content": {
            "type": "string",
            "description": "Caption text, without formatting. A line break inside the caption is `\\n`.",
            "examples": [
              "नमस्ते, स्वागत है।"
            ]
          },
          "text": {
            "type": "string",
            "description": "Same as `content`.",
            "examples": [
              "नमस्ते, स्वागत है।"
            ]
          }
        },
        "required": [
          "type",
          "index",
          "start",
          "end",
          "duration",
          "content",
          "text"
        ]
      },
      "SubtitleDownloadFileDto": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "description": "The whole subtitle file as text, ready to save under `filename`.",
            "examples": [
              "1\n00:00:01,240 --> 00:00:03,800\nनमस्ते, स्वागत है।\n"
            ]
          },
          "filename": {
            "type": "string",
            "description": "Suggested file name, with the extension of `format`.",
            "examples": [
              "subtitles(hi-IN).srt"
            ]
          },
          "mimeType": {
            "type": "string",
            "description": "Media type to use when you serve or save the file.",
            "examples": [
              "text/plain; charset=utf-8"
            ]
          }
        },
        "required": [
          "content",
          "filename",
          "mimeType"
        ]
      },
      "SubtitleDownloadResponseDto": {
        "type": "object",
        "properties": {
          "subtitles": {
            "description": "Every caption in the language, sorted by start time.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubtitleCaptionDto"
            }
          },
          "file": {
            "description": "Present only when you sent `format`: the captions as a ready-made file in that format.",
            "allOf": [
              {
                "$ref": "#/components/schemas/SubtitleDownloadFileDto"
              }
            ]
          }
        },
        "required": [
          "subtitles"
        ]
      },
      "SyncPmExecutionResponseDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always `true`.",
            "examples": [
              true
            ]
          },
          "processId": {
            "type": "string",
            "description": "ID of the line: the `transcriptId` you sent, or a new one.",
            "examples": [
              "4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8"
            ]
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SyncSpeechAudioDto"
            },
            "description": "The audio, keyed by `targetLanguage` (one key).",
            "examples": [
              {
                "hi-IN": {
                  "audio": "{{CDN_BASE_URL}}/3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f/translate-video/_sync/4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8/speech.mp3",
                  "duration": 3.42
                }
              }
            ]
          }
        },
        "required": [
          "success",
          "processId",
          "data"
        ]
      },
      "SyncSpeechAudioDto": {
        "type": "object",
        "properties": {
          "audio": {
            "type": "string",
            "description": "URL of the generated audio file.",
            "examples": [
              "{{CDN_BASE_URL}}/3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f/translate-video/_sync/4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8/speech.mp3"
            ]
          },
          "duration": {
            "type": "number",
            "description": "Length of the audio, in seconds.",
            "examples": [
              3.42
            ]
          }
        },
        "required": [
          "audio",
          "duration"
        ]
      },
      "SyncTextToSpeechDto": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The text to speak, in `targetLanguage`. Pronunciation aliases in the text are spoken as plain words.",
            "examples": [
              "नमस्ते, हमारे नए उत्पाद में आपका स्वागत है।"
            ]
          },
          "targetLanguage": {
            "type": "string",
            "description": "BCP-47 code of the text, from List languages. The voice must support it.",
            "examples": [
              "hi-IN"
            ]
          },
          "voiceName": {
            "type": "string",
            "description": "Name of a standard or native voice, as List voices returns it. Send `voiceName` or `voiceId`; `voiceId` wins when you send both.",
            "examples": [
              "Aarav"
            ]
          },
          "voiceId": {
            "type": "string",
            "description": "ID of the voice, as List voices returns it (`id`). Required for a cloned voice. For a standard or native voice the provider's voice ID also works.",
            "examples": [
              "6a1f0c2e-8b3d-4e5f-9a7b-2c3d4e5f6a7b"
            ]
          },
          "voiceType": {
            "type": "string",
            "enum": [
              "standard",
              "native",
              "cloned",
              "instant-clone"
            ],
            "default": "standard",
            "description": "Catalog the voice is in: `standard` (default), `native`, or `cloned` (also accepted as `instant-clone`) for a voice cloned for your organization.",
            "examples": [
              "standard"
            ]
          },
          "transcriptId": {
            "type": "string",
            "description": "Optional ID of your own for this line. Calls with the same ID share one working folder. Default: a new ID each call, returned as `processId`.",
            "examples": [
              "4d5e6f7a-8b9c-4d0e-a1b2-c3d4e5f6a7b8"
            ]
          },
          "fk_parentProcessId": {
            "type": "string",
            "format": "uuid",
            "description": "Optional job ID (`jobId`) the line belongs to, recorded with the generation.",
            "examples": [
              "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
            ]
          },
          "emotion": {
            "type": "string",
            "description": "Accepted for compatibility; this endpoint does not use it.",
            "examples": [
              "happy"
            ]
          },
          "voiceSettings": {
            "description": "Fine-tuning for the voice. Leave it out for the voice defaults. Used by ElevenLabs voices.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ElevenLabsVoiceSettingsDto"
              }
            ]
          }
        },
        "required": [
          "text",
          "targetLanguage"
        ]
      },
      "TargetLanguageItemDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Language key. Use it as `sourceLanguage` and in `targetLanguages` when you start a Video Dubbing job.",
            "examples": [
              "english_united_states"
            ]
          },
          "code": {
            "type": "string",
            "description": "BCP-47 code of the language. Video Dubbing endpoints take `name`, not this code.",
            "examples": [
              "en-US"
            ]
          },
          "label": {
            "type": "string",
            "description": "Language name in English, for display.",
            "examples": [
              "English (United States)"
            ]
          },
          "voiceTypes": {
            "description": "Providers your organization can dub this language with, per voice type. An empty list means that voice type is not available.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceTypeProvidersDto"
              }
            ]
          }
        },
        "required": [
          "name",
          "code",
          "label",
          "voiceTypes"
        ]
      },
      "TransliterationSuggestionsResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Spellings of `text` in the script of `language`, best first (five unless `limit` says otherwise). Empty when `text` is shorter than two characters or nothing matched.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "नमस्ते",
                "नमस्तें",
                "नमस्त",
                "नामस्ते",
                "नमसते"
              ]
            ]
          }
        },
        "required": [
          "data"
        ]
      },
      "TvAbortMultipartUploadDto": {
        "type": "object",
        "properties": {
          "uploadIds": {
            "description": "The `uploadId` of each multipart upload to cancel, from Start a multipart upload. Parts already uploaded are discarded. Cancelling is best-effort: an upload that was already completed, aborted or has expired, or that belongs to another organization, is skipped without an error.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "eyJrIjoiOWIxZjZjMmUtM2Q0YS00ZThiLWE1YzctMWYyZTNkNGM1YjZhLzBkN2MzZThhLTZmMjEtNGI5ZS04YTNkLTVjMWYyZTRiN2E5MC5tcDQiLCJ1IjoiMn5IcTNmVDhzS3BYdzFMbVpiTjdjUnZZMGRFYSIsIm4iOiJwcm9kdWN0LWxhdW5jaC5tcDQiLCJzIjo1MjQyODgwMDAsIm0iOiJ2aWRlby9tcDQifQ"
              ]
            ]
          }
        },
        "required": [
          "uploadIds"
        ]
      },
      "TvCompleteMultipartUploadDto": {
        "type": "object",
        "properties": {
          "uploads": {
            "description": "The multipart uploads to finish, one entry per file. You can finish several files in one call.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompleteMultipartUploadItemDto"
            }
          }
        },
        "required": [
          "uploads"
        ]
      },
      "TvMultipartPartUrlsDto": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string",
            "description": "The `uploadId` from Start a multipart upload.",
            "examples": [
              "eyJrIjoiOWIxZjZjMmUtM2Q0YS00ZThiLWE1YzctMWYyZTNkNGM1YjZhLzBkN2MzZThhLTZmMjEtNGI5ZS04YTNkLTVjMWYyZTRiN2E5MC5tcDQiLCJ1IjoiMn5IcTNmVDhzS3BYdzFMbVpiTjdjUnZZMGRFYSIsIm4iOiJwcm9kdWN0LWxhdW5jaC5tcDQiLCJzIjo1MjQyODgwMDAsIm0iOiJ2aWRlby9tcDQifQ"
            ]
          },
          "partNumbers": {
            "description": "The parts to get fresh URLs for, each from 1 to 10000: a part whose URL was refused or expired before its bytes were sent.",
            "type": "array",
            "items": {
              "type": "number"
            },
            "examples": [
              [
                7,
                8
              ]
            ]
          }
        },
        "required": [
          "uploadId",
          "partNumbers"
        ]
      },
      "TvMultipartPartUrlsResponseDto": {
        "type": "object",
        "properties": {
          "parts": {
            "description": "One fresh presigned URL per part asked for, in that order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultipartPresignedPartDto"
            }
          }
        },
        "required": [
          "parts"
        ]
      },
      "UpdateClonedVoiceDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 255,
            "description": "Display name of the voice, 1 to 255 characters.",
            "examples": [
              "Acme Brand Voice"
            ]
          },
          "gender": {
            "type": "string",
            "maxLength": 32,
            "description": "Gender of the voice, such as `male` or `female`. Up to 32 characters.",
            "examples": [
              "female"
            ]
          },
          "previewUrl": {
            "type": "string",
            "description": "Link to a short audio sample of the voice. Must be a valid URL.",
            "examples": [
              "{{STORAGE_BASE_URL}}/9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/voice-preview.mp3"
            ]
          },
          "supportedLanguages": {
            "description": "BCP-47 codes of the languages the voice speaks, from List languages (`code`). Replaces the stored list. An empty list means any language.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "hi-IN",
                "en-US"
              ]
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether the voice is active. List voices returns only active voices by default.",
            "examples": [
              false
            ]
          }
        }
      },
      "UpdateProcessDataDto": {
        "type": "object",
        "properties": {
          "processName": {
            "type": "string",
            "description": "New name of the job, up to 700 characters. Spaces at either end are trimmed.",
            "maxLength": 700,
            "examples": [
              "Product launch — Hindi dub"
            ]
          }
        },
        "required": [
          "processName"
        ]
      },
      "UploadedFileResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the upload. Pass it as `files[].id` when you start a job, and use it to get or delete the upload.",
            "examples": [
              "4c7e2a90-5b1d-4f3e-9a6c-2d8b1e0f7a35"
            ]
          },
          "originalName": {
            "type": "string",
            "description": "File name, including its extension.",
            "examples": [
              "product-launch.mp4"
            ]
          },
          "fileKey": {
            "type": "string",
            "description": "Storage key of the file. Pass it as `files[].fileKey`.",
            "examples": [
              "9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL of the file in your organization's storage bucket. It is not signed, so it opens only when the bucket allows public reads. Null when it could not be built, and always null in the response of Upload from your assets (get the upload to see it).",
            "examples": [
              "{{STORAGE_BASE_URL}}/9b1f6c2e-3d4a-4e8b-a5c7-1f2e3d4c5b6a/0d7c3e8a-6f21-4b9e-8a3d-5c1f2e4b7a90.mp4"
            ]
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "video",
              "audio",
              "image",
              "document",
              "subtitle",
              "text",
              "gif"
            ],
            "description": "Kind of file, worked out from its MIME type and extension: `gif` for GIFs, then `video`, `audio` or `image` by MIME type, `subtitle` for `.srt`, `.vtt`, `.ass` and `.ssa` files, `text` for other `text/*` types, and `document` for anything else.",
            "examples": [
              "video"
            ]
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ],
            "description": "MIME type of the file, or null when it is not known.",
            "examples": [
              "video/mp4"
            ]
          },
          "extension": {
            "type": [
              "string",
              "null"
            ],
            "description": "File extension in lower case, without the dot. Null when the file has none.",
            "examples": [
              "mp4"
            ]
          },
          "sizeBytes": {
            "type": [
              "number",
              "null"
            ],
            "description": "File size in bytes. Null when it is not known (0 in the response of Upload from your assets).",
            "examples": [
              52428800
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "uploading",
              "uploaded",
              "processing",
              "ready",
              "failed",
              "deleted"
            ],
            "description": "State of the upload. Stored uploads are `uploaded`: the file is ready to use in a job.",
            "examples": [
              "uploaded"
            ]
          },
          "sha256": {
            "type": [
              "string",
              "null"
            ],
            "description": "SHA-256 of the file as lowercase hex, when known. The server computes it for Upload files; for a multipart upload it is the `checksum` you sent to complete it. Null for copies from your assets and for files uploaded before checksums were recorded.",
            "examples": [
              "437daae8e613363b2ccda01714582824c21f416b368cfbcc9c85f55fd773e4d1"
            ]
          }
        },
        "required": [
          "id",
          "originalName",
          "fileKey",
          "url",
          "mediaType",
          "mimeType",
          "extension",
          "sizeBytes",
          "status",
          "sha256"
        ]
      },
      "UploadFilesResponseDto": {
        "type": "object",
        "properties": {
          "uploads": {
            "description": "One upload per file, in the order you sent them. Keep each `id` and `fileKey` to start a job.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedFileResponseDto"
            }
          }
        },
        "required": [
          "uploads"
        ]
      },
      "UploadFromAssetsDto": {
        "type": "object",
        "properties": {
          "assetIds": {
            "description": "IDs of files in your organization's assets. Each file is copied into a new upload, returned in the same order. Use the new uploads' `id` and `fileKey` (not these asset IDs) when you start a job.",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "examples": [
              [
                "7a3e9c41-2b6d-4f8a-9e15-c0d2b4a6f817",
                "e5b1d7f3-8c2a-4a69-b0e4-3f9d1c6a2b58"
              ]
            ]
          }
        },
        "required": [
          "assetIds"
        ]
      },
      "UploadListMetaDto": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "description": "Page returned (1 with `all=true`).",
            "examples": [
              1
            ]
          },
          "limit": {
            "type": "integer",
            "description": "Page size used (the total count with `all=true`).",
            "examples": [
              20
            ]
          },
          "total": {
            "type": "integer",
            "description": "Uploads matching the filters, across all pages.",
            "examples": [
              42
            ]
          },
          "totalPages": {
            "type": "integer",
            "description": "Number of pages at this `limit`: 0 when nothing matches, 1 with `all=true`.",
            "examples": [
              3
            ]
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether a later page exists.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "page",
          "limit",
          "total",
          "totalPages",
          "hasMore"
        ]
      },
      "UploadSuccessResponseDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Always `true` when the request succeeds.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "success"
        ]
      },
      "VoiceAccentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Accent ID. Matches `metadata.traits.accent` on standard and native voices.",
            "examples": [
              "american"
            ]
          },
          "label": {
            "type": "string",
            "description": "Accent name for display.",
            "examples": [
              "American"
            ]
          }
        },
        "required": [
          "id",
          "label"
        ]
      },
      "VoiceAccentsResponseDto": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "description": "The language code you sent, trimmed.",
            "examples": [
              "en-US"
            ]
          },
          "accents": {
            "description": "Accent options for the language. Empty when the language has no accent options or is not known.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VoiceAccentDto"
            }
          }
        },
        "required": [
          "language",
          "accents"
        ]
      },
      "VoiceListMetaDto": {
        "type": "object",
        "properties": {
          "page": {
            "type": "number",
            "description": "Page returned. Always 1 when `all=true`.",
            "examples": [
              1
            ]
          },
          "limit": {
            "type": "number",
            "description": "Page size used. With `all=true` it equals `total`, the number of voices returned.",
            "examples": [
              20
            ]
          },
          "total": {
            "type": "number",
            "description": "Number of voices that match the filters, across all pages.",
            "examples": [
              42
            ]
          },
          "totalPages": {
            "type": "number",
            "description": "Number of pages at this `limit`. 0 when nothing matches, 1 when `all=true`.",
            "examples": [
              3
            ]
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether a later page exists. Request `page + 1` to get it while this is `true`.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "page",
          "limit",
          "total",
          "totalPages",
          "hasMore"
        ]
      },
      "VoiceTypeProvidersDto": {
        "type": "object",
        "properties": {
          "standard": {
            "description": "Providers of standard voices for this language. Empty when standard voices are not available.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "elevenlabs",
                "cartesia",
                "microsoft"
              ]
            ]
          },
          "native": {
            "description": "Providers of native voices for this language. Empty when native voices are not available.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "elevenlabs"
              ]
            ]
          },
          "cloned": {
            "description": "Providers that can clone voices for this language. Empty when cloned voices are not available.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "cartesia",
                "elevenlabs"
              ]
            ]
          }
        },
        "required": [
          "standard",
          "native",
          "cloned"
        ]
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}
