← 返回 Skills 市场
whitejohnk-26

Ai Voiceover For Videos

作者 whitejohnk-26 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
98
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-voiceover-for-videos
功能描述
Turn a 2-minute product demo video into 1080p voiced-over videos just by typing what you need. Whether it's adding AI-generated narration to silent or muted...
使用说明 (SKILL.md)

Getting Started

Got video files to work with? Send it over and tell me what you need — I'll take care of the AI voiceover generation.

Try saying:

  • "add a 2-minute product demo video into a 1080p MP4"
  • "add a natural-sounding voiceover in English explaining each slide"
  • "adding AI-generated narration to silent or muted videos for content creators and marketers"

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.

AI Voiceover for Videos — Generate and Add Video Narration

This tool takes your video files and runs AI voiceover generation through a cloud rendering pipeline. You upload, describe what you want, and download the result.

Say you have a 2-minute product demo video and want to add a natural-sounding voiceover in English explaining each slide — the backend processes it in about 30-60 seconds and hands you a 1080p MP4.

Tip: shorter clips under 60 seconds generate voiceover the fastest.

Matching Input to Actions

User prompts referencing ai voiceover for videos, aspect ratio, text overlays, or audio tracks get routed to the corresponding action via keyword and intent classification.

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

Cloud Render Pipeline Details

Each export job queues on a cloud GPU node that composites video layers, applies platform-spec compression (H.264, up to 1080x1920), and returns a download URL within 30-90 seconds. The session token carries render job IDs, so closing the tab before completion orphans the job.

All calls go to https://mega-api-prod.nemovideo.ai. The main endpoints:

  1. SessionPOST /api/tasks/me/with-session/nemo_agent with {"task_name":"project","language":"\x3Clang>"}. Gives you a session_id.
  2. Chat (SSE)POST /run_sse with session_id and your message in new_message.parts[0].text. Set Accept: text/event-stream. Up to 15 min.
  3. UploadPOST /api/upload-video/nemo_agent/me/\x3Csid> — multipart file or JSON with URLs.
  4. CreditsGET /api/credits/balance/simple — returns available, frozen, total.
  5. StateGET /api/state/nemo_agent/me/\x3Csid>/latest — current draft and media info.
  6. ExportPOST /api/render/proxy/lambda with render ID and draft JSON. Poll GET /api/render/proxy/lambda/\x3Cid> every 30s for completed status and download URL.

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

Headers are derived from this file's YAML frontmatter. X-Skill-Source is ai-voiceover-for-videos, X-Skill-Version comes from the version field, and X-Skill-Platform is detected from the install path (~/.clawhub/ = clawhub, ~/.cursor/skills/ = cursor, otherwise unknown).

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

Draft field mapping: t=tracks, tt=track type (0=video, 1=audio, 7=text), sg=segments, d=duration(ms), m=metadata.

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

Translating GUI Instructions

The backend responds as if there's a visual interface. Map its instructions to API calls:

  • "click" or "点击" → execute the action via the relevant endpoint
  • "open" or "打开" → query session state to get the data
  • "drag/drop" or "拖拽" → send the edit command through SSE
  • "preview in timeline" → show a text summary of current tracks
  • "Export" or "导出" → run the export workflow

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.

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

Tips and Tricks

The backend processes faster when you're specific. Instead of "make it look better", try "add a natural-sounding voiceover in English explaining each slide" — concrete instructions get better results.

Max file size is 500MB. Stick to MP4, MOV, AVI, WebM for the smoothest experience.

Export as MP4 for widest compatibility across platforms and devices.

Common Workflows

Quick edit: Upload → "add a natural-sounding voiceover in English explaining each slide" → Download MP4. Takes 30-60 seconds for a 30-second clip.

Batch style: Upload multiple files in one session. Process them one by one with different instructions. Each gets its own render.

Iterative: Start with a rough cut, preview the result, then refine. The session keeps your timeline state so you can keep tweaking.

安全使用建议
This skill appears to do what it says (upload videos to a cloud render service and return a voiced-over video), but it contacts an external API (mega-api-prod.nemovideo.ai) and may read a user config folder (~/.config/nemovideo/). Before installing or using it: 1) Do not upload sensitive or private videos to this service unless you trust the domain and privacy policy. 2) Ask the skill author for source code or a homepage and clarification about the configPath requirement (why does it need ~/.config/nemovideo/?). 3) If you test it, use a throwaway NEMO_TOKEN or anonymous token and avoid running it in environments containing other credentials. 4) Prefer skills with a verifiable source or published package; absence of a homepage/source increases risk. If the author clarifies the configPath mismatch and provides source code or an official homepage, reassess — that could reduce the concern.
功能分析
Type: OpenClaw Skill Name: ai-voiceover-for-videos Version: 1.0.0 The skill provides a functional interface for an AI video narration service via the `nemovideo.ai` API. It contains detailed instructions for the agent to manage session states, handle file uploads, and process server-sent events (SSE) for video rendering. While it includes logic to automatically provision an anonymous authentication token if one is not provided, all network activity and data handling are strictly aligned with the stated purpose of video processing, and the instructions explicitly direct the agent to protect sensitive tokens from exposure.
能力评估
Purpose & Capability
Name/description match the runtime instructions: the skill uploads videos and requests a cloud render pipeline. Requesting a single API token (NEMO_TOKEN) is coherent for a cloud service. However, the SKILL.md frontmatter also declares a required config path (~/.config/nemovideo/) while the registry metadata listed no required config paths — this mismatch is unexplained and worth clarifying.
Instruction Scope
Runtime instructions direct the agent to: look for NEMO_TOKEN in the environment, create an anonymous token via POST if missing, upload user video files to https://mega-api-prod.nemovideo.ai, stream/poll SSE endpoints, and detect the agent install path to set attribution headers. Uploading user files to an external service is expected for this task but is privacy-sensitive. Detecting install paths and accessing a user config directory (~/.config/nemovideo/) are extra filesystem probes that are not necessary for simple voiceover generation and expand the skill's access to local data.
Install Mechanism
No install spec and no code files (instruction-only). This minimizes on-disk persistence and reduces code-install risk.
Credentials
The skill only declares NEMO_TOKEN as the primary credential, which is proportionate. But the SKILL.md instructs creating or retrieving a token automatically if none exists and also references reading a user config path (~/.config/nemovideo/). That combination could allow the skill to read existing local credentials or config and transmit them to the external service — the registry's omission of the configPath makes this behavior unclear and concerning.
Persistence & Privilege
always:false and no install steps. The skill doesn't request permanent platform-level presence or modification of other skills. Autonomous invocation is allowed (platform default) but not, by itself, an elevated privilege.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-voiceover-for-videos
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-voiceover-for-videos 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of AI Voiceover for Videos. - Instantly add AI-generated narration to uploaded video files—no timeline editing needed. - Quick setup: auto-connects to backend and manages authentication seamlessly. - Supports exporting MP4 videos up to 1080p with natural-sounding voiceovers in 30–90 seconds. - Built-in commands for uploading, exporting, checking credits, and tracking job status. - Works with a wide range of formats and handles common editing tasks through simple text instructions.
元数据
Slug ai-voiceover-for-videos
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ai Voiceover For Videos 是什么?

Turn a 2-minute product demo video into 1080p voiced-over videos just by typing what you need. Whether it's adding AI-generated narration to silent or muted... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。

如何安装 Ai Voiceover For Videos?

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

Ai Voiceover For Videos 是免费的吗?

是的,Ai Voiceover For Videos 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ai Voiceover For Videos 支持哪些平台?

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

谁开发了 Ai Voiceover For Videos?

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

💬 留言讨论