create_video_from_url
Register a public HTTPS video URL for analysis. The API ingests MP4 or QuickTime files up to 2 GiB, processes them asynchronously, and returns a ready video resource with an ID.
Instructions
Register a video from a public https URL for analysis (POST /v1/videos, URL-ingest mode). The API fetches the video asynchronously — the returned video starts in status "processing" and becomes "ready". Supports video/mp4 and video/quicktime, max 2 GiB. Returns the video resource with its id (video_…).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https URL of the video to ingest (https only, port 443). | |
| metadata | No | Optional key-value metadata to attach. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fps | Yes | ||
| error | Yes | ||
| width | Yes | ||
| height | Yes | ||
| object | Yes | ||
| source | Yes | ||
| status | Yes | ||
| upload | Yes | ||
| filename | Yes | ||
| livemode | No | ||
| metadata | No | ||
| created_at | Yes | ||
| duration_s | Yes | ||
| expires_at | Yes | ||
| size_bytes | Yes | ||
| content_type | Yes |