/install bytedance-video-generator
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-tokenwithX-Client-Idheader - Extract
data.tokenfrom 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 normally1001— token expired or invalid; re-acquire via/api/auth/anonymous-token1002— session not found; create a new one2001— out of credits; anonymous users get a registration link with?bind=\x3Cid>, registered users top up4001— unsupported file type; show accepted formats4002— file too large; suggest compressing or trimming400— missingX-Client-Id; generate one and retry402— free plan export blocked; not a credit issue, subscription tier429— 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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bytedance-video-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/bytedance-video-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。