Xpersona
I

image-to-video-gen

CLAWHUB · Unverified

Generate video from supplied image using Veo-3.0 async API. Gemini vision analyzes image, Veo creates video via predictLongRunning. All outputs in ~/.openclaw/workspace/tibetanProc/ with yymmddHHMM prefix. Skill: image-to-video-gen Owner: j3ffyang Summary: Generate video from supplied image using Veo-3.0 async API. Gemini vision analyzes image, Veo creates video via predictLongRunning. All outputs in ~/.openclaw/workspace/tibetanProc/ with yymmddHHMM prefix. Tags: latest:3.0.1 Version history: v3.0.1 | 2026-08-08T06:14:12.623Z | auto - Removed legacy metadata and skill card files for simplification. - No functional cha

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1779e1n6evsf8stg77rena51983qpyd:image-to-video-gen
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-j3ffyang-image-to-video-gen/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

34,049 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: image-to-video-gen
description: Generate video from supplied image using Veo-3.0 async API. Gemini vision analyzes image, Veo creates video via predictLongRunning. All outputs in ~/.openclaw/workspace/tibetanProc/ with yymmddHHMM prefix.
version: 3.0.1
user-invocable: true
category: media
metadata:
  openclaw:
    emoji: 🎥
    requires:
      env: ["GOOGLE_API_KEY"]
      bins: ["python3", "date", "mkdir"]
      packages: ["google-generativeai", "requests"]
---

# Image to Video Generator (v3.0.0 – Working Veo-3.0 REST API)

**Status**: ✅ Tested & Working  
**Last Updated**: 2026-04-11  
**Example**: Golden Tibetan offering → 2.4 MB video in ~60 seconds

---

## What it does

Generates cinematic 5-second video from any image using Google's Veo-3.0:

1. **Gemini Vision** (2.5-flash) analyzes image for motion/scene description
2. **Veo-3.0 predictLongRunning** generates video asynchronously via REST API
3. **Polling loop** monitors operation until video is ready (~60-90 seconds)
4. **Download** saves MP4 to `~/.openclaw/workspace/tibetanProc/` with `yymmddHHMM` prefix

**Key Fix (v3.0.0)**: REST payload must use `bytesBase64Encoded` field (not `data` or `inline_data`)

---

## Inputs

- **Image**: Local path or URL
- **Duration**: 5-10 seconds (optional)
- **Style**: Hint like "cinematic", "ethereal", "smooth" (optional)

---

## Quick Start

```bash
python3 << 'PYEOF'
import os
import sys
import json
import time
import base64
import requests
import google.generativeai as genai
from pathlib import Path
from datetime import datetime

GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
WORKSPACE = Path.home() / ".openclaw" / "workspace" / "tibetanProc"
WORKSPACE.mkdir(parents=True, exist_ok=True)
TIMESTAMP = datetime.now().strftime("%y%m%d%H%M")

# Step 1: Load image
IMAGE_PATH = WORKSPACE / f"{TIMESTAMP}_input_image.jpg"
if not IMAGE_PATH.exists():
    print("✗ Image not found")
    sys.exit(1)

print(f"✓ Image: {IMAGE_PATH.name}")

# Step 2: Analyze with Gemini
genai.configure(api_key=GOOGLE_API_KEY)
model = genai.GenerativeModel("gemini-2.5-flash")
image_file = genai.upload_file(str(IMAGE_PATH), mime_type="image/jpeg")

prompt = """Analyze for cinematic video: describe subject, setting, lighting, textures, 
suggested camera movements (dolly, pan, orbit, zoom, rack focus)."""

response = model.generate_content([prompt, image_file])
analysis = response.text

prompt_path = WORKSPACE / f"{TIMESTAMP}_prompt.md"
with open(prompt_path, "w") as f:
    f.write(analysis)
print(f"✓ Analysis: {prompt_path.name}")

# Step 3: Create enhanced prompt
enhanced = f"""VIDEO GENERATION PROMPT
Duration: 5 seconds
Quality: High Definition

SCENE ANALYSIS:
{analysis}

MOTION GUIDELINES:
- Smooth, deliberate camera movement
- Enhance visual depth with elegant transitions
- Maintain consistent lighting
- Cinematic color grading
"""

enhanced_path = WORKSPACE / f"{TIMESTAMP}_enhanced_prompt.txt"
with open(enhanced_path, "w") as f:
    f.write(enhanced)
print(f"✓ Enhanc

_meta.json

{
  "ownerId": "kn712ccqddtt62rq2w5tw18rr5825299",
  "slug": "image-to-video-gen",
  "version": "3.0.1",
  "publishedAt": 1786169652623
}

skill-card.md

## Description:

Generate video from supplied image using Veo-3.0 async API. Gemini vision analyzes image, Veo creates video via predictLongRunning. All outputs in ~/.openclaw/workspace/tibetanProc/ with yymmddHHMM prefix.

This skill is ready for commercial/non-commercial use.

## Publisher:

[j3ffyang](https://clawhub.ai/user/j3ffyang)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and creators use this skill to turn an input image into a short cinematic MP4 by having an agent analyze the image, build a motion prompt, call Google's Veo API, poll for completion, and save the generated outputs.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Images and prompts are uploaded to Google services.

Mitigation: Use only media and prompt content that the operator is permitted to send to Google; avoid confidential, regulated, or sensitive inputs.

Risk: The Google API key may be exposed during API calls or video downloads.

Mitigation: Use a dedicated, tightly restricted Google API key and review request handling before installing or running the skill.

Risk: The video download step appends the API key to a returned URI.

Mitigation: Validate the returned URI host and redirect behavior before attaching the API key or downloading generated media.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/j3ffyang/skills/image-to-video-gen)
- [Publisher profile](https://clawhub.ai/user/j3ffyang)
- [Google Generative Language Veo endpoint used by the skill](https://generativelanguage.googleapis.com/v1beta/models/veo-3.0-generate-001:predictLongRunning)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Files]

**Output Format:** [Markdown with inline Python and shell code blocks; generated runtime files include prompt text, JSON API responses, and MP4 video.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires GOOGLE_API_KEY and writes timestamp-prefixed outputs under ~/.openclaw/workspace/tibetanProc/.]

## Skill Version(s):

3.0.1 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to image-to-video-gen and adjacent AI workflows.