upload-media

Upload media files to Jimeng VOD and return Vid, URI, and metadata.

60|10|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/BENZEMA216/ai-ecommerce-agent-skills --skill upload-media-benzema216
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upload-media
Source: https://github.com/BENZEMA216/ai-ecommerce-agent-skills/tree/main/upload-media
Command: npx skills add https://github.com/BENZEMA216/ai-ecommerce-agent-skills --skill upload-media-benzema216

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

本技能实现将本地视频、音频或图片一键上传至即梦(Jimeng) VOD 平台,并在上传完成后返回 Vid,解决手动上传、凭证管理与分块传输等繁琐流程。

Core Features & Use Cases

  • Automatic media upload: Upload video, audio, or image files to Jimeng VOD and obtain a Vid for further management.
  • STS token handling & chunked uploads: 自动处理 STS 临时凭证、4MB 分片上传与 CRC 校验,确保大文件稳定传输。
  • Return metadata & integration: 提供 Vid、URI 及元数据,方便后续在字节跳动生态内联动发布与索引。

Quick Start

Provide the path to a local media file and upload it to Jimeng VOD to receive its Vid.

Frequently Asked Questions about upload-media

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload local media files to Jimeng VOD and get a Vid?

Uploading local media to Jimeng VOD and obtaining a Vid requires providing a local file path. The process handles STS token acquisition, validates file type, selects the appropriate VOD FileType, and returns a JSON payload including vid, uri, and metadata.

How does chunked upload with STS tokens work for large media files?

Chunked upload with STS tokens works by acquiring temporary credentials and splitting media into 4MB chunks. It applies CRC checks during transfer to ensure stable large file uploads, then registers the upload to obtain the final Vid.

Can I use Python requests to automate video upload to Jimeng VOD?

Yes, you can automate video upload to Jimeng VOD using Python. This automation relies on the requests library to handle STS token management and 4MB chunked transfers for fetching the final Vid.

What file types are supported for automatic media upload to Jimeng VOD?

Supported file types for automatic media upload to Jimeng VOD include video, audio, and image files. The process automatically validates the file type and selects the corresponding VOD FileType before initiating the chunked transfer.

What metadata is returned after a successful Jimeng VOD upload?

After a successful Jimeng VOD upload, the returned metadata includes a JSON payload containing the vid, uri, and associated media metadata. This output facilitates subsequent indexing and integration within the ByteDance ecosystem.