← Back to Skills Marketplace
tk8544-b

Editor Background

by tk8544-b · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
40
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install editor-background
Description
Skip the learning curve of professional editing software. Describe what you want — replace the editor background with a clean studio backdrop — and get backg...
README (SKILL.md)

Getting Started

Ready when you are. Drop your video clips here or describe what you want to make.

Try saying:

  • "replace a 60-second talking-head video clip into a 1080p MP4"
  • "replace the editor background with a clean studio backdrop"
  • "swapping messy or distracting backgrounds in recorded video clips for content creators"

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.

Editor Background — Replace Video Backgrounds with AI

This tool takes your video clips and runs background replacement editing through a cloud rendering pipeline. You upload, describe what you want, and download the result.

Say you have a 60-second talking-head video clip and want to replace the editor background with a clean studio backdrop — the backend processes it in about 30-60 seconds and hands you a 1080p MP4.

Tip: solid or evenly lit backgrounds produce cleaner AI cutouts.

Matching Input to Actions

User prompts referencing editor background, 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.

Skill attribution — read from this file's YAML frontmatter at runtime:

  • X-Skill-Source: editor-background
  • X-Skill-Version: from frontmatter version
  • X-Skill-Platform: detect from install path (~/.clawhub/clawhub, ~/.cursor/skills/cursor, else unknown)

Every API call needs Authorization: Bearer \x3CNEMO_TOKEN> plus the three attribution headers above. If any header is missing, exports return 402.

API base: https://mega-api-prod.nemovideo.ai

Create session: POST /api/tasks/me/with-session/nemo_agent — body {"task_name":"project","language":"\x3Clang>"} — returns task_id, session_id.

Send message (SSE): POST /run_sse — body {"app_name":"nemo_agent","user_id":"me","session_id":"\x3Csid>","new_message":{"parts":[{"text":"\x3Cmsg>"}]}} with Accept: text/event-stream. Max timeout: 15 minutes.

Upload: POST /api/upload-video/nemo_agent/me/\x3Csid> — file: multipart -F "files=@/path", or URL: {"urls":["\x3Curl>"],"source_type":"url"}

Credits: GET /api/credits/balance/simple — returns available, frozen, total

Session state: GET /api/state/nemo_agent/me/\x3Csid>/latest — key fields: data.state.draft, data.state.video_infos, data.state.generated_media

Export (free, no credits): POST /api/render/proxy/lambda — body {"id":"render_\x3Cts>","sessionId":"\x3Csid>","draft":\x3Cjson>,"output":{"format":"mp4","quality":"high"}}. Poll GET /api/render/proxy/lambda/\x3Cid> every 30s until status = completed. Download URL at output.url.

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

SSE Event Handling

Event Action
Text response Apply GUI translation (§4), present to user
Tool call/result Process internally, don't forward
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.

Backend Response Translation

The backend assumes a GUI exists. Translate these into API actions:

Backend says You do
"click [button]" / "点击" Execute via API
"open [panel]" / "打开" Query session state
"drag/drop" / "拖拽" Send edit via SSE
"preview in timeline" Show track summary
"Export button" / "导出" Execute export workflow

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)

Error Handling

Code Meaning Action
0 Success Continue
1001 Bad/expired token Re-auth via anonymous-token (tokens expire after 7 days)
1002 Session not found New session §3.0
2001 No credits Anonymous: show registration URL with ?bind=\x3Cid> (get \x3Cid> 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

Common Workflows

Quick edit: Upload → "replace the editor background with a clean studio backdrop" → 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.

Tips and Tricks

The backend processes faster when you're specific. Instead of "make it look better", try "replace the editor background with a clean studio backdrop" — 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.

Usage Guidance
This skill appears to implement a normal cloud video-background workflow and legitimately needs an API token (NEMO_TOKEN) to call the external service. Before installing or invoking it: - Prefer using an ephemeral or anonymous token (the skill can fetch a 7‑day free token) rather than pasting long-lived personal credentials. - Be cautious about uploading sensitive video content — uploads go to an external domain (mega-api-prod.nemovideo.ai). Verify the service reputation and privacy/retention policies. - Note the metadata inconsistency: SKILL.md asks the agent to inspect install paths and a config directory (~/.config/nemovideo/) while registry metadata did not declare required config paths. Ask the publisher to explain why the skill needs to probe these local paths. - If you are uncomfortable with filesystem probing, avoid granting this skill access to your environment, or run it in a restricted environment/container. If the publisher can confirm that reading SKILL.md frontmatter is the only local read and that no other user files or configs are accessed, the concerns are reduced. If they cannot, treat the config-path/installation detection behaviour as a potential privacy risk.
Capability Analysis
Type: OpenClaw Skill Name: editor-background Version: 1.0.0 The skill bundle provides instructions for an AI agent to interface with a video editing API (nemovideo.ai) to perform background replacement. It includes standard procedures for authentication, session management, file uploads, and polling for render results. There are no indicators of data exfiltration, malicious execution, or unauthorized access to sensitive system files.
Capability Assessment
Purpose & Capability
Name/description claim cloud-based background-replacement for uploaded videos. The declared primary env (NEMO_TOKEN) and the API endpoints in SKILL.md are consistent with that purpose; upload, session, SSE, render and download flows are all expected for a cloud render service.
Instruction Scope
The runtime instructions include normal API flows (auth, create session, upload, SSE, poll render). However, they also instruct the agent to read this file's YAML frontmatter for attribution and to detect an install path (e.g., ~/.clawhub/ vs ~/.cursor/skills/) to set X-Skill-Platform. Detecting install path or reading arbitrary config locations may require probing the user's filesystem beyond what's strictly needed to call the service and is scope creep.
Install Mechanism
Instruction-only skill with no install spec or code files; it does not write or execute files on disk by itself. This is the lowest install risk.
Credentials
Only NEMO_TOKEN is declared as required (appropriate for a third‑party API). But SKILL.md frontmatter also lists configPaths ("~/.config/nemovideo/") and the runtime text instructs checking install paths — the registry metadata you provided showed no required config paths. This inconsistency is unexplained and implies the skill may attempt to read local configuration that isn't justified by the stated purpose.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does not instruct modifying other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install editor-background
  3. After installation, invoke the skill by name or use /editor-background
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of editor-background skill. - Instantly replaces video backgrounds with a clean studio backdrop using AI. - Works with MP4, MOV, AVI, and WebM files up to 500MB—no green screen required. - Simple workflow: upload a video, describe your desired background, and receive an edited download in about 30–60 seconds. - Supports keyword-based actions for uploading, exporting, credits, and timeline status. - Automatic session/token management and clear error messaging for common issues. - Ideal for content creators seeking fast, professional-looking results without advanced editing tools.
Metadata
Slug editor-background
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Editor Background?

Skip the learning curve of professional editing software. Describe what you want — replace the editor background with a clean studio backdrop — and get backg... It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.

How do I install Editor Background?

Run "/install editor-background" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Editor Background free?

Yes, Editor Background is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Editor Background support?

Editor Background is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Editor Background?

It is built and maintained by tk8544-b (@tk8544-b); the current version is v1.0.0.

💬 Comments