Video

Concatenate Videos

POST /concat
Concatenate(merge) up to 6 videos into one.
{
  "urls": [
    "string" // Video URL
  ]
}

Reformat Video

POST /reformat
Convert a video to a target aspect ratio.
{
  "url": "string",      // Video URL
  "target": "9:16"|"16:9" // Target aspect ratio
}

Add Watermark

POST /watermark
Add a small text watermark in the bottom right corner.
{
  "url": "string",  // Video URL
  "text": "string"  // Watermark text
}
Image

Resize Image

POST /image/resize
Resize an image by URL or base64. Supports fixed size or auto reduction.
{
  "url": "string",         // (optional) Image URL
  "base64": "string",      // (optional) Image as base64
  "mode": "fixed|auto",    // Resize mode
  "width": 800,             // (fixed) Target width
  "height": 600,            // (fixed) Target height
  "maxSize": 1900           // (auto) Max size in KB
}

Upload Base64 Image

POST /api/upload-base64
Upload a file as base64 in the request body and get public url.
{
  "base64": "string",   // File as base64
}

Add Text to Image

POST /image/add-text
Add styled text to an bottom of an image (YouTube thumbnail style).
{
  "url": "string",        // (optional) Image URL
  "base64": "string",     // (optional) Image as base64
  "text": "string",       // Text to add
  "fontSize": 72,          // (optional) Font size
  "fontColor": "#fff",    // (optional) Font color
  "bgColor": "rgba(...)"  // (optional) Background color (supports alpha)
}
#ffffff
rgba(24,26,27,1)

Change Image Aspect Ratio

POST /api/image/aspect-ratio
Change the aspect ratio of an image. Adds bars for exceeded space.
{
  "url": "string",      // (optional) Image URL
  "base64": "string",   // (optional) Image as base64
  "target": "square"|"portrait"|"landscape" // Target aspect ratio
}
Helpers

Upload File to Cloud

POST /upload
Upload a file and get a public URL (valid for 7 days).

Image to Base64

Most endpoints rely on base64 as well.