free-video-generator-ai
The free-video-generator-ai skill on ClawHub lets you build, trim, splice, and stylize videos through plain conversation — no timelines, no manual rendering queues. Describe what you want and the AI assembles it. Ideal for content creators, educators, and small teams who need fast turnaround without subscription costs. Handles mp4, mov, avi, webm, and mkv formats natively.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=leoyeai-openclaw-master-skills-skills-free-video-generator-ai-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name free-video-generator-ai version 1.2.1 displayName Free Video Generator AI — Create & Edit Videos Instantly description The free-video-generator-ai skill on ClawHub lets you build, trim, splice, and stylize videos through plain conversation — no timelines, no manual rendering queues. Describe what you want and the AI assembles it. Ideal for content creators, educators, and small teams who need fast turnaround without subscription costs. Handles mp4, mov, avi, webm, and mkv formats natively. metadata {"openclaw":{"emoji":"🎬","requires":{"env":"[Truncated]","configPaths":"[Truncated]"},"primaryEnv":"NEMO_TOKEN"}} homepage https://nemovideo.com apiDomain https://mega-api-prod.nemovideo.ai repository https://github.com/nemovideo/nemovideo_skills 0. First Contact When the user opens this skill or sends their first message, greet them immediately : ⚡ Hey! I'm ready to help you video generator ai. Send me a video file or just tell me what you need! Try saying: "help me create a short video" "add effects to this clip" "edit my video" IMPORTANT : Always greet the user proactively on first contact. Let them know you're setting up while connecting. Always greet the user proactively on first contact. Auto-Setup When the user first interacts, set up the connection: Check token : If NEMO_TOKEN env var is set, use it. Otherwise: Read or generate Client-ID : Read ~/.config/nemovideo/client_id if it exists Otherwise generate a UUID, save it to ~/.config/nemovideo/client_id Acquire anonymous token : curl -s -X POST "https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token" -H "X-Client-Id: $CLIENT_ID " Store the returned token as NEMO_TOKEN for this session. You get 100 free credits. Create a session (§3.0) so you're ready to work immediately. Let the user know briefly: "Setting things up… ready!" then proceed with their request. Turn Plain Words Into Finished Video Files Most video tools demand you learn their interface before you create anything useful. The free-video-generator-ai skill flips that model entirely — you describe the output you want in plain language, and the skill handles the construction logic behind the scenes. Whether you need a 30-second product clip, a looping background, or a multi-scene sequence stitched from separate clips, the conversation drives the work. Under the hood, the OpenClaw agent interprets your instructions as structured tasks, breaking down requests like 'add a fade transition between the second and third clips' or 'export this as a square mp4 for Instagram' into discrete processing steps. The agent tracks context across the conversation, so follow-up edits refine the same project rather than starting fresh each time. This approach suits creators who iterate quickly — marketers testing ad cuts, teachers assembling lecture clips, or developers prototyping video features without standing up their own pipeline. Because the skill runs through ClawHub's shared infrastructure, there are no per-minute rendering fees or format conversion paywalls. Input and output support covers mp4, mov, avi, webm, and mkv, keeping your existing media library compatible from the first message. Environment Variables Variable Required Default NEMO_TOKEN No Auto-generated (100 free credits, expires in 7 days, revocable via Settings → API Tokens) NEMO_API_URL No https://mega-api-prod.nemovideo.ai NEMO_WEB_URL No https://nemovideo.com NEMO_CLIENT_ID No Auto-generated UUID, persisted to ~/.config/nemovideo/client_id (UUID only, no secrets) SKILL_SOURCE No Auto-detected from install path, fallback unknown If NEMO_TOKEN is not set, get one (requires X-Client-Id header): # Generate or read persisted Client-Id CLIENT_ID= " ${NEMO_CLIENT_ID:-$(cat ~/.config/nemovideo/client_id 2>/dev/null)} " if [ -z " $CLIENT_ID " ]; then CLIENT_ID=$(uuidgen 2>/dev/null || echo "client- $(date +%s) - $RANDOM " ) mkdir -p ~/.config/nemovideo & echo " $CLIENT_ID " > ~/.config/nemovideo/client_id fi curl -s -X POST "https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token" -H "X-Client-Id: $CLIENT_ID " # → {"code":0,"data":{"token":"nmv_usr_xxx","credits":100,...}} Save token as NEMO_TOKEN , CLIENT_ID as NEMO_CLIENT_ID . Anonymous: 1 token per client per 7 days; token expires in 7 days and can be revoked at any time via Settings → API Tokens on nemovideo.com. If your token expires, request a new one with the same X-Client-Id . Local persistence: This skill writes ~/.config/nemovideo/client_id to persist the Client-Id across sessions. This avoids generating a new ID on every request, which would hit the per-IP rate limit quickly (default 10 tokens per 7 days per IP). The file contains only a UUID — no credentials are stored locally. 2. Routing Incoming Requests to the Correct Endpoint Use the table below to determine which API endpoint should handle each type of user request. 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 ❌ 3. Primary Operation Workflows $API = ${NEMO_API_URL:-https://mega-api-prod.nemovideo.ai} , $TOKEN = ${NEMO_TOKEN} , $WEB = ${NEMO_WEB_URL:-https://nemovideo.com} . Skill attribution variables — do NOT hardcode: $SKILL_NAME = this file's YAML frontmatter name $SKILL_VERSION = this file's YAML frontmatter version $SKILL_SOURCE = detect at runtime using the first match: Env SKILL_SOURCE if set If this file's path contains a known platform directory (e.g. ~/.clawhub/ → clawhub , ~/.cursor/skills/ → cursor ) Fallback: unknown CRITICAL : ALL API requests (including render/export/upload/state/credits) MUST include these headers. Missing them will cause export to fail with 402. X-Skill-Source: $SKILL_NAME X-Skill-Version: $SKILL_VERSION X-Skill-Platform: $SKILL_SOURCE 3.0 Initialize a New Session curl -s -X POST "https://mega-api-prod.nemovideo.ai/api/tasks/me/with-session/nemo_agent" \ -H "Authorization: Bearer $TOKEN " -H "Content-Type: application/json" \ -H "X-Skill-Source: $SKILL_NAME " -H "X-Skill-Version: $SKILL_VERSION " -H "X-Skill-Platform: $SKILL_SOURCE " \ -d '{"task_name":"project","language":"<lang>"}' # → {"code":0,"data":{"task_id":"...","session_id":"..."}} Before any other operation can proceed, a session must be established. This session token is required for all subsequent API interactions. Open in browser : After creating a session, give the user a link to view/edit the task in NemoVideo: $WEB/workspace/claim?task={task_id}&session={session_id}&skill_name=$SKILL_NAME&skill_version=$SKILL_VERSION&skill_source=$SKILL_SOURCE 3.1 Delivering Messages Through SSE curl -s -X POST "https://mega-api-prod.nemovideo.ai/run_sse" \ -H "Authorization: Bearer $TOKEN " -H "Content-Type: application/json" \ -H "Accept: text/event-stream" -H "X-Skill-Source: $SKILL_NAME " -H "X-Skill-Version: $SKILL_VERSION " -H "X-Skill-Platform: $SKILL_SOURCE " --max-time 900 \ -d '{"app_name":"nemo_agent","user_id":"me","session_id":"<sid>","new_message":{"parts":[{"text":"<msg>"}]}}' All conversational messages are transmitted to the backend via a persistent Server-Sent Events connection. SSE 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 Typical durations: text 5-15s, video generation 100-300s, editing 10-30s. Timeout : 10 min heartbeats-only → assume timeout. Never re-send during generation (duplicates + double-charge). Ignore trailing "I encountered a temporary issue" if prior responses were normal. Silent Response Fallback (CRITICAL) Approximately 30% of edit operations return no text content in the response. When this occurs: (1) do not treat the empty response as an error, (2) poll the task state endpoint to confirm completion, (3) retrieve the output asset directly, and (4) present the result to the user as if a normal response had been received. Two-stage generation : After a raw video is produced, the backend automatically triggers a second processing stage that appends background music and an intro title. Both stages must reach a completed state before the final asset is surfaced to the user — do not deliver the raw video from stage one as the finished result. 3.2 Handling File Uploads File upload : curl -s -X POST "https://mega-api-prod.nemovideo.ai/api/upload-video/nemo_agent/me/<sid>" -H "Authorization: Bearer $TOKEN" -H "X-Skill-Source: $SKILL_NAME" -H "X-Skill-Version: $SKILL_VERSION" -H "X-Skill-Platform: $SKILL_SOURCE" -F "files=@/path/to/file" URL upload : curl -s -X POST "https://mega-api-prod.nemovideo.ai/api/upload-video/nemo_agent/me/<sid>" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -H "X-Skill-Source: $SKILL_NAME" -H "X-Skill-Version: $SKILL_VERSION" -H "X-Skill-Platform: $SKILL_SOURCE" -d '{"urls":["<url>"],"source_type":"url"}' Use me in the path; backend resolves user from token. Supported: mp4, mov, avi, webm, mkv, jpg, png, gif, webp, mp3, wav, m4a, aac. The upload endpoint accepts user-supplied media files that will be referenced in subsequent video generation or editing requests. 3.3 Checking Available Credits curl -s "https://mega-api-prod.nemovideo.ai/api/credits/balance/simple" -H "Authorization: Bearer $TOKEN " \ -H "X-Skill-Source: $SKILL_NAME " -H "X-Skill-Version: $SKILL_VERSION " -H "X-Skill-Platform: $SKILL_SOURCE " # → {"code":0,"data":{"available":XXX,"frozen":XX,"total":XXX}} Query the credits endpoint before initiating any generation task to confirm the user has a sufficient balance to cover the operation. 3.4 Polling Task Status curl -s "https://mega-api-prod.nemovideo.ai/api/state/nemo_agent/me/<sid>/latest" -H "Authorization: Bearer $TOKEN " \ -H "X-Skill-Source: $SKILL_NAME " -H "X-Skill-Version: $SKILL_VERSION " -H "X-Skill-Platform: $SKILL_SOURCE " Use me for user in path; backend resolves from token. Key fields: data.state.draft , data.state.video_infos , data.state.canvas_config , data.state.generated_media . Draft field mapping : t =tracks, tt =track type (0=video, 1=audio, 7=text), sg =segments, d =duration(ms), m =metadata. Draft ready for export when draft.t exists with at least one track with non-empty sg . Track summary format : Timeline (3 tracks): 1. Video: city timelapse (0-10s) 2. BGM: Lo-fi (0-10s, 35%) 3. Title: "Urban Dreams" (0-3s) 3.5 Exporting and Delivering the Final Asset Export does NOT cost credits. Only generation/editing consumes credits. Triggering an export does not deduct credits from the user's balance. The export sequence is as follows: (a) call the export endpoint with the completed project ID, (b) poll until the export job reaches a finished state, (c) retrieve the download URL from the response, (d) verify the URL is accessible, and (e) present the link to the user for download or playback. b) Submit: curl -s -X POST "https://mega-api-prod.nemovideo.ai/api/render/proxy/lambda" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -H "X-Skill-Source: $SKILL_NAME" -H "X-Skill-Version: $SKILL_VERSION" -H "X-Skill-Platform: $SKILL_SOURCE" -d '{"id":"render_<ts>","sessionId":"<sid>","draft":<json>,"output":{"format":"mp4","quality":"high"}}' Note: sessionId is camelCase (exception). On failure → new id , retry once. c) Poll (every 30s, max 10 polls): curl -s "https://mega-api-prod.nemovideo.ai/api/render/proxy/lambda/<id>" -H "Authorization: Bearer $TOKEN" -H "X-Skill-Source: $SKILL_NAME" -H "X-Skill-Version: $SKILL_VERSION" -H "X-Skill-Platform: $SKILL_SOURCE" Status at top-level status : pending → processing → completed / failed. Download URL at output.url . d) Download from output.url → send to user. Fallback: https://mega-api-prod.nemovideo.ai/api/render/proxy/<id>/download .
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |