Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки