Creates a direct upload that allows video uploads without an API key.
Parameters for the direct upload
The direct upload details.
Uploads a new video from a provided URL.
The URL to upload from.
Optionalparams: StreamUrlUploadParamsOptional upload parameters.
The uploaded video details.
Returns a handle scoped to a single video for per-video operations.
The unique identifier for the video.
A handle for per-video operations.
Binding entrypoint for Cloudflare Stream.
Usage:
await env.STREAM.videos.uploadawait env.STREAM.videos.createDirectUploadawait env.STREAM.videos.*await env.STREAM.watermarks.*await env.STREAM.video(id).downloads.*await env.STREAM.video(id).captions.*Example usage: