跳到正文
TakoAPI
返回技能列表

video-upload-aioz-stream

由 vinhbui3004 提供

Coding Agents & IDEs
956下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Quick upload video to AIOZ Stream API.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Upload /home/user/tutorial.mp4 to AIOZ Stream with title 'Intro Tutorial' at 720p and 1080p

智能体
  1. 1

    Prompt user for AIOZ Stream public and secret keys if not provided

  2. 2

    POST to /api/videos/create with title and quality configuration to obtain VIDEO_ID

  3. 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. 4

    GET /api/videos/VIDEO_ID/complete to finalize upload and trigger transcoding

  5. 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

前置要求

  • AIOZ Stream public key
  • AIOZ Stream secret key

安装

clawhub install vinhbui3004/video-upload-aioz-stream

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接