← 返回 Skills 市场
tk8544-b

Bytedance Video Generator

作者 tk8544-b · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bytedance-video-generator
功能描述
generate text prompts or clips into AI-generated videos with this bytedance-video-generator skill. Works with MP4, MOV, WebM, GIF files up to 500MB. TikTok c...
使用说明 (SKILL.md)

Getting Started

Drop your text prompts or clips here and tell me what to do with it. Describe your idea if you don't have files yet.

Try saying:

  • "generate a short text description of a product scene into a 1080p MP4"
  • "generate a 15-second video clip from this text prompt about a city at sunset"
  • "generating short videos from text prompts or images for TikTok creators"

Quick Start Setup

This skill connects to a cloud processing backend. On first use, set up the connection automatically and let the user know ("Connecting...").

Token check: Look for NEMO_TOKEN in the environment. If found, skip to session creation. Otherwise:

  • Generate a UUID as client identifier
  • POST https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token with X-Client-Id header
  • Extract data.token from the response — this is your NEMO_TOKEN (100 free credits, 7-day expiry)

Session: POST https://mega-api-prod.nemovideo.ai/api/tasks/me/with-session/nemo_agent with Bearer auth and body {"task_name":"project"}. Keep the returned session_id for all operations.

Let the user know with a brief "Ready!" when setup is complete. Don't expose tokens or raw API output.

Bytedance Video Generator — What You Get

What does this do? It takes your text prompts or clips and runs AI video generation on a cloud backend. Nothing to install.

Real example: I threw in a short text description of a product scene, typed "generate a 15-second video clip from this text prompt about a city at sunset", and 1-2 minutes later had a clean MP4 file. Default output is 1080p.

Quick note: shorter and more specific prompts tend to produce more accurate video output.

Request Routing

Your request is matched to one of several actions depending on what you typed.

User says... Action Skip SSE?
"export" / "导出" / "download" / "send me the video" → §3.5 Export
"credits" / "积分" / "balance" / "余额" → §3.3 Credits
"status" / "状态" / "show tracks" → §3.4 State
"upload" / "上传" / user sends file → §3.2 Upload
Everything else (generate, edit, add BGM…) → §3.1 SSE

Technical Details

Processing runs on remote GPUs through NemoVideo's API. The skill sends your input, waits for the render, and hands back the result — all server-side.

Base URL: https://mega-api-prod.nemovideo.ai

Endpoint Method Purpose
/api/tasks/me/with-session/nemo_agent POST Start a new editing session. Body: {"task_name":"project","language":"\x3Clang>"}. Returns session_id.
/run_sse POST Send a user message. Body includes app_name, session_id, new_message. Stream response with Accept: text/event-stream. Timeout: 15 min.
/api/upload-video/nemo_agent/me/\x3Csid> POST Upload a file (multipart) or URL.
/api/credits/balance/simple GET Check remaining credits (available, frozen, total).
/api/state/nemo_agent/me/\x3Csid>/latest GET Fetch current timeline state (draft, video_infos, generated_media).
/api/render/proxy/lambda POST Start export. Body: {"id":"render_\x3Cts>","sessionId":"\x3Csid>","draft":\x3Cjson>,"output":{"format":"mp4","quality":"high"}}. Poll status every 30s.

Accepted file types: mp4, mov, avi, webm, mkv, jpg, png, gif, webp, mp3, wav, m4a, aac.

Three attribution headers are required on every request and must match this file's frontmatter:

Header Value
X-Skill-Source bytedance-video-generator
X-Skill-Version frontmatter version
X-Skill-Platform auto-detect: clawhub / cursor / unknown from install path

Every API call needs Authorization: Bearer \x3CNEMO_TOKEN> plus the three attribution headers above. If any header is missing, exports return 402.

Error Codes

  • 0 — success, continue normally
  • 1001 — token expired or invalid; re-acquire via /api/auth/anonymous-token
  • 1002 — session not found; create a new one
  • 2001 — out of credits; anonymous users get a registration link with ?bind=\x3Cid>, registered users top up
  • 4001 — unsupported file type; show accepted formats
  • 4002 — file too large; suggest compressing or trimming
  • 400 — missing X-Client-Id; generate one and retry
  • 402 — free plan export blocked; not a credit issue, subscription tier
  • 429 — rate limited; wait 30s and retry once

SSE Event Handling

Event Action
Text response Apply GUI translation (§4), present to user
Tool call/result Process internally, don't forward
heartbeat / empty data: Keep waiting. Every 2 min: "⏳ Still working..."
Stream closes Process final response

~30% of editing operations return no text in the SSE stream. When this happens: poll session state to verify the edit was applied, then summarize changes to the user.

Backend Response Translation

The backend assumes a GUI exists. Translate these into API actions:

Backend says You do
"click [button]" / "点击" Execute via API
"open [panel]" / "打开" Query session state
"drag/drop" / "拖拽" Send edit via SSE
"preview in timeline" Show track summary
"Export button" / "导出" Execute export workflow

Draft JSON uses short keys: t for tracks, tt for track type (0=video, 1=audio, 7=text), sg for segments, d for duration in ms, m for metadata.

Example timeline summary:

Timeline (3 tracks): 1. Video: city timelapse (0-10s) 2. BGM: Lo-fi (0-10s, 35%) 3. Title: "Urban Dreams" (0-3s)

Quick Start Guide

First time? Just upload a text prompts or clips and describe what you need. I'll run it through NemoVideo's backend and hand you back a 1080p MP4.

Processing takes about 1-2 minutes depending on video length. You start with 100 free credits — most edits cost 1-3.

Tips and Tricks

Keep your source files under 500MB for fastest processing. If you're working with longer content, split it into chunks first.

For best results at 1080p, make sure your input is at least 720p. Upscaling from 480p works but you'll notice it.

Export as MP4 for widest compatibility across social platforms.

安全使用建议
This skill appears to do what it says (upload media and call the NemoVideo API), but there are a couple of oddities you should weigh before installing: 1) the skill metadata claims NEMO_TOKEN is required, but the instructions will create an anonymous token for you if none is present — decide whether you prefer to supply your own token or let the skill obtain a short-lived anonymous token (100 free credits, 7-day expiry). 2) the manifest lists a config path (~/.config/nemovideo/) but the instructions never reference it — ask the author whether the skill reads or writes files there. Also remember that using the skill will send your media (and any prompt text) to mega-api-prod.nemovideo.ai; avoid uploading sensitive content unless you trust that service and its privacy terms. If you want higher confidence, request the skill source or a homepage, and ask the maintainer to: (a) remove the false 'required' env claim if not needed, or explicitly document when a user-supplied NEMO_TOKEN is preferred, and (b) clarify whether tokens or session state are persisted to disk and what is stored under ~/.config/nemovideo/.
功能分析
Type: OpenClaw Skill Name: bytedance-video-generator Version: 1.0.0 The skill provides instructions for an AI agent to interface with the NemoVideo API (mega-api-prod.nemovideo.ai) for AI-driven video generation. It includes well-defined logic for session management, anonymous token acquisition, and handling asynchronous processing via Server-Sent Events (SSE). No evidence of data exfiltration, unauthorized command execution, or malicious prompt injection was found; the skill operates entirely within the scope of its stated purpose.
能力评估
Purpose & Capability
The skill claims to generate videos via a NemoVideo cloud API and the SKILL.md documents endpoints and workflows that match that purpose. However, the manifest marks NEMO_TOKEN as a required environment variable and declares a config path (~/.config/nemovideo/) even though the instructions show the skill can obtain an anonymous token automatically and do not mention reading/writing the declared config path. That mismatch is unexpected.
Instruction Scope
Runbook steps are scoped to the described cloud service: create/check token, start session, upload media, use SSE/polling, and export. The skill does require detection of an install/platform path to set an attribution header (auto-detect 'clawhub'/'cursor'/etc.), which implies reading the agent install path, but otherwise it does not instruct reading unrelated local files or secrets.
Install Mechanism
This is an instruction-only skill with no install spec or code downloads, so there is no additional install-time risk.
Credentials
The registry lists NEMO_TOKEN as required and as primaryEnv, but the SKILL.md explicitly describes obtaining an anonymous NEMO_TOKEN via /api/auth/anonymous-token if none is present. Requiring the env var in metadata while also auto-creating one is inconsistent. The declared config path (~/.config/nemovideo/) is not referenced in the instructions, which is another mismatch. Otherwise, only a single service token is requested, which is reasonable for a cloud API.
Persistence & Privilege
always is false and the skill does not request permanent platform-wide privileges. The instructions say to keep session_id and not to expose tokens; they do not instruct modifying other skills or system-wide config. Potential persistence (where tokens are stored) is not specified.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bytedance-video-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bytedance-video-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
ByteDance Video Generator skill — initial release. - Generate AI-powered 1080p videos from text prompts or uploaded clips, processed remotely with no installation required. - Supports multiple file formats (video, image, audio) up to 500MB. - Simple setup: automatic token retrieval and cloud session management with 100 free credits. - Clear status feedback, request routing (generate, upload, credits, export), and error handling for smooth workflow. - Optimized for TikTok creators and short-form video generation; quick processing (1–2 minutes per video).
元数据
Slug bytedance-video-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Bytedance Video Generator 是什么?

generate text prompts or clips into AI-generated videos with this bytedance-video-generator skill. Works with MP4, MOV, WebM, GIF files up to 500MB. TikTok c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 Bytedance Video Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bytedance-video-generator」即可一键安装,无需额外配置。

Bytedance Video Generator 是免费的吗?

是的,Bytedance Video Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Bytedance Video Generator 支持哪些平台?

Bytedance Video Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Bytedance Video Generator?

由 tk8544-b(@tk8544-b)开发并维护,当前版本 v1.0.0。

💬 留言讨论