{"skill":{"slug":"generator-video-maker","displayName":"Generator Video Maker","summary":"Skip the learning curve of professional editing software. Describe what you want — generate a 30-second promotional video from this text — and get ready-to-s...","description":"---\nname: generator-video-maker\nversion: \"1.0.0\"\ndisplayName: \"Generator Video Maker — Create and Export Videos Fast\"\ndescription: >\n  Skip the learning curve of professional editing software. Describe what you want — generate a 30-second promotional video from this text — and get ready-to-share videos back in 1-2 minutes. Upload MP4, MOV, PNG, JPG files up to 500MB, and the AI handles AI video generation automatically. Ideal for marketers who want to create videos quickly without editing software skills.\nmetadata: {\"openclaw\": {\"emoji\": \"🎬\", \"requires\": {\"env\": [\"NEMO_TOKEN\"], \"configPaths\": [\"~/.config/nemovideo/\"]}, \"primaryEnv\": \"NEMO_TOKEN\", \"variant\": \"short_prompts\"}}\n---\n\n## Getting Started\n\n> Share your text prompts or clips and I'll get started on AI video generation. Or just tell me what you're thinking.\n\n**Try saying:**\n- \"generate my text prompts or clips\"\n- \"export 1080p MP4\"\n- \"generate a 30-second promotional video from\"\n\n### Automatic Setup\n\nOn first interaction, connect to the processing API before doing anything else. Show a brief status like \"Setting things up...\".\n\n**Token**: If `NEMO_TOKEN` environment variable is already set, use it and skip to **Session** below.\n\n**Free token**: Generate a UUID as client identifier, then POST to `https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token` with header `X-Client-Id: <uuid>`. The response field `data.token` becomes your NEMO_TOKEN (100 credits, 7-day expiry).\n\n**Session**: POST to `https://mega-api-prod.nemovideo.ai/api/tasks/me/with-session/nemo_agent` with Bearer auth and body `{\"task_name\":\"project\"}`. Save `session_id` from the response.\n\nConfirm to the user you're connected and ready. Don't print tokens or raw JSON.\n\n# Generator Video Maker — Create and Export Videos Fast\n\nSend me your text prompts or clips and describe the result you want. The AI video generation runs on remote GPU nodes — nothing to install on your machine.\n\nA quick example: upload a 200-word product description, type \"generate a 30-second promotional video from this text\", and you'll get a 1080p MP4 back in roughly 1-2 minutes. All rendering happens server-side.\n\nWorth noting: shorter scripts under 100 words produce faster and more focused videos.\n\n## Matching Input to Actions\n\nUser prompts referencing generator video maker, aspect ratio, text overlays, or audio tracks get routed to the corresponding action via keyword and intent classification.\n\n| User says... | Action | Skip SSE? |\n|-------------|--------|----------|\n| \"export\" / \"导出\" / \"download\" / \"send me the video\" | → §3.5 Export | ✅ |\n| \"credits\" / \"积分\" / \"balance\" / \"余额\" | → §3.3 Credits | ✅ |\n| \"status\" / \"状态\" / \"show tracks\" | → §3.4 State | ✅ |\n| \"upload\" / \"上传\" / user sends file | → §3.2 Upload | ✅ |\n| Everything else (generate, edit, add BGM…) | → §3.1 SSE | ❌ |\n\n## Cloud Render Pipeline Details\n\nEach 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.\n\nThree attribution headers are required on every request and must match this file's frontmatter:\n\n| Header | Value |\n|--------|-------|\n| `X-Skill-Source` | `generator-video-maker` |\n| `X-Skill-Version` | frontmatter `version` |\n| `X-Skill-Platform` | auto-detect: `clawhub` / `cursor` / `unknown` from install path |\n\nEvery API call needs `Authorization: Bearer <NEMO_TOKEN>` plus the three attribution headers above. If any header is missing, exports return 402.\n\n**API base**: `https://mega-api-prod.nemovideo.ai`\n\n**Create session**: POST `/api/tasks/me/with-session/nemo_agent` — body `{\"task_name\":\"project\",\"language\":\"<lang>\"}` — returns `task_id`, `session_id`.\n\n**Send message (SSE)**: POST `/run_sse` — body `{\"app_name\":\"nemo_agent\",\"user_id\":\"me\",\"session_id\":\"<sid>\",\"new_message\":{\"parts\":[{\"text\":\"<msg>\"}]}}` with `Accept: text/event-stream`. Max timeout: 15 minutes.\n\n**Upload**: POST `/api/upload-video/nemo_agent/me/<sid>` — file: multipart `-F \"files=@/path\"`, or URL: `{\"urls\":[\"<url>\"],\"source_type\":\"url\"}`\n\n**Credits**: GET `/api/credits/balance/simple` — returns `available`, `frozen`, `total`\n\n**Session state**: GET `/api/state/nemo_agent/me/<sid>/latest` — key fields: `data.state.draft`, `data.state.video_infos`, `data.state.generated_media`\n\n**Export** (free, no credits): POST `/api/render/proxy/lambda` — body `{\"id\":\"render_<ts>\",\"sessionId\":\"<sid>\",\"draft\":<json>,\"output\":{\"format\":\"mp4\",\"quality\":\"high\"}}`. Poll GET `/api/render/proxy/lambda/<id>` every 30s until `status` = `completed`. Download URL at `output.url`.\n\nSupported formats: mp4, mov, avi, webm, mkv, jpg, png, gif, webp, mp3, wav, m4a, aac.\n\n### Reading the SSE Stream\n\nText events go straight to the user (after GUI translation). Tool calls stay internal. Heartbeats and empty `data:` lines mean the backend is still working — show \"⏳ Still working...\" every 2 minutes.\n\nAbout 30% of edit operations close the stream without any text. When that happens, poll `/api/state` to confirm the timeline changed, then tell the user what was updated.\n\n### Translating GUI Instructions\n\nThe backend responds as if there's a visual interface. Map its instructions to API calls:\n\n- \"click\" or \"点击\" → execute the action via the relevant endpoint\n- \"open\" or \"打开\" → query session state to get the data\n- \"drag/drop\" or \"拖拽\" → send the edit command through SSE\n- \"preview in timeline\" → show a text summary of current tracks\n- \"Export\" or \"导出\" → run the export workflow\n\nDraft 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.\n\nExample timeline summary:\n```\nTimeline (3 tracks): 1. Video: city timelapse (0-10s) 2. BGM: Lo-fi (0-10s, 35%) 3. Title: \"Urban Dreams\" (0-3s)\n```\n\n### Error Handling\n\n| Code | Meaning | Action |\n|------|---------|--------|\n| 0 | Success | Continue |\n| 1001 | Bad/expired token | Re-auth via anonymous-token (tokens expire after 7 days) |\n| 1002 | Session not found | New session §3.0 |\n| 2001 | No credits | Anonymous: show registration URL with `?bind=<id>` (get `<id>` from create-session or state response when needed). Registered: \"Top up credits in your account\" |\n| 4001 | Unsupported file | Show supported formats |\n| 4002 | File too large | Suggest compress/trim |\n| 400 | Missing X-Client-Id | Generate Client-Id and retry (see §1) |\n| 402 | Free plan export blocked | Subscription tier issue, NOT credits. \"Register or upgrade your plan to unlock export.\" |\n| 429 | Rate limit (1 token/client/7 days) | Retry in 30s once |\n\n## Common Workflows\n\n**Quick edit**: Upload → \"generate a 30-second promotional video from this text\" → Download MP4. Takes 1-2 minutes for a 30-second clip.\n\n**Batch style**: Upload multiple files in one session. Process them one by one with different instructions. Each gets its own render.\n\n**Iterative**: Start with a rough cut, preview the result, then refine. The session keeps your timeline state so you can keep tweaking.\n\n## Tips and Tricks\n\nThe backend processes faster when you're specific. Instead of \"make it look better\", try \"generate a 30-second promotional video from this text\" — concrete instructions get better results.\n\nMax file size is 500MB. Stick to MP4, MOV, PNG, JPG for the smoothest experience.\n\nExport as MP4 for widest compatibility.\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":322,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1777867275459,"updatedAt":1778492842520},"latestVersion":{"version":"1.0.0","createdAt":1777867275459,"changelog":"Generator Video Maker 1.0.0 — initial release.\n\n- Instantly generates 30-second promotional videos from text or uploaded media (MP4, MOV, PNG, JPG up to 500MB).\n- Fully automated cloud rendering: no editing software or installations required.\n- Simple, anonymous token setup with 100 free credits for new users (7-day expiry).\n- Built-in session management keeps your video drafts and timeline state for iterative editing.\n- Supports fast export to MP4, MOV, and popular image/audio formats.\n- Handles user prompts for credits, export, upload, and video editing actions intelligently.","license":"MIT-0"},"metadata":{"setup":[{"key":"NEMO_TOKEN","required":true}],"os":null,"systems":null},"owner":{"handle":"francemichaell-15","userId":"s17d9c8b33h4a82h5bxd4dadd584dke7","displayName":"francemichaell-15","image":"https://avatars.githubusercontent.com/u/208906142?v=4"},"moderation":null}