跳到正文
TakoAPI
返回技能列表

audio-upload-aioz-stream

由 vinhbui3004 提供

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

简介

Quick upload audio to AIOZ Stream API.

描述

该技能的功能

Uploads audio files to AIOZ Stream using a 3-step API flow: create an audio object, upload the file binary, then complete the upload to trigger transcoding. Supports both quick uploads with a title only and custom configurations with quality presets, bitrate, sample rate, and HLS/DASH encoding options. Returns an HLS streaming link after upload.

Automates the full 3-call AIOZ Stream upload sequence, including MD5 hashing and Content-Range header handling, which would otherwise require manual API construction.

何时使用

  • Uploading a podcast episode to get a shareable streaming link
  • Publishing a music track with 320kbps high-quality HLS encoding
  • Hosting audio files on AIOZ Stream for use in a web player
  • Uploading voice recordings with low-bitrate settings to minimize bandwidth
  • Creating multi-quality audio streams from a single source file

示例工作流

输入

User asks: Upload /recordings/podcast.mp3 to AIOZ Stream with title Weekly Tech Podcast

智能体
  1. 1

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

  2. 2

    Call create endpoint with title and type audio to get AUDIO_ID

  3. 3

    Compute file size and MD5 hash of the audio file

  4. 4

    Upload file binary with Content-Range header and hash to the part endpoint

  5. 5

    Call complete endpoint to finalize upload and trigger transcoding

  6. 6

    Fetch audio detail and extract HLS URL from assets field

输出

HLS streaming URL for the uploaded podcast episode

前置要求

  • AIOZ Stream public key
  • AIOZ Stream secret key

安装

clawhub install vinhbui3004/audio-upload-aioz-stream

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

链接