Openrouter Video Generator logo

Openrouter Video Generator

OrganizationPopular
TokenRhythm
openrouter-video-generator

Generate or declare an OpenRouter video asset for AwesomeWebpageMetaSkill using a parent-leased Provider Settings connection and configured non-secret model/output values.

Overview

PublisherTokenRhythm
Repositoryopensquilla
Skill nameopenrouter-video-generator
Stars
7K
Forks
566
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by TokenRhythm on GitHub. Read the source before you install it.

Installation

Install the Openrouter Video Generator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TokenRhythm/opensquilla.git /tmp/opensquilla
mkdir -p .claude/skills
cp -r /tmp/opensquilla/src/opensquilla/skills/bundled/openrouter-video-generator .claude/skills/openrouter-video-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Openrouter Video Generator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Openrouter Video Generator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Openrouter Video Generator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OpenRouter Video Generator

Create a short browser-playable video asset for AwesomeWebpageMetaSkill. This is an adapter around the configured OpenRouter video model, not a place to choose providers or invent model ids.

Meta-Skill Entrypoint

Meta-skills should run this skill as skill_exec. The entrypoint is a deterministic Python adapter around OpenRouter's async video endpoint. During a MetaSkill run it receives a short-lived connection from ordinary Provider Settings in the child process only; the credential, endpoint, and proxy never enter with, argv, the plan, or persisted run data. It writes the MP4 under the supplied output directory and prints either VIDEO_READY: or a failure label. Do not spawn an LLM sub-agent just to generate video.

Contract

  • Use the code-owned OpenRouter capability candidate and the volatile provider lease resolved from ordinary Provider Settings after explicit approval.
  • Use only awesome_webpage.openrouter.models.video_generation as the model.
  • Use only awesome_webpage.output_dir as the output root.
  • Save generated files under project/assets/video/.
  • Return a media manifest with local path, MIME type, duration if known, provenance, and replacement notes.

OpenRouter Video API Contract (hard rule)

OpenRouter video models are exposed through an async job endpoint, not the chat-completions endpoint. Hitting /chat/completions with a video model id returns HTTP 500 and burns the full per-attempt budget. Do not attempt it.

  • Submit: POST {base_url}/videos with JSON body {"model": "<video_generation>", "prompt": "<text>", "duration": <int>}. Optional fields: resolution, aspect_ratio, frame_images, input_references, provider, callback_url. Do NOT send messages or modalities — those are chat-only and will be rejected.
  • Response (immediate): {"id": "...", "polling_url": "...", "status": "pending"}.
  • Poll: GET the polling_url with the same Authorization: Bearer ... header every 8-15 seconds until status becomes one of completed | failed | cancelled | expired. Cap the loop at ~5 minutes per clip; treat anything beyond that as VIDEO_GENERATION_FAILED.
  • Download (only on completed): take the first URL from unsigned_urls, GET it with the same bearer token, and save the body to <output_dir>/project/assets/video/<slug>.mp4. Set MIME to video/mp4.
  • Terminal-failure statuses map to VIDEO_GENERATION_FAILED; include the job id and a replacement-slot path so the page can render a clean placeholder.

Typical successful job completes in 60-120 s for short clips; do not abort before that window.

Failure Labels

Return one of these labels instead of silently skipping video:

  • VIDEO_CONFIG_NEEDED: model, API key, base URL, or output directory is missing.
  • VIDEO_MODEL_UNSUPPORTED: the configured model cannot return a local browser-playable asset in this environment.
  • VIDEO_GENERATION_FAILED: the provider call failed after a concrete attempt.

A missing/invalid required MetaSkill lease emits VIDEO_CONFIG_NEEDED and exits 78 before submit. Failures after a concrete submit stay an exit-0 degradation so downstream packaging can bind a replacement slot without automatic replay.

When returning a failure label, also return a replacement slot such as project/assets/video/replace-with-topic-intro.mp4 and enough prompt/context for a later repair pass.

Output Requirements

  • Prefer .mp4 with video/mp4; .webm is acceptable when browser playable.
  • Keep clips short, usually 8-20 seconds.
  • Do not use remote embeds unless config explicitly allows them.
  • Do not hardcode OpenRouter model names, API keys, or output directories.

On success: VIDEO_READY manifest line (required)

After every successful download, end your reply with one single-line JSON record per file so AwesomeWebpageMetaSkill can collect and bind the asset:

VIDEO_READY: {"local_path": "project/assets/video/<slug>.mp4", "mime": "video/mp4", "duration_s": <int_or_null>, "resolution": "<WxH_or_null>", "prompt_preview": "<first 80 chars>"}
  • One VIDEO_READY: line per video file. No trailing prose on that line.
  • local_path MUST be the relative path project/assets/video/.... Do NOT emit an absolute path here.
  • On failure, emit one of VIDEO_CONFIG_NEEDED, VIDEO_MODEL_UNSUPPORTED, or VIDEO_GENERATION_FAILED as a single-line label with the replacement-slot path so the page can render a placeholder.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Openrouter Video Generator AI skill do?

Generate or declare an OpenRouter video asset for AwesomeWebpageMetaSkill using a parent-leased Provider Settings connection and configured non-secret model/output values.

Why use Openrouter Video Generator on TypingMind?

Because you install it once and use it with any model. Openrouter Video Generator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Openrouter Video Generator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TokenRhythm/opensquilla/tree/main/src/opensquilla/skills/bundled/openrouter-video-generator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Openrouter Video Generator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Openrouter Video Generator?

As many as you like. As long as a model supports skills, you can use Openrouter Video Generator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Openrouter Video Generator AI skill free?

Yes. It is published on GitHub by TokenRhythm under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇