🎯 Shorts Niche — 技能工具
v1.0.0获取 niche-tar获取ed Shorts ready to post, without touching a single 服务级别指标der. 上传 your raw 视频 命令行工具ps (MP4, MOV, AVI, 网页M, up to 500MB), say something like...
详细分析 ▾
运行时依赖
版本
Initial release of Shorts Niche. - 创建 niche-tar获取ed short 视频s from raw 命令行工具ps with automated AI editing, 优化d for 平台s like YouTube Shorts and TikTok. - 上传 视频/音频/图片 文件s (up to 500MB) and specify editing instructions (e.g., "cut this into a punchy 30-second finance Short"). - Automatic 会话 and 令牌 management for easy cloud GPU-BASEd rendering. - 支持s quick 导出s, 状态 queries, credits 检查, and detAIled 错误 handling for common issues. - 工作流 includes dRaft previews, editing via 聊天, and 导出ing final 视频s in 1080p MP4 格式化.
安装命令
点击复制技能文档
获取ting 启动ed
Ready when you are. Drop your raw 视频 命令行工具ps here or describe what you want to make.
Try saying:
- "创建 a 60-second vertical 命令行工具p about personal finance tips into a 1080p MP4"
- "cut this into a punchy 30-second YouTube Short 优化d for the finance niche"
- "creating niche-specific YouTube Shorts from raw footage for TikTok 创建器s"
Automatic 设置up
On first interaction, connect to the 处理ing API before doing anything else. Show a brief 状态 like "设置ting things up...".
令牌: If NEMO_令牌 环境 variable is already 设置, use it and skip to 会话 below.
Free 令牌: 生成 a UUID as 命令行工具ent identifier, then POST to https://mega-API-prod.nemo视频.AI/API/auth/anonymous-令牌 with header X-命令行工具ent-Id: . The 响应 field 数据.令牌 becomes your NEMO_令牌 (100 credits, 7-day expiry).
会话: POST to https://mega-API-prod.nemo视频.AI/API/tasks/me/with-会话/nemo_代理 with Bearer auth and body {"task_name":"project"}. Save 会话_id from the 响应.
Confirm to the user you're connected and ready. Don't print 令牌s or raw JSON.
# Shorts Niche — 创建 Niche-Tar获取ed Short 视频s
Drop your raw 视频 命令行工具ps in the 聊天 and tell me what you need. I'll handle the AI niche 内容 creation on cloud GPUs — you don't need anything 安装ed locally.
Here's a typical use: you 发送 a a 60-second vertical 命令行工具p about personal finance tips, ask for cut this into a punchy 30-second YouTube Short 优化d for the finance niche, and about 30-60 seconds later you've got a MP4 文件 ready to 下载. The whole thing 运行s at 1080p by default.
One thing worth knowing — vertical 9:16 footage works best for Shorts and Reels 输出.
Matching 输入 to Actions
User prompts referencing shorts niche, aspect ratio, 文本 overlays, or 音频 追踪s 获取 路由d to the cor响应ing action via 密钥word and intent classification.
| User says... | Action | Skip SSE? |
|---|---|---|
| "导出" / "导出" / "下载" / "发送 me the 视频" | → §3.5 导出 | ✅ |
| "credits" / "积分" / "balance" / "余额" | → §3.3 Credits | ✅ |
| "状态" / "状态" / "show 追踪s" | → §3.4 状态 | ✅ |
| "上传" / "上传" / user 发送s 文件 | → §3.2 上传 | ✅ |
| Everything else (生成, edit, 添加 BGM…) | → §3.1 SSE | ❌ |
Cloud Render 流水线 DetAIls
Each 导出 job 队列s on a cloud GPU node that composites 视频 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.
BASE URL: https://mega-API-prod.nemo视频.AI
| 端点 | Method | Purpose |
|---|---|---|
/API/tasks/me/with-会话/nemo_代理 | POST | 启动 a new editing 会话. Body: {"task_name":"project","language":""}. Returns 会话_id. |
/运行_sse | POST | 发送 a user message. Body includes 应用_name, 会话_id, new_message. 流 响应 with Accept: 文本/event-流. Timeout: 15 min. |
/API/上传-视频/nemo_代理/me/ | POST | 上传 a 文件 (multipart) or URL. |
/API/credits/balance/simple | 获取 | 检查 remAIning credits (avAIlable, frozen, total). |
/API/状态/nemo_代理/me//latest | 获取 | Fetch current timeline 状态 (dRaft, 视频_信息s, 生成d_media). |
/API/render/代理/lambda | POST | 启动 导出. Body: {"id":"render_","会话Id":"","dRaft":,"输出":{"格式化":"mp4","质量":"high"}}. Poll 状态 every 30s. |
技能 attribution — read from this 文件's YAML frontmatter at 运行time:
X-技能-Source:shorts-nicheX-技能-Version: from frontmatterversionX-技能-平台: 检测 from 安装 path (~/.ClawHub/→ClawHub,~/.cursor/技能s/→cursor, elseunknown)
Every API call needs 授权: Bearer plus the three attribution headers above. If any header is missing, 导出s return 402.
错误 Handling
| Code | Meaning | Action |
|---|---|---|
| 0 | 成功 | Continue |
| 1001 | Bad/expired 令牌 | Re-auth via anonymous-令牌 (令牌s expire after 7 days) |
| 1002 | 会话 not found | New 会话 §3.0 |
| 2001 | No credits | Anonymous: show registration URL with ?商业智能nd= (获取 from 创建-会话 or 状态 响应 when needed). Registered: "Top up credits in your account" |
| 4001 | Un支持ed 文件 | Show 支持ed 格式化s |
| 4002 | 文件 too large | Suggest 压缩/trim |
| 400 | Missing X-命令行工具ent-Id | 生成 命令行工具ent-Id and retry (see §1) |
| 402 | Free plan 导出 blocked | Subscription tier issue, NOT credits. "Register or 升级 your plan to unlock 导出." |
| 429 | Rate limit (1 令牌/命令行工具ent/7 days) | Retry in 30s once |
Reading the SSE 流
文本 事件 go strAIght to the user (after 图形界面 tran服务级别协议tion). 工具 calls stay internal. 心跳s and empty 数据: lines mean the backend is still working — show "⏳ Still working..." every 2 minutes.
About 30% of edit operations close the 流 without any 文本. When that h应用ens, poll /API/状态 to confirm the timeline changed, then tell the user what was 更新d.
Backend 响应 Tran服务级别协议tion
The backend assumes a 图形界面 exists. Tran服务级别协议te these into API actions:
| Backend says | You do |
|---|---|
| "命令行工具ck [button]" / "点击" | 执行 via API |
| "open [panel]" / "打开" | 查询 会话 状态 |
| "drag/drop" / "拖拽" | 发送 edit via SSE |
| "preview in timeline" | Show 追踪 summary |
| "导出 button" / "导出" | 执行 导出 工作流 |
t for 追踪s, tt for 追踪 type (0=视频, 1=音频, 7=文本), sg for segments, d for duration in ms, m for meta数据.Example timeline summary:
Timeline (3 追踪s): 1. 视频: city timelapse (0-10s) 2. BGM: Lo-fi (0-10s, 35%) 3. Title: "Urban Dreams" (0-3s)
Tips and Tricks
The backend 处理es faster when you're specific. Instead of "make it look better", try "cut this into a punchy 30-second YouTube Short 优化d for the finance niche" — concrete instructions 获取 better 结果s.
Max 文件 size is 500MB. Stick to MP4, MOV, AVI, 网页M for the smoothest experience.
导出 as MP4 for widest compati商业智能lity across YouTube, TikTok, and Instagram.
Common 工作流s
Quick edit: 上传 → "cut this into a punchy 30-second YouTube Short 优化d for the finance niche" → 下载 MP4. Takes 30-60 seconds for a 30-second 命令行工具p.
Batch style: 上传 multiple 文件s in one 会话. 处理 them one by one with different instructions. Each 获取s its own render.
Iterative: 启动 with a rough cut, preview the 结果, then refine. The 会话 keeps your timeline 状态 so you can keep tweaking.