Aller au contenu
TakoAPI
Retour aux skills

audio-upload-aioz-stream

par vinhbui3004

Coding Agents & IDEs
954Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Quick upload audio to AIOZ Stream API.

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

SORTIE

HLS streaming URL for the uploaded podcast episode

Prérequis

  • AIOZ Stream public key
  • AIOZ Stream secret key

Installation

clawhub install vinhbui3004/audio-upload-aioz-stream

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens