تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

audio-upload-aioz-stream

بواسطة vinhbui3004

Coding Agents & IDEs
954التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط