← Back to Skills Marketplace
bowen31337

Ai Media

by bowen31337 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
789
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install ai-media
Description
Generate photorealistic images, videos, talking heads, and natural TTS audio using GPU-accelerated AI models and scripts on a remote server.
README (SKILL.md)

ai-media - AI Media Generation

Full-stack AI media generation powered by GPU server (RTX 3090/3080/2070S).

Capabilities

  1. Image Generation — Photorealistic images via ComfyUI (z-image, Juggernaut XL)
  2. Video Generation — Video synthesis via ComfyUI (AnimateDiff, LTX-2)
  3. Talking Heads — Animated talking faces via SadTalker
  4. Voice Synthesis — Natural TTS via Voxtral (whisper.cpp)

GPU Server

  • Host: ${GPU_USER}@${GPU_HOST}
  • SSH Key: ~/.ssh/id_ed25519_gpu
  • ComfyUI: /data/ai-stack/comfyui/ComfyUI/ (port 8188)
  • SadTalker: /data/ai-stack/sadtalker/
  • Voxtral: /data/ai-stack/whisper/
  • Output: /data/ai-stack/output/

Usage

Generate Image

./scripts/image.sh "lady on beach at sunset" realistic
./scripts/image.sh "cyberpunk cityscape" artistic

Arguments:

  • $1: Prompt text
  • $2: Style (realistic|artistic) — optional, default: realistic

Output: Path to generated image (e.g., /data/ai-stack/output/image_001.png)

Generate Video

./scripts/video.sh "waves crashing on shore" animatediff 4
./scripts/video.sh "city traffic timelapse" ltx2 8

Arguments:

  • $1: Prompt text
  • $2: Model (animatediff|ltx2) — optional, default: animatediff
  • $3: Duration in seconds — optional, default: 4

Output: Path to generated video (e.g., /data/ai-stack/output/video_001.mp4)

Generate Talking Head

./scripts/talking-head.sh "Hello, I'm Agent" gentle input.jpg
./scripts/talking-head.sh "Welcome to the future" neutral photo.png

Arguments:

  • $1: Speech text
  • $2: Voice style (gentle|neutral|energetic) — optional, default: gentle
  • $3: Avatar image path — optional, generates default if not provided

Output: Path to talking head video (e.g., /data/ai-stack/output/talking_001.mp4)

Generate Audio

./scripts/audio.sh "This is a test message" en male
./scripts/audio.sh "Bonjour le monde" fr female

Arguments:

  • $1: Text to speak
  • $2: Language code (en|fr|es|etc) — optional, default: en
  • $3: Voice gender (male|female) — optional, default: male

Output: Path to audio file (e.g., /data/ai-stack/output/audio_001.wav)

Models Available

Image Models

  • z-image — 6B params, S3-DiT, photorealistic (downloading, 43% complete)
  • Juggernaut XL v9 — SDXL-based, versatile (7.1GB, ready)

Video Models

  • AnimateDiff — SD 1.5 motion module (512x512, working ✅)
  • LTX-2 — 19B params, high quality (14GB checkpoint ready, Gemma encoder ready)

Talking Head Models

  • SadTalker — Audio-driven head animation (working ✅)

Voice Models

  • Voxtral — whisper.cpp-based TTS (installed)

Dependencies

All dependencies are pre-installed on GPU server:

  • ComfyUI with custom nodes (AnimateDiff-Evolved, VideoHelperSuite)
  • SadTalker with face enhancer
  • Voxtral with whisper.cpp
  • FFmpeg for video encoding

Error Handling

Scripts will:

  • Check SSH connectivity before execution
  • Validate GPU server is running
  • Return meaningful error messages
  • Clean up failed generations automatically

Performance

  • Image: ~10-20s for 1024x1024
  • Video (AnimateDiff): ~20-30s for 512x512, 16 frames
  • Video (LTX-2): ~60-90s for 768x512, 4s @ 24fps
  • Talking Head: ~30-40s for 10s video
  • Audio: ~2-5s for 30s speech

Future Enhancements

  • Batch generation support
  • Style transfer capabilities
  • Video upscaling (spatial + temporal)
  • Multi-language voice cloning
  • Real-time preview streaming

Status: Active development Maintainer: Agent GPU Server: ${GPU_USER}@${GPU_HOST}

Usage Guidance
This skill runs generation on a remote GPU over SSH. Before installing or running it: (1) Inspect SKILL.md, scripts, and skill.toml for any hardcoded host or key (README and skill.toml include [email protected] and an alternate SSH key name); do not reuse your private keys or credentials without confirming the intended server. (2) Decide whether you want to connect to your own GPU host — set GPU_USER/GPU_HOST and SSH_KEY_NAME explicitly; do not rely on README examples. (3) Be aware the scripts will upload any avatar files you provide (scp) and run remote code under /data/ai-stack on the server; avoid sending sensitive files. (4) If you will not provide your own server, do not run scripts that might attempt to contact the maintainer's host. (5) Consider asking the maintainer to remove hardcoded hosts/keys and to declare required env vars/credentials in the registry metadata. If you want a lower-risk option, run these tools locally on a machine you control or require a vetted remote service with documented auth and privacy practices.
Capability Analysis
Type: OpenClaw Skill Name: ai-media Version: 1.0.1 Multiple shell scripts (`scripts/audio.sh`, `scripts/talking-head.sh`, `scripts/image.sh`, `scripts/video.sh`) directly interpolate user-provided arguments (e.g., `$TEXT`, `$PROMPT`, `$LANG`) into Python scripts executed remotely via SSH. This creates a Remote Code Execution (RCE) vulnerability on the remote GPU server, as an attacker could craft input to break out of Python strings and execute arbitrary shell commands. While `scripts/image.sh` and `scripts/video.sh` (for 'animatediff' model) currently only print the workflow JSON, the RCE vulnerability is present in the design. The use of environment variables for SSH connection details (`SSH_KEY_NAME`, `GPU_USER`, `GPU_HOST`) also presents a risk if not securely controlled by the agent.
Capability Assessment
Purpose & Capability
The skill claims to run generation on a remote GPU server (expected) and the scripts implement that via SSH/scp and ComfyUI APIs (coherent). However the registry metadata claims no required env vars or credentials while skill files and SKILL.md clearly expect SSH credentials, GPU_HOST/GPU_USER and an SSH key. skill.toml and README hardcode a third-party host ([email protected]) and an SSH key name in places — this mismatch is disproportionate and surprising for a skill that declares no required secrets.
Instruction Scope
Runtime instructions and scripts perform SSH connections, remote execution, file upload (scp) of user avatar images, creation of directories, and remote Python execution that reads/writes under /data/ai-stack on the remote host. These actions are within the stated media-generation purpose, but the scripts will transmit user-provided files to the remote server and run arbitrary commands there. Also some parts are only partially implemented (placeholders) so the agent may run ad-hoc commands on the remote host during 'automation pending' steps.
Install Mechanism
Instruction-only skill with no install spec; no remote downloads or archive extraction. This is the lowest install-mechanism risk surface.
Credentials
The registry lists no required env vars/credentials, yet every script expects SSH access: SSH key path (~/.ssh/${SSH_KEY_NAME:-id_ed25519_gpu}), and host/user via GPU_USER/GPU_HOST. skill.toml and README include an explicit external server ([email protected]) and a different SSH key name (~/.ssh/id_ed25519_alexchen), which is inconsistent and could cause users to accidentally connect to the maintainer's host if they follow README examples. Requiring SSH credentials is reasonable for remote GPU usage, but it should be declared clearly and not mixed with hardcoded third-party defaults.
Persistence & Privilege
The skill does not request permanent 'always' inclusion and does not modify other skills or system-wide configuration. It runs commands only when its scripts are invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-media
  3. After installation, invoke the skill by name or use /ai-media
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Sanitize personal info from examples
Metadata
Slug ai-media
Version 1.0.1
License
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is Ai Media?

Generate photorealistic images, videos, talking heads, and natural TTS audio using GPU-accelerated AI models and scripts on a remote server. It is an AI Agent Skill for Claude Code / OpenClaw, with 789 downloads so far.

How do I install Ai Media?

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

Is Ai Media free?

Yes, Ai Media is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Ai Media support?

Ai Media is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ai Media?

It is built and maintained by bowen31337 (@bowen31337); the current version is v1.0.1.

💬 Comments