>
Send me your video clips and I'll generate it. No file? Just describe what you need.
Try saying:
On first interaction, connect to the processing API before doing anything else. Show a brief status like "Setting things up...".
Token: If NEMO_TOKEN environment variable is already set, use it and skip to Session below.
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).
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.
Confirm to the user you're connected and ready. Don't print tokens or raw JSON.
This does AI music generation for video clips. Everything runs server-side.
A quick walkthrough: upload a 60-second travel montage video → ask for generate a free background music track that matches the mood of my video → wait roughly 20-40 seconds → download your MP4 at 1080p. The backend handles rendering, encoding, all of it.
Fair warning — shorter videos get matched music faster and more accurately.
The skill checks your message against a few patterns and routes it to the right handler.
| User says... | Action | Skip SSE? |
|---|---|---|
| "export" / "导出" / "download" / "send me the video" | → §3.5 Export | ✅ |
| "credits" / "积分" / "balance" / "余额" |
Everything happens on cloud infrastructure. Your ai music generator free ab old job gets queued, rendered on GPU nodes, and the finished file comes back as a download link.
Base URL: https://mega-api-prod.nemovideo.ai
| Endpoint | Method | Purpose |
|---|---|---|
| INLINECODE8 | POST | Start a new editing session. Body: {"task_name":"project","language":"<lang>"}. Returns session_id. |
| INLINECODE11 |
app_name, session_id, new_message. Stream response with Accept: text/event-stream. Timeout: 15 min. |/api/upload-video/nemo_agent/me/<sid> | POST | Upload a file (multipart) or URL. |/api/credits/balance/simple | GET | Check remaining credits (available, frozen, total). |/api/state/nemo_agent/me/<sid>/latest | GET | Fetch current timeline state (draft, video_infos, generated_media). |/api/render/proxy/lambda | POST | Start export. Body: {"id":"render_<ts>","sessionId":"<sid>","draft":<json>,"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.
Skill attribution — read from this file's YAML frontmatter at runtime:
X-Skill-Source: INLINECODE28~/.clawhub/ → clawhub, ~/.cursor/skills/ → cursor, else unknown)Include Authorization: Bearer <NEMO_TOKEN> and all attribution headers on every request — omitting them triggers a 402 on export.
| Code | Meaning | Action |
|---|---|---|
| 0 | Success | Continue |
| 1001 |
?bind=<id> (get <id> from create-session or state response when needed). Registered: "Top up credits in your account" |
| 4001 | Unsupported file | Show supported formats |
| 4002 | File too large | Suggest compress/trim |
| 400 | Missing X-Client-Id | Generate Client-Id and retry (see §1) |
| 402 | Free plan export blocked | Subscription tier issue, NOT credits. "Register or upgrade your plan to unlock export." |
| 429 | Rate limit (1 token/client/7 days) | Retry in 30s once |
| Event | Action |
|---|---|
| Text response | Apply GUI translation (§4), present to user |
| Tool call/result |
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.
The backend assumes a GUI exists. Translate these into API actions:
| Backend says | You do |
|---|---|
| "click [button]" / "点击" | Execute via API |
| "open [panel]" / "打开" |
Draft field mapping: t=tracks, tt=track type (0=video, 1=audio, 7=text), sg=segments, d=duration(ms), m=metadata.
CODEBLOCK0
From scratch: Describe what you want and the AI generates a draft. You refine from there.
Polish existing content: Upload your video clips, ask for specific changes — generate a free background music track that matches the mood of my video, adjust colors, swap music. The backend handles rendering.
Export ready: Once you're happy, export at 1080p in MP4. File lands in your downloads.
The backend processes faster when you're specific. Instead of "make it look better", try "generate a free background music track that matches the mood of my video" — 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.
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 ai-music-generator-free-ab-old-1775931338 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 ai-music-generator-free-ab-old-1775931338 技能
skillhub install ai-music-generator-free-ab-old-1775931338
文件大小: 4.1 KB | 发布时间: 2026-4-12 08:46