Picsart Video AI icon

Picsart Video AI

Generate images and stickers with Picsart API: generate from prompt

Video → Make Video CTV-Compatible

AI-generated

Summary

Encodes a video to meet Connected TV (CTV) compatibility requirements via the Picsart Video API.

Inputs

  • videoUrl (required) — Source video URL (WEBM, MP4 or MOV, max 100MB, max 1920x1080).
  • mode — Execution mode (simple or advanced). The API endpoint only accepts the video URL; advanced mode does not expose additional parameters in the filtered properties, suggesting the API handles all logic internally.

Output shape

One item containing a binary data field (ctv-video.mp4) and JSON metadata.

Returns a binary file with MIME type video/mp4. The JSON output includes the resulting video URL, the original video URL, and the transaction ID. The operation polls the API until the encoding completes or times out after 600 attempts.

Examples

Example 1: Convert a standard MP4 video to a CTV-compatible format.

Input: MP4 URL; Mode: Simple.

Example 2: Process a larger source file (up to 100MB) for CTV streaming.

Input: WEBM or MOV URL; Mode: Simple.

Links

Discussion