video-upload-aioz-stream
bởi vinhbui3004
Coding Agents & IDEsTóm tắt
Quick upload video to AIOZ Stream API.
Mô tả
Kỹ năng này làm gì
Uploads video files to the AIOZ Stream platform via a 3-step API flow: create a video object, upload the file, then complete the upload to trigger transcoding. Supports both quick default uploads and custom encoding configurations with resolution, codec, and bitrate options. Returns the HLS or DASH streaming URL after upload.
Handles the full multipart upload flow including MD5 hashing, Content-Range headers, and transcoding completion in a single guided interaction rather than requiring manual API calls.
Khi nào nên dùng
- Uploading a tutorial video to get an HLS streaming link
- Publishing a product demo with custom 720p and 1080p quality presets
- Batch-uploading lecture recordings to AIOZ Stream for delivery
- Replacing a video's thumbnail after upload
- Estimating transcoding cost before uploading a long video
Quy trình ví dụ
User asks: Upload /home/user/tutorial.mp4 to AIOZ Stream with title 'Intro Tutorial' at 720p and 1080p
- 1
Prompt user for AIOZ Stream public and secret keys if not provided
- 2
POST to /api/videos/create with title and quality configuration to obtain VIDEO_ID
- 3
Compute file size and MD5 hash of tutorial.mp4, then POST file binary to /api/videos/VIDEO_ID/part with Content-Range header
- 4
GET /api/videos/VIDEO_ID/complete to finalize upload and trigger transcoding
- 5
GET /api/videos/VIDEO_ID to retrieve and return the HLS streaming URL
Streaming URL returned to user, e.g. https://stream.aioz.network/videos/VIDEO_ID/index.m3u8
Yêu cầu
- AIOZ Stream public key
- AIOZ Stream secret key
Cài đặt
clawhub install vinhbui3004/video-upload-aioz-streamChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.