Upload and processing methods

When providing content to the platform, you can upload or import it as a reusable asset, or pass it inline. For embeddings and video analysis, you also choose a processing mode based on the duration of your file.

Upload methods

You can provide content to the platform in two ways:

MethodDescriptionUse for
AssetsCreates a reusable resource with a unique identifier. You can reference your assets across multiple operations.Search, analysis, and embeddings
InlineProvides content inline through a URL or base64-encoded data. You cannot reuse this contentAnalysis and embeddings

When providing a URL, use direct links to raw media files. Video hosting platforms and cloud storage sharing links are not supported.

Assets

When you upload or import content as an asset, you can use one of the following methods:

MethodContentLimitReference
Direct uploadsVideo, audio, and imagesVideo and audio: up to 200 MB (local files) or 4 GB (public URLs). Images: up to 32 MB.Python SDK | Node.js SDK | API Reference
Multipart uploadsVideo, audio, and images (local files)Video and audio: up to 10 GB. Images: up to 32 MB.Python SDK | Node.js SDK | API Reference
Data connectorsVideo, audio, and images (Google Drive)Video: up to 10 GB. Audio: up to 4 GB. Images: up to 32 MB.Python SDK | Node.js SDK | API Reference

Direct uploads are processed asynchronously. Every upload returns status: processing; poll the status of the asset until it is ready before you use the asset.

Use multipart uploads for larger local video and audio files.

The limits above apply when you upload or import content. Each model applies its own file size and duration limits. For details, see the Marengo and Pegasus requirements.

Inline

Provide content inline in the request for one-time embedding generation. You cannot reuse this content across multiple operations.

MethodLimit
URL4 GB
Base6436 MB for video and audio, 5 MB for images

Processing modes

Choose a processing mode based on the type and duration of your content. Both modes support all input methods (asset ID, URL, and base64).

Analyze videos

ModeLimitReference
SyncUp to 1 hourPython SDK | Node.js SDK | API Reference
AsyncUp to 2 hoursPython SDK | Node.js SDK | API Reference

The synchronous mode returns results immediately. The asynchronous mode creates an analysis task that you poll until processing completes. Streaming responses are only available with the synchronous mode.

Create embeddings

ModeContent typeLimitReference
SyncVideo, audioUp to 10 minutesPython SDK | Node.js SDK | API Reference
SyncImagesUp to 5 MBPython SDK | Node.js SDK | API Reference
AsyncVideo, audio10 minutes to 4 hoursPython SDK | Node.js SDK | API Reference

The synchronous mode returns results immediately. The asynchronous mode creates an embedding task that you poll until processing completes.

Search content

To search content, upload or import your files as assets.