openapi: 3.0.0
servers:
  - url: https://prod.api.market/api/v1/magicapi/video-watermarking-api
info:
  title: Fast Video Watermarking API (AddWatermark)
  description: Effortlessly add crisp, customizable watermarks to your videos in
    secondsideal for brand protection and content creators.
  version: f274d1efdd9d249cef68fccd028d70e4134b2d59f2b02b42a4e78350849d0e57
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            properties:
              loc:
                items:
                  anyOf:
                    - type: string
                    - type: integer
                title: Location
                type: array
              msg:
                title: Message
                type: string
              type:
                title: Error Type
                type: string
            required:
              - loc
              - msg
              - type
            title: ValidationError
            type: object
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    Input:
      properties:
        size:
          default: 40
          description: Size of font
          maximum: 500
          minimum: 1
          title: Size
          type: integer
          x-order: 1
          example: 40
        video:
          description: Input video
          format: uri
          title: Video
          type: string
          x-order: 0
          example: https://replicate.delivery/pbxt/JzweHYSSY69C9uUq2wAcqX3suV9zdL3C6Ujk2hrxynOJ0JHm/vidswap600883.mp4
        watermark:
          default: FULLJOURNEY.AI
          description: Watermark Text
          title: Watermark
          type: string
          x-order: 2
          example: FULLJOURNEY.AI
      required:
        - video
      title: Input
      type: object
    Output:
      format: uri
      title: Output
      type: string
    PredictionRequest:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        id:
          title: Id
          type: string
        input:
          properties:
            size:
              default: 40
              description: Size of font
              maximum: 500
              minimum: 1
              title: Size
              type: integer
              x-order: 1
            video:
              description: Input video
              format: uri
              title: Video
              type: string
              x-order: 0
            watermark:
              default: FULLJOURNEY.AI
              description: Watermark Text
              title: Watermark
              type: string
              x-order: 2
          required:
            - video
          title: Input
          type: object
        output_file_prefix:
          title: Output File Prefix
          type: string
        webhook:
          format: uri
          maxLength: 65536
          minLength: 1
          title: Webhook
          type: string
        webhook_events_filter:
          default:
            - start
            - output
            - logs
            - completed
          items:
            description: An enumeration.
            enum:
              - start
              - output
              - logs
              - completed
            title: WebhookEvent
            type: string
          type: array
      title: PredictionRequest
      type: object
    PredictionResponse:
      properties:
        completed_at:
          format: date-time
          title: Completed At
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        error:
          title: Error
          type: string
        id:
          title: Id
          type: string
        input:
          properties:
            size:
              default: 40
              description: Size of font
              maximum: 500
              minimum: 1
              title: Size
              type: integer
              x-order: 1
            video:
              description: Input video
              format: uri
              title: Video
              type: string
              x-order: 0
            watermark:
              default: FULLJOURNEY.AI
              description: Watermark Text
              title: Watermark
              type: string
              x-order: 2
          required:
            - video
          title: Input
          type: object
        logs:
          default: ""
          title: Logs
          type: string
        metrics:
          title: Metrics
          type: object
        output:
          format: uri
          title: Output
          type: string
        started_at:
          format: date-time
          title: Started At
          type: string
        status:
          description: An enumeration.
          enum:
            - starting
            - processing
            - succeeded
            - canceled
            - failed
          title: Status
          type: string
        version:
          title: Version
          type: string
      title: PredictionResponse
      type: object
    Status:
      description: An enumeration.
      enum:
        - starting
        - processing
        - succeeded
        - canceled
        - failed
      title: Status
      type: string
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    WebhookEvent:
      description: An enumeration.
      enum:
        - start
        - output
        - logs
        - completed
      title: WebhookEvent
      type: string
  securitySchemes: {}
security: {}
paths: {}
tags:
  - name: video
    description: Operations related to video
  - name: business
    description: Operations related to business
  - name: artificial-intelligence
    description: Operations related to artificial-intelligence
