Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

audio-upload-aioz-stream

bởi vinhbui3004

Coding Agents & IDEs
954Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Quick upload audio to AIOZ Stream API.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

HLS streaming URL for the uploaded podcast episode

Yêu cầu

  • AIOZ Stream public key
  • AIOZ Stream secret key

Cài đặt

clawhub install vinhbui3004/audio-upload-aioz-stream

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết