> ## Documentation Index
> Fetch the complete documentation index at: https://docs.creatok.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove watermarks from a video

> Submit an asynchronous video cleaning job. Upload with POST /files first. Supported videos: MP4, MOV, AVI, WebM and MKV, 1–60 seconds, at most 50 MiB. Subtitle removal requires selected_area with normalized coordinates in [0,1]; watermark removal processes the full frame. Media properties are inspected by the server. Pricing is based on server-inspected source duration. See https://www.creatok.ai/app/api-platform/pricing for current rates. Reuse the same Idempotency-Key and body after a timeout. Poll GET /jobs/{jobId}; outputs expire 48 hours after completion. Always inspect Job.status, including on 202 responses.



## OpenAPI

````yaml /api-reference/openapi.json post /videos/remove-watermarks
openapi: 3.1.0
info:
  title: CreatOK API
  version: 1.3.0
  description: >-
    Asynchronous media generation and TikTok Shop publishing API. Authenticate
    with a Bearer organization API key (cok_). Personal CLI/MCP keys are not
    accepted. Resource responses are returned directly, without a code/data
    envelope. Each response includes X-Request-Id.
servers:
  - url: https://api.creatok.ai/v1
security: []
paths:
  /videos/remove-watermarks:
    post:
      summary: Remove watermarks from a video
      description: >-
        Submit an asynchronous video cleaning job. Upload with POST /files
        first. Supported videos: MP4, MOV, AVI, WebM and MKV, 1–60 seconds, at
        most 50 MiB. Subtitle removal requires selected_area with normalized
        coordinates in [0,1]; watermark removal processes the full frame. Media
        properties are inspected by the server. Pricing is based on
        server-inspected source duration. See
        https://www.creatok.ai/app/api-platform/pricing for current rates. Reuse
        the same Idempotency-Key and body after a timeout. Poll GET
        /jobs/{jobId}; outputs expire 48 hours after completion. Always inspect
        Job.status, including on 202 responses.
      operationId: removeVideoWatermarks
      parameters:
        - name: Idempotency-Key
          in: header
          schema:
            type: string
            minLength: 1
            maxLength: 255
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WatermarkRemovalRequest'
      responses:
        '202':
          description: Accepted Job, or original Job on idempotent replay.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
        '400':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKey: []
components:
  schemas:
    WatermarkRemovalRequest:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        max_cost_usd:
          type: string
          pattern: ^\d+(\.\d{1,6})?$
        metadata:
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
        input:
          type: object
          properties:
            video:
              type: string
              minLength: 1
              maxLength: 512
              description: >-
                file_id from POST /files, or its upload_fields.key; must belong
                to the authenticated organization.
          required:
            - video
          additionalProperties: false
      required:
        - input
      additionalProperties: false
    Job:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          const: job
        capability:
          type: string
        model:
          anyOf:
            - type: string
            - type: 'null'
        status:
          type: string
          enum:
            - queued
            - running
            - succeeded
            - failed
            - canceled
        input:
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
        output:
          type: object
          properties:
            files:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                  url:
                    type: string
                required:
                  - type
                  - url
                additionalProperties: false
          required:
            - files
          additionalProperties: false
        cost:
          type: object
          properties:
            amount_usd:
              type: string
              description: >-
                Original charge in USD, as a decimal string with six places. It
                does not decrease after a refund.
            refunded_usd:
              type: string
              description: >-
                Actual refunded USD, as a decimal string with six places; zero
                until a refund is recorded.
          required:
            - amount_usd
            - refunded_usd
          additionalProperties: false
        error:
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
              required:
                - code
                - message
              additionalProperties: false
            - type: 'null'
        metadata:
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
        created_at:
          type: string
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
        expires_at:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - id
        - object
        - capability
        - model
        - status
        - input
        - output
        - cost
        - error
        - metadata
        - created_at
        - completed_at
        - expires_at
      additionalProperties: false
    Error:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - request_id
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: CreatOK organization API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.