Embed a Logo in a Video

This endpoint facilitates the embedding of a logo within a video file. It allows users to specify the position and size of the logo, enhancing brand visibility or adding a watermark to video content.

GIFGIF
GEThttps://api.spikes.studio/add-logo

Required Parameters

  • Name
    video_url
    Type
    string
    Description
    The URL of the video for which the logo will be added.
  • Name
    logo
    Type
    file
    Description

Optional Parameters

  • Name
    logo_position
    Type
    string
    Description
    The position on the video frame where the logo will be placed.
    • Default: "TL" (Top Left)
    • Options: "TL" (Top Left), "TR" (Top Right), "BL" (Bottom Left), "BR" (Bottom Right)
  • Name
    logo_size
    Type
    string
    Description
    The size category for the logo to be displayed in the video.
    • Default: "M" (Meduim)
    • Options: "S" (Small), "M" (Medium), "L" (Large)

Response

  • Name
    video_url
    Type
    string
    Description

    A URL of the video with logo.

  • Name
    video_information
    Type
    array
    Description

    An array of video information:

  • Name
    id
    Type
    string
    Description

    The unique identifier of the video.

  • Name
    video_length
    Type
    number
    Description

    The length of the video.

  • Name
    date
    Type
    timestamp
    Description

    The date the video was created.

Request

GET
https://api.spikes.studio/add-logo
https://api.spikes.studio/add-logo?video_url=https://example.com/video.mp4&logo=https://example.com/logo.png&position=TR&size=M

Response

  {
    "video_url": "https://example.com/video_with_logo.mp4",
    "video_information": {
      "id": "123456",
      "video_length": "00:05:23",
      "date": "2022-04-15"
    }
  }

Errors

  • Name
    400 Bad Request
    Description

    The request was malformed or missing required parameters.

  • Name
    401 Unauthorized
    Description

    The API key provided was invalid or missing.

  • Name
    404 Not Found
    Description

    The requested resource was not found.

  • Name
    500 Internal Server Error
    Description

    500 Internal Server Error

Was this page helpful?