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

video-upload-aioz-stream

بواسطة vinhbui3004

Coding Agents & IDEs
956التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Quick upload video to AIOZ Stream API.

الوصف

ما الذي تفعله هذه المهارة

Uploads video files to the AIOZ Stream platform via a 3-step API flow: create a video object, upload the file, then complete the upload to trigger transcoding. Supports both quick default uploads and custom encoding configurations with resolution, codec, and bitrate options. Returns the HLS or DASH streaming URL after upload.

Handles the full multipart upload flow including MD5 hashing, Content-Range headers, and transcoding completion in a single guided interaction rather than requiring manual API calls.

متى تستخدمها

  • Uploading a tutorial video to get an HLS streaming link
  • Publishing a product demo with custom 720p and 1080p quality presets
  • Batch-uploading lecture recordings to AIOZ Stream for delivery
  • Replacing a video's thumbnail after upload
  • Estimating transcoding cost before uploading a long video

مثال على سير العمل

الإدخال

User asks: Upload /home/user/tutorial.mp4 to AIOZ Stream with title 'Intro Tutorial' at 720p and 1080p

الوكيل
  1. 1

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

  2. 2

    POST to /api/videos/create with title and quality configuration to obtain VIDEO_ID

  3. 3

    Compute file size and MD5 hash of tutorial.mp4, then POST file binary to /api/videos/VIDEO_ID/part with Content-Range header

  4. 4

    GET /api/videos/VIDEO_ID/complete to finalize upload and trigger transcoding

  5. 5

    GET /api/videos/VIDEO_ID to retrieve and return the HLS streaming URL

الإخراج

Streaming URL returned to user, e.g. https://stream.aioz.network/videos/VIDEO_ID/index.m3u8

المتطلبات

  • AIOZ Stream public key
  • AIOZ Stream secret key

التثبيت

clawhub install vinhbui3004/video-upload-aioz-stream

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

الروابط