# Send Ai Video Gen to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-video-gen",
    "name": "Ai Video Gen",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/rhanbourinajd/ai-video-gen",
    "canonicalUrl": "https://clawhub.ai/rhanbourinajd/ai-video-gen",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ai-video-gen",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-video-gen",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "add_voiceover.py",
      "generate_video.py",
      "images_to_video.py",
      "QUICK_START.md",
      "README.md",
      "requirements.txt"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-video-gen"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-video-gen",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-video-gen",
    "agentUrl": "https://openagent3.xyz/skills/ai-video-gen/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-video-gen/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-video-gen/agent.md"
  }
}
```
## Documentation

### AI Video Generation Skill

Generate complete videos from text descriptions using AI.

### Capabilities

Image Generation - DALL-E 3, Stable Diffusion, Flux
Video Generation - LumaAI, Runway, Replicate models
Voice-over - OpenAI TTS, ElevenLabs
Video Editing - FFmpeg assembly, transitions, overlays

### Quick Start

# Generate a complete video
python skills/ai-video-gen/generate_video.py --prompt "A sunset over mountains" --output sunset.mp4

# Just images to video
python skills/ai-video-gen/images_to_video.py --images img1.png img2.png --output result.mp4

# Add voiceover
python skills/ai-video-gen/add_voiceover.py --video input.mp4 --text "Your narration" --output final.mp4

### Required API Keys

Add to your environment or .env file:

# Image Generation (pick one)
OPENAI_API_KEY=sk-...              # DALL-E 3
REPLICATE_API_TOKEN=r8_...         # Stable Diffusion, Flux

# Video Generation (pick one)
LUMAAI_API_KEY=luma_...           # LumaAI Dream Machine
RUNWAY_API_KEY=...                # Runway ML
REPLICATE_API_TOKEN=r8_...        # Multiple models

# Voice (optional)
OPENAI_API_KEY=sk-...             # OpenAI TTS
ELEVENLABS_API_KEY=...            # ElevenLabs

# Or use FREE local options (no API needed)

### Install Dependencies

pip install openai requests pillow replicate python-dotenv

### FFmpeg

Already installed via winget.

### 1. Text to Video (Full Pipeline)

python skills/ai-video-gen/generate_video.py \\
  --prompt "A futuristic city at night with flying cars" \\
  --duration 5 \\
  --voiceover "Welcome to the future" \\
  --output future_city.mp4

### 2. Multiple Scenes

python skills/ai-video-gen/multi_scene.py \\
  --scenes "Morning sunrise" "Busy city street" "Peaceful night" \\
  --duration 3 \\
  --output day_in_life.mp4

### 3. Image Sequence to Video

python skills/ai-video-gen/images_to_video.py \\
  --images frame1.png frame2.png frame3.png \\
  --fps 24 \\
  --output animation.mp4

### Budget Mode (FREE)

Image: Stable Diffusion (local or free API)
Video: Open source models
Voice: OpenAI TTS (cheap) or free TTS
Edit: FFmpeg

### Quality Mode (Paid)

Image: DALL-E 3 or Midjourney
Video: Runway Gen-3 or LumaAI
Voice: ElevenLabs
Edit: FFmpeg + effects

### Scripts Reference

generate_video.py - Main end-to-end generator
images_to_video.py - Convert image sequence to video
add_voiceover.py - Add narration to existing video
multi_scene.py - Create multi-scene videos
edit_video.py - Apply effects, transitions, overlays

### API Cost Estimates

DALL-E 3: ~$0.04-0.08 per image
Replicate: ~$0.01-0.10 per generation
LumaAI: $0-0.50 per 5sec (free tier available)
Runway: ~$0.05 per second
OpenAI TTS: ~$0.015 per 1K characters
ElevenLabs: ~$0.30 per 1K characters (better quality)

### Examples

See examples/ folder for sample outputs and prompts.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: rhanbourinajd
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ai-video-gen)
- [Send to Agent page](https://openagent3.xyz/skills/ai-video-gen/agent)
- [JSON manifest](https://openagent3.xyz/skills/ai-video-gen/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ai-video-gen/agent.md)
- [Download page](https://openagent3.xyz/downloads/ai-video-gen)