openrouter-text2video

openrouter-text2video is a skill for Claude Code from QinghongLin/data2story-skill. It costs 21 tokens per session (598 once invoked), scanned A, original, MIT.

A tool for generating short videos from text prompts through OpenRouter, a service that provides access to AI models. It submits a video job, waits for completion, and downloads the result.

In plain words
What is it for?
Generating video assets with a chosen prompt, duration, aspect ratio, resolution, and optional audio.
Why use it?
It handles the waiting and file download involved in turning a written scene description into a video.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the data2story-pro plugin — 25 skills shipped together

Good fit Generating video assets with a chosen prompt, duration, aspect ratio, resolution, and optional audio.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qinghonglin/data2story-skill/openrouter-text2video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add QinghongLin/data2story-skill --skill openrouter-text2video
Clone the repo
git clone --depth 1 https://github.com/QinghongLin/data2story-skill

Made for: Claude Code.

Or install data2story-pro, the plugin that ships this one along with the rest of its 25 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openrouter-text2video

README.md
[![agentmods](https://agentmods.dev/badge/skills/qinghonglin/data2story-skill/openrouter-text2video/github.svg)](https://agentmods.dev/skills/qinghonglin/data2story-skill/openrouter-text2video)
Your own site
<a href="https://agentmods.dev/skills/qinghonglin/data2story-skill/openrouter-text2video"><img src="https://agentmods.dev/badge/skills/qinghonglin/data2story-skill/openrouter-text2video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openrouter-text2video

Your own site · 80×15
<a href="https://agentmods.dev/skills/qinghonglin/data2story-skill/openrouter-text2video"><img src="https://agentmods.dev/badge/skills/qinghonglin/data2story-skill/openrouter-text2video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00598
Opus 5 $0.00010 $0.00299
Sonnet 5 $0.00004 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 13d ago against content hash 66cfe135b0f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

openrouter-text2video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_video.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/data2story-pro/designer/scripts/openrouter-text2video/SKILL.md · 55 lines

What it actually says

openrouter-text2video

Text → video via OpenRouter. Default model: bytedance/seedance-2.0.

Uses the async video-generation endpoint: submit job → poll → download.

Usage

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-...

python3 TOOL_DIR/scripts/generate_video.py \
  --prompt "A slow dolly push through a retro-futuristic arcade, neon signs reflecting in a puddle" \
  --duration 5 \
  --aspect-ratio 16:9 \
  --resolution 720p \
  --download PROJECT_DIR/assets/hero.mp4

Flags

Flag Default Description
--prompt required Text prompt
--download required Output MP4 path
--model bytedance/seedance-2.0 Any OpenRouter video 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)
--generate-audio off Generate audio with video (if model supports)
--poll-interval 5 Seconds between polls
--max-wait 600 Max total wait time

Flow

  1. POST /api/v1/videos → returns {id, polling_url, status: "pending"}
  2. GET /api/v1/videos/{id} every 5s until status == "completed"
  3. GET /api/v1/videos/{id}/content → raw MP4 bytes

Pricing

Seedance 2.0: ~$7/M tokens with (height × width × duration × 24) / 1024 token formula. A 5-second 720p 16:9 clip ≈ 145k tokens ≈ $1.

Notes

  • Supports text-to-video, image-to-video (first/last frame control via frame_images), and reference-to-video.
  • This script only wires text-to-video. Extend the body to add frame_images or input_references for advanced modes.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 55 lines · 21 tokens per session scan A 66cfe135b0f3

Subscribe to this mod's changes

openrouter-text2video is a skill published in the GitHub repository QinghongLin/data2story-skill (155 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 598 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wax

Swift framework guidance for Wax on-device memory/RAG. Use when writing Swift code with the public Memory facade, experimental PhotoMemory / VideoMemory, BuiltInMultimodalEmbeddings, embedding providers, retrieval modes, or hybrid search. For agent operators using the Wax MCP server tools, use the separate wax-mcp…

christopherkarani/Wax · 68 tokens

wax-memory-maintenance

Maintain the Wax memory store used by the Hermes wax-memory provider.

christopherkarani/Wax · 18 tokens

alterlab-paper-writer

Drafts and revises academic papers through a 12-agent pipeline with hardened LaTeX output (apa7 document class, justified text, table column-width formula, centered bilingual abstracts, standardized font stack, PDF compiled from LaTeX), supporting IMRaD, literature review, theoretical, case study, policy brief, and…

AlterLab-IEU/AlterLab-Academic-Skills · 276 tokens

alterlab-molecular-dynamics

Runs and analyzes molecular dynamics simulations with OpenMM and MDAnalysis — setting up protein and small-molecule systems, assigning force fields, running energy minimization and production MD, and analyzing trajectories (RMSD, RMSF, contact maps, free energy surfaces). Use when simulating protein or ligand…

AlterLab-IEU/AlterLab-Academic-Skills · 98 tokens

alterlab-timesfm

Zero-shot univariate time-series forecasting with Google's TimesFM foundation model, producing point forecasts and prediction intervals from CSV/DataFrame/array inputs, with a preflight system checker for RAM/GPU. Use to forecast any univariate series (sales, sensors, energy, vitals, weather) without training a custom…

AlterLab-IEU/AlterLab-Academic-Skills · 78 tokens

alterlab-zinc-db

Access the ZINC database of 230M+ commercially available (purchasable) compounds, searching by ZINC ID or SMILES, running similarity searches, and downloading 3D-ready structures. Use when assembling a compound library for virtual screening, finding purchasable analogs, or obtaining docking-ready 3D structures for…

AlterLab-IEU/AlterLab-Academic-Skills · 85 tokens