data2story-pro
Use to turn a dataset into a verifiable multimedia blog (a data story / data-driven article / interactive dashboard from a…
Animate a still image into a short video via OpenRouter. Default model google/veo-3.1-fast.
$ npx -y skills add QinghongLin/data2story-skill --skill openrouter-image2video --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/openrouter-image2videoContext preview
The summary Claude sees to decide when to auto-load this skill.
Animate a still image into a short video via OpenRouter. Default model google/veo-3.1-fast.
name: openrouter-image2video description: Animate a still image into a short video via OpenRouter. Default model google/veo-3.1-fast.
Image + motion-prompt → video via OpenRouter. Default model: `google/veo-3.1-fast`.
Use this when you already have a strong still image and want to bring it to life with subtle motion (camera pan, parallax, gentle animation) while preserving the composition. For motion-from-scratch, use `openrouter-text2video` instead.
The script accepts either a remote image URL or a local image path; local files are base64-encoded and inlined into the request as a data URL.
Resolve `TOOL_DIR` = the directory containing this `SKILL.md`. Commands below use `TOOL_DIR` as a symbolic placeholder; replace it with the resolved, quoted path before running Bash.
export OPENROUTER_API_KEY=sk-or-v1-... # From a local image you already generated with text2image python3 TOOL_DIR/scripts/generate_video_from_image.py \ --image PROJECT_DIR/assets/teaser.png \ --prompt "slow parallax push-in, soft drift of ambient particles, no camera shake" \ --duration 5 \ --aspect-ratio 16:9 \ --download PROJECT_DIR/assets/teaser.mp4 # Or from a remote URL python3 TOOL_DIR/scripts/generate_video_from_image.py \ --image-url "https://example.com/still.png" \ --prompt "subtle camera dolly forward, gentle depth-of-field shift" \ --download PROJECT_DIR/assets/scene.mp4
| Flag | Default | Description | |---|---|---| | `--prompt` | required | Motion prompt — describe what should move and how | | `--download` | required | Output MP4 path | | `--image` | one of `--image` / `--image-url` required | Local image path (PNG/JPG); will be base64-encoded | | `--image-url` | one of `--image` / `--image-url` required | Remote image URL | | `--model` | `google/veo-3.1-fast` | Any OpenRouter image-to-video-capable model | | `--duration` | `5` | Seconds | | `--aspect-ratio` | `16:9` | `16:9`, `9:16`, `1:1`, `4:3`, `3:4`, `21:9`, `9:21` | | `--resolution` | `720p` | Model-dependent (e.g. `480p`, `720p`, `1080p`) | | `--frame-role` | `first` | `first` or `last` — anchor frame role for the input image | | `--generate-audio` | off | Generate audio with video (if model supports) | | `--poll-interval` | `5` | Seconds between polls | | `--max-wait` | `600` | Max total wait time |
1. `POST /api/v1/videos` with body:
{
"model": "google/veo-3.1-fast",
"prompt": "...motion prompt...",
"aspect_ratio": "16:9",
"duration": 5,
"resolution": "720p",
"frame_images": [
{
"type": "image_url",
"frame_type": "first_frame",
"image_url": {"url": "data:image/png;base64,..." }
}
]
}The `--frame-role first|last` flag maps to `frame_type: "first_frame"|"last_frame"`. 2. `GET /api/v1/videos/{id}` every 5s until `status == "completed"` 3. `GET /api/v1/videos/{id}/content` → raw MP4 bytes
A data-journalist agent skill that turns any dataset into a verifiable, evidence-grounded multimodal story — a self-contained HTML article where every sentence traces back to the data or source that justifies it.
Use to turn a dataset into a verifiable multimedia blog (a data story / data-driven article / interactive dashboard from a…
Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons,…
Audit a generated Data2Story blog for build correctness across ALL modalities by ACTUALLY RENDERING it in a real headless browser…
Design the MANDATORY cinematic scroll experience (every blog ships one): a full-bleed, scroll-driven background — primarily from…
Name the piece — re-write the masthead (headline + standfirst + kicker), every section title, and every figure/photo/table…
Review a finished Data2Story blog against the 5 quality rubric dimensions (visual_design, narrative_pacing,…