← 返回 Skills 市场
tk8544-b

Art Generator

作者 tk8544-b · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
83
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install art-generator
功能描述
Skip the learning curve of professional editing software. Describe what you want — generate an animated art video from my prompt with a cinematic style — and...
使用说明 (SKILL.md)

Getting Started

Share your text prompts and I'll get started on AI art creation. Or just tell me what you're thinking.

Try saying:

  • "generate my text prompts"
  • "export 1080p MP4"
  • "generate an animated art video from"

Getting Connected

Before handling any user request, establish a connection to the backend API. Show a brief status like "Connecting...".

If NEMO_TOKEN is in the environment, use it directly and create a session. Otherwise, acquire a free starter token:

  • Generate a UUID as client identifier
  • POST to https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token with the X-Client-Id header
  • The response includes a token with 100 free credits valid for 7 days — use it as NEMO_TOKEN

Then create a session by POSTing to https://mega-api-prod.nemovideo.ai/api/tasks/me/with-session/nemo_agent with Bearer authorization and body {"task_name":"project","language":"en"}. The session_id in the response is needed for all following requests.

Tell the user you're ready. Keep the technical details out of the chat.

Art Generator — Generate Art Videos from Text

Drop your text prompts in the chat and tell me what you need. I'll handle the AI art creation on cloud GPUs — you don't need anything installed locally.

Here's a typical use: you send a a short text description like 'a futuristic city at sunset', ask for generate an animated art video from my prompt with a cinematic style, and about 30-60 seconds later you've got a MP4 file ready to download. The whole thing runs at 1080p by default.

One thing worth knowing — shorter, more specific prompts tend to produce more consistent and usable results.

Matching Input to Actions

User prompts referencing art generator, aspect ratio, text overlays, or audio tracks get routed to the corresponding action via keyword and intent classification.

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

Cloud Render Pipeline Details

Each 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.

All calls go to https://mega-api-prod.nemovideo.ai. The main endpoints:

  1. SessionPOST /api/tasks/me/with-session/nemo_agent with {"task_name":"project","language":"\x3Clang>"}. Gives you a session_id.
  2. Chat (SSE)POST /run_sse with session_id and your message in new_message.parts[0].text. Set Accept: text/event-stream. Up to 15 min.
  3. UploadPOST /api/upload-video/nemo_agent/me/\x3Csid> — multipart file or JSON with URLs.
  4. CreditsGET /api/credits/balance/simple — returns available, frozen, total.
  5. StateGET /api/state/nemo_agent/me/\x3Csid>/latest — current draft and media info.
  6. ExportPOST /api/render/proxy/lambda with render ID and draft JSON. Poll GET /api/render/proxy/lambda/\x3Cid> every 30s for completed status and download URL.

Formats: mp4, mov, avi, webm, mkv, jpg, png, gif, webp, mp3, wav, m4a, aac.

Headers are derived from this file's YAML frontmatter. X-Skill-Source is art-generator, X-Skill-Version comes from the version field, and X-Skill-Platform is detected from the install path (~/.clawhub/ = clawhub, ~/.cursor/skills/ = cursor, otherwise unknown).

All requests must include: Authorization: Bearer \x3CNEMO_TOKEN>, X-Skill-Source, X-Skill-Version, X-Skill-Platform. Missing attribution headers will cause export to fail with 402.

Draft 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.

Example timeline summary:

Timeline (3 tracks): 1. Video: city timelapse (0-10s) 2. BGM: Lo-fi (0-10s, 35%) 3. Title: "Urban Dreams" (0-3s)

Translating GUI Instructions

The backend responds as if there's a visual interface. Map its instructions to API calls:

  • "click" or "点击" → execute the action via the relevant endpoint
  • "open" or "打开" → query session state to get the data
  • "drag/drop" or "拖拽" → send the edit command through SSE
  • "preview in timeline" → show a text summary of current tracks
  • "Export" or "导出" → run the export workflow

Reading the SSE Stream

Text 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.

About 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.

Error Codes

  • 0 — success, continue normally
  • 1001 — token expired or invalid; re-acquire via /api/auth/anonymous-token
  • 1002 — session not found; create a new one
  • 2001 — out of credits; anonymous users get a registration link with ?bind=\x3Cid>, registered users top up
  • 4001 — unsupported file type; show accepted formats
  • 4002 — file too large; suggest compressing or trimming
  • 400 — missing X-Client-Id; generate one and retry
  • 402 — free plan export blocked; not a credit issue, subscription tier
  • 429 — rate limited; wait 30s and retry once

Tips and Tricks

The backend processes faster when you're specific. Instead of "make it look better", try "generate an animated art video from my prompt with a cinematic style" — concrete instructions get better results.

Max file size is 200MB. Stick to MP4, MOV, PNG, JPG for the smoothest experience.

Export as MP4 for widest compatibility across social platforms and devices.

Common Workflows

Quick edit: Upload → "generate an animated art video from my prompt with a cinematic style" → Download MP4. Takes 30-60 seconds for a 30-second clip.

Batch style: Upload multiple files in one session. Process them one by one with different instructions. Each gets its own render.

Iterative: Start with a rough cut, preview the result, then refine. The session keeps your timeline state so you can keep tweaking.

安全使用建议
This skill appears to do what it says: it will call the nemovideo backend and needs a NEMO_TOKEN (or it will request a temporary anonymous token). Before installing or using it: 1) Only upload media you are comfortable sending to a third party — your files (up to 200MB) will be transmitted to mega-api-prod.nemovideo.ai. 2) Prefer using an account token you control rather than relying on anonymous tokens if you care about privacy/credits. 3) Note the skill will include attribution headers and attempts to detect install path/platform — this can reveal local path information; if that concerns you, ask the publisher how these headers are constructed. 4) The SKILL.md metadata mentions a config path (~/.config/nemovideo/) even though registry metadata did not list one — ask the author to clarify whether the skill will read local config files. If you need stronger assurances, request a code listing or an official homepage for the service before proceeding.
功能分析
Type: OpenClaw Skill Name: art-generator Version: 1.0.0 The skill is a functional integration for the NemoVideo AI service, allowing users to generate and export animated art videos. It defines clear procedures for authentication (using NEMO_TOKEN or an anonymous token), session management, and interaction with a specific backend API (mega-api-prod.nemovideo.ai). The instructions are well-structured to guide the agent through API calls for video processing, and there is no evidence of malicious intent, unauthorized data access, or harmful execution patterns.
能力评估
Purpose & Capability
The declared purpose (generate animated art videos) matches the single required credential (NEMO_TOKEN) and the API endpoints described. One minor inconsistency: the SKILL.md YAML metadata lists a config path (~/.config/nemovideo/) even though the registry metadata reported no required config paths; this is likely benign but worth noting.
Instruction Scope
Runtime instructions stay within the stated purpose (establish session, upload media, use SSE for edits, export renders). They direct the agent to POST to the nemovideo API, upload user-provided files (up to 200MB), and poll render status. The instructions also ask to detect an install path and set an X-Skill-Platform header — that can reveal local path/platform information. No instructions tell the agent to read unrelated system files or other credentials.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, which is the lowest-risk deployment model: nothing is written to disk by the skill itself during install.
Credentials
Only one environment variable (NEMO_TOKEN) is required, which is appropriate for an API-backed service. The skill will also acquire an anonymous token by contacting the backend if the env var is absent. Be aware the skill instructs inclusion of attribution headers (including X-Skill-Platform derived from an install path), which could leak local platform/install-path information; the SKILL.md also mentions a config path in its metadata, which may imply the skill expects or would try to read user config if present.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, does not request persistent platform privileges, and has no install-time scripts. It does not request modification of other skills' configs or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install art-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /art-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Art Generator — Generate Art Videos from Text (v1.0.0) - Initial release: instantly create cinematic animated art videos from text prompts or uploaded media. - Supports uploads (MP4, MOV, PNG, JPG) up to 200MB per file, handles all AI rendering in the cloud. - No drawing or editing skills required; generates ready-to-use videos in about 30–60 seconds. - Manages session and token setup automatically, including free starter credits for new users. - Simple commands: generate art, upload media, export videos, check credits, and monitor project status.
元数据
Slug art-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Art Generator 是什么?

Skip the learning curve of professional editing software. Describe what you want — generate an animated art video from my prompt with a cinematic style — and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。

如何安装 Art Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install art-generator」即可一键安装,无需额外配置。

Art Generator 是免费的吗?

是的,Art Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Art Generator 支持哪些平台?

Art Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Art Generator?

由 tk8544-b(@tk8544-b)开发并维护,当前版本 v1.0.0。

💬 留言讨论