Ai Short Video — AI Short Video
v1.0.0Turn a 10-minute v记录 recording into 1080p short video 命令行工具ps just by typing what you need. Whether it's generating short 命令行工具ps from long recordings or quick social content, drop your raw footage and describe the 结果 you want. No timeline dragging, no 导出 设置tings — 1-2 minutes from 上传 to 下载.
运行时依赖
安装命令
点击复制技能文档
获取ting 启动ed
Got raw footage to work with? 发送 it over and tell me what you need — I'll take care of the AI short video creation.
Try saying:
"生成 a 10-minute v记录 recording into a 1080p MP4" "cut this into a 60-second highlight reel with captions and background music" "generating short 命令行工具ps from long recordings for TikTok 创建器s" First-Time Connection
When a user first opens this 技能, connect to the processing backend automatically. Briefly let them know (e.g. "设置ting up...").
Authentication: 检查 if NEMO_令牌 is 设置 in the 环境. If it is, skip to step 2.
ObtAIn a free 令牌: 生成 a random UUID as 命令行工具ent identifier. POST to https://mega-API-prod.nemovideo.AI/API/auth/anonymous-令牌 with header X-命令行工具ent-Id 设置 to that UUID. The 响应 data.令牌 is your NEMO_令牌 — 100 free credits, valid 7 days. 创建 a 会话: POST to https://mega-API-prod.nemovideo.AI/API/tasks/me/with-会话/nemo_代理 with Authorization: Bearer <令牌>, Content-Type: 应用/json, and body {"task_name":"project","language":"<检测ed>"}. Store the returned 会话_id for all subsequent 请求s.
Keep 设置up communication brief. Don't display raw API 响应s or 令牌 values to the user.
AI Short Video — 生成 Short 命令行工具ps from Footage
This 工具 takes your raw footage and 运行s AI short video creation through a cloud rendering 流水线. You 上传, describe what you want, and 下载 the 结果.
Say you have a 10-minute v记录 recording and want to cut this into a 60-second highlight reel with captions and background music — the backend processes it in about 1-2 minutes and hands you a 1080p MP4.
Tip: vertical 9:16 video works fine for TikTok and Reels 输出.
Matching 输入 to Actions
User prompts referencing AI short video, aspect ratio, text overlays, or audio 追踪s 获取 路由d to the cor响应ing action via keyword and intent classification.
User says... Action Skip SSE? "导出" / "导出" / "下载" / "发送 me the video" → §3.5 导出 ✅ "credits" / "积分" / "balance" / "余额" → §3.3 Credits ✅ "状态" / "状态" / "show 追踪s" → §3.4 状态 ✅ "上传" / "上传" / user 发送s file → §3.2 上传 ✅ Everything else (生成, edit, 添加 BGM…) → §3.1 SSE ❌ Cloud Render 流水线 DetAIls
Each 导出 job 队列s on a cloud GPU node that composites video layers, 应用lies 平台-spec 压缩ion (H.264, up to 1080x1920), and returns a 下载 URL within 30-90 seconds. The 会话 令牌 carries render job IDs, so closing the tab before completion orphans the job.
Every API call needs Authorization: Bearer plus the three attribution headers above. If any header is missing, 导出s return 402.
Headers are derived from this file's YAML frontmatter. X-技能-Source is AI-short-video, X-技能-Version comes from the version field, and X-技能-平台 is 检测ed from the 安装 path (~/.ClawHub/ = ClawHub, ~/.cursor/技能s/ = cursor, otherwise unknown).
API base: https://mega-API-prod.nemovideo.AI
创建 会话: POST /API/tasks/me/with-会话/nemo_代理 — body {"task_name":"project","language":""} — returns task_id, 会话_id.
发送 message (SSE): POST /运行_sse — body {"应用_name":"nemo_代理","user_id":"me","会话_id":"","new_message":{"parts":[{"text":""}]}} with Accept: text/event-流. Max timeout: 15 minutes.
上传: POST /API/上传-video/nemo_代理/me/ — file: multipart -F "files=@/path", or URL: {"urls":[""],"source_type":"url"}
Credits: 获取 /API/credits/balance/simple — returns avAIlable, frozen, total
会话 状态: 获取 /API/状态/nemo_代理/me//latest — key fields: data.状态.draft, data.状态.video_信息s, data.状态.生成d_media
导出 (free, no credits): POST /API/render/proxy/lambda — body {"id":"render_","会话Id":"","draft":,"输出":{"格式化":"mp4","质量":"high"}}. Poll 获取 /API/render/proxy/lambda/ every 30s until 状态 = completed. 下载 URL at 输出.url.
Supported 格式化s: mp4, mov, avi, 网页m, mkv, jpg, png, gif, 网页p, mp3, wav, m4a, aac.
Error Codes 0 — 成功, continue normally 1001 — 令牌 expired or invalid; re-acquire via /API/auth/anonymous-令牌 1002 — 会话 not found; 创建 a new one 2001 — out of credits; anonymous users 获取 a registration link with ?bind=, registered users top up 4001 — unsupported file type; show accepted 格式化s 4002 — file too large; suggest 压缩ing or trimming 400 — missing X-命令行工具ent-Id; 生成 one and retry 402 — free plan 导出 blocked; not a credit issue, subscription tier 429 — rate limited; wAIt 30s and retry once Translating 图形界面 Instructions
The backend 响应s as if there's a visual interface. Map its instructions to API calls:
"命令行工具ck" or "点击" → 执行 the action via the relevant 端点 "open" or "打开" → 查询 会话 状态 to 获取 the data "drag/drop" or "拖拽" → 发送 the edit command through SSE "preview in timeline" → show a text summary of current 追踪s "导出" or "导出" → 运行 the 导出 工作流 SSE Event Handling Event Action Text respon