← Back to Skills Marketplace
vcarolxhberger

Caption Generator Gif

by vcarolxhberger · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
93
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install caption-generator-gif
Description
add GIF or video clips into captioned GIF videos with this skill. Works with GIF, MP4, MOV, WebM files up to 200MB. social media creators use it for adding r...
README (SKILL.md)

Getting Started

Share your GIF or video clips and I'll get started on AI caption generation. Or just tell me what you're thinking.

Try saying:

  • "add my GIF or video clips"
  • "export 1080p MP4"
  • "add animated captions to this GIF"

Quick Start Setup

This skill connects to a cloud processing backend. On first use, set up the connection automatically and let the user know ("Connecting...").

Token check: Look for NEMO_TOKEN in the environment. If found, skip to session creation. Otherwise:

  • Generate a UUID as client identifier
  • POST https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token with X-Client-Id header
  • Extract data.token from the response — this is your NEMO_TOKEN (100 free credits, 7-day expiry)

Session: POST https://mega-api-prod.nemovideo.ai/api/tasks/me/with-session/nemo_agent with Bearer auth and body {"task_name":"project"}. Keep the returned session_id for all operations.

Let the user know with a brief "Ready!" when setup is complete. Don't expose tokens or raw API output.

Caption Generator GIF — Add Captions to GIF Videos

This tool takes your GIF or video clips and runs AI caption generation through a cloud rendering pipeline. You upload, describe what you want, and download the result.

Say you have a 5-second looping GIF of a product demo and want to add animated captions to this GIF and export as MP4 — the backend processes it in about 20-40 seconds and hands you a 1080p MP4.

Tip: shorter GIFs under 3 seconds process nearly instantly.

Matching Input to Actions

User prompts referencing caption generator gif, 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.

Base URL: https://mega-api-prod.nemovideo.ai

Endpoint Method Purpose
/api/tasks/me/with-session/nemo_agent POST Start a new editing session. Body: {"task_name":"project","language":"\x3Clang>"}. Returns session_id.
/run_sse POST Send a user message. Body includes app_name, session_id, new_message. Stream response with Accept: text/event-stream. Timeout: 15 min.
/api/upload-video/nemo_agent/me/\x3Csid> POST Upload a file (multipart) or URL.
/api/credits/balance/simple GET Check remaining credits (available, frozen, total).
/api/state/nemo_agent/me/\x3Csid>/latest GET Fetch current timeline state (draft, video_infos, generated_media).
/api/render/proxy/lambda POST Start export. Body: {"id":"render_\x3Cts>","sessionId":"\x3Csid>","draft":\x3Cjson>,"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.

Three attribution headers are required on every request and must match this file's frontmatter:

Header Value
X-Skill-Source caption-generator-gif
X-Skill-Version frontmatter version
X-Skill-Platform auto-detect: clawhub / cursor / unknown from install path

Include Authorization: Bearer \x3CNEMO_TOKEN> and all attribution headers on every request — omitting them triggers a 402 on export.

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

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.

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)

Common Workflows

Quick edit: Upload → "add animated captions to this GIF and export as MP4" → Download MP4. Takes 20-40 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 "add animated captions to this GIF and export as MP4" — concrete instructions get better results.

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

Export as MP4 for widest compatibility across platforms that no longer support raw GIFs.

Usage Guidance
This skill is internally consistent with a cloud captioning service, but before installing consider: (1) files you upload (GIF/MP4 up to 200MB) will be sent to mega-api-prod.nemovideo.ai — only proceed if you trust that service and its privacy/terms; (2) the skill uses bearer tokens (NEMO_TOKEN) and may obtain short-lived anonymous tokens if you don't provide one — treat any token as sensitive; (3) clarify whether the agent will write a client-id or tokens to ~/.config/nemovideo/ (frontmatter mentions it but behavior is not explicit); (4) the skill source/homepage is not provided and the owner ID looks opaque — if you require stronger provenance, ask for a repository or vendor page before use. If you only want to test functionality without tying production credentials, avoid setting a persistent NEMO_TOKEN and rely on the anonymous-token flow, but be aware of rate limits and the fact your media still goes to the external service.
Capability Analysis
Type: OpenClaw Skill Name: caption-generator-gif Version: 1.0.0 The skill is a functional integration for a cloud-based video processing service (nemovideo.ai). It provides instructions for an AI agent to manage sessions, upload media, and trigger video rendering via the `mega-api-prod.nemovideo.ai` backend. While it handles API tokens and uploads user files to a third-party service, these actions are transparently documented and essential for the stated purpose of generating captions. No evidence of malicious intent, unauthorized data access, or harmful execution was found.
Capability Assessment
Purpose & Capability
The name/description describe cloud captioning and the runtime instructions call a nemovideo.ai backend, require a NEMO_TOKEN, and upload media — these requirements match the stated purpose. Note: the SKILL.md frontmatter lists a config path (~/.config/nemovideo/) but the registry summary earlier listed no required config paths; this mismatch should be clarified.
Instruction Scope
Instructions are focused on authenticating, creating a session, uploading media, streaming edits via SSE, and exporting renders. They require generating or using a bearer token and hitting the documented endpoints. The instructions do not request unrelated files or unrelated environment variables, but they do instruct sending user media (up to 200MB) to an external service — this is expected for the skill but is a privacy consideration.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is downloaded or written by an installer. This minimizes install-time risk.
Credentials
Only NEMO_TOKEN is declared as required and is logically needed to authenticate to the backend. The skill also implements an anonymous-token flow (POST to the service to obtain a short-lived token) which is consistent with its design. Bearer tokens will be sent to an external domain; if you set a long-lived NEMO_TOKEN in environment you are granting that token to the skill.
Persistence & Privilege
The skill does not request 'always: true' or system-wide privileges. However the frontmatter mentions a config path (~/.config/nemovideo/) which implies the agent might persist a client-id or token; the SKILL.md does not explicitly say where/if it writes tokens. Clarify whether tokens/client-id are persisted to disk.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install caption-generator-gif
  3. After installation, invoke the skill by name or use /caption-generator-gif
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Caption Generator GIF — Add Captions to GIF Videos: - Upload GIF or video clips (MP4, MOV, WebM up to 200MB) and generate captioned MP4 videos. - Automatic cloud processing with setup and token management handled in the background. - Fast processing: most videos export as 1080p MP4 in 20–40 seconds. - Supports common social media workflows, batch editing, and iterative refinements. - Integrated file upload, export, credits/balance check, and timeline state viewing. - Clear error handling and status updates throughout the pipeline.
Metadata
Slug caption-generator-gif
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Caption Generator Gif?

add GIF or video clips into captioned GIF videos with this skill. Works with GIF, MP4, MOV, WebM files up to 200MB. social media creators use it for adding r... It is an AI Agent Skill for Claude Code / OpenClaw, with 93 downloads so far.

How do I install Caption Generator Gif?

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

Is Caption Generator Gif free?

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

Which platforms does Caption Generator Gif support?

Caption Generator Gif is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Caption Generator Gif?

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

💬 Comments