Перейти к содержимому
TakoAPI
Назад к навыкам

video-upload-aioz-stream

от vinhbui3004

Coding Agents & IDEs
956Число загрузок по данным clawskills.sh
0Просмотры
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

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки