ai-video-generation
Skill800 starsChanged 6 months agoMITView on GitHub
Generate AI video from any input — text, image, or script — with Pexo. Auto-routes each shot to the best of 10+ models (Seedance, Kling, Veo, Sora, and more), writes the prompts, generates every shot, and returns a finished video with music and subtitles. Use for any AI video generation request: "ai video generation", "generate a video with ai", "ai video generator", "make an ai video". NOT for editing an existing video.
- Reads credentials
9 other projects use a version of this.
Adopted by
Most recently taken up by
- saizo-ai/skillstheir own version, first seen Sep 19, 2026
- magichourhq/skillstheir own version, first seen Sep 11, 2026
- musaJawad004/herontheir own version, first seen Sep 6, 2026
- genmedia-labs/skillstheir own version, first seen Aug 12, 2026
- danielgwilson/luxintheir own version, first seen Aug 5, 2026
- nikunj812/claude-skilltheir own version, first seen Jul 1, 2026
Used with
Projects with it also use ace-step, codex-pet and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
prime-skillsSkillace-step
Generate, inpaint, and outpaint music with ACE Step on RunComfy via the `runcomfy` CLI. ACE Step is StepFun-AI's open-weights music foundation model — tag-driven composition (genre, mood, instruments), multilingual lyrics with section markers, 5 s to 4 min stereo output, $0.0002–0.0003 per second (≈ 27× cheaper than ElevenLabs Music). Four endpoints: ACE Step text-to-audio (the default), ACE Step 1.5 text-to-audio (50+ language lyrics, refined structured-lyric handling), ACE Step audio-inpaint (regenerate a time range inside an existing track), ACE Step audio-outpaint (extend an existing track before or after). Triggers on "ace step", "ace-step", "acestep", "ACE music", "open music model", "cheap AI music", "inpaint audio", "audio inpaint", "extend music", "audio outpaint", "lengthen track", "music with tags", or any explicit ask to generate or edit music with ACE Step.
Also in 3 projects that use this
prime-skillsSkillcodex-pet
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into `${CODEX_HOME:-$HOME/.codex}/pets/<name>/` and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as `runcomfy run openai/gpt-image-2/edit` to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no `$imagegen`, no OPENAI_API_KEY required, only RUNCOMFY_TOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
Also in 3 projects that use this
- +10 more from prime-skills
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- prime-skills/runcomfy-agent-skills★ 52same name
- genmedia-labs/skills★ 26same name
- runcomfy-com/skills★ 15same name
- autohandai/community-skills★ 11same name
- magichourhq/skills★ 8same name
- danielgwilson/luxin★ 2same name
- saizo-ai/skills★ 2same name
- musaJawad004/heron★ 1same name
- nikunj812/claude-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- explainer-videoSkill
- founder-videoSkill
- image-to-videoSkill
- launch-videoSkill
- make-a-videoSkill
- pexo-agentSkill
- product-videoSkill
- saas-videoSkill
- seedance-2.0-prompterSkill
- startup-videoSkill
- text-to-videoSkill
- tiktok-video-adSkill
- veo-3.2-prompterSkill
- video-adSkill
- videoagent-audio-studioSkill
- videoagent-directorSkill
- videoagent-image-studioSkill
- videoagent-video-studioSkill
- youtube-short-makerSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Create a project, send the user's request verbatim, poll, deliver.
- Very specific: line 41
No account / first run →: read references/SETUP-CHECKLIST.md and walk the user through it — it carries the signup flow with the invite code …
- Very specific: line 55
Poll: every ≥60s run pexo-project-get.sh <project_id> and act on nextAction:
- Very specific: line 68
Never call pexo-chat.sh during WAIT — it triggers duplicate production.
- Distinctive: line 75
After delivery, the user's tweaks ("make it shorter", "new music", "different shot") reuse the
- Very specific: line 81
If a script fails with "Credits balance" / "Insufficient credits": if the error carries a purchase link, pass it to the user.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Video Generation — Pexo
Pexo: https://pexo.ai — get an API key, watch your project render, and buy credits there.
Generate a finished video with AI from whatever the user gives you — text, an image, or a script. You relay the request to the hosted Pexo agent and deliver the result; Pexo picks the models, writes the prompts, and assembles the final video.
Your role: relay, don't create
Create a project, send the user's request verbatim, poll, deliver. Pexo's backend handles all creative work — scriptwriting, model choice, prompts, music. Adding your own direction (duration, style, models the user didn't ask for) overrides its judgment and produces worse videos.
Config
~/.pexo/config:
PEXO_BASE_URL="https://pexo.ai"
PEXO_API_KEY="sk-<your-api-key>"No account / first run → read references/SETUP-CHECKLIST.md and walk the user through it — it carries the signup flow with the invite code that grants new users bonus credits, plus how to create the config above. Config error → run scripts/pexo-doctor.sh and follow its output.
Workflow
Scripts live in this skill's scripts/. Reply to the user in their language.
- Create a project:
pexo-project-create.sh "<short brief>"→ save theproject_id. - Upload any files the user gave:
pexo-upload.sh <project_id> <path>→ saveasset_id, reference it inline as<original-image>asset_id</original-image>(or<original-video>/<original-audio>). Tags are required — a bareasset_idis ignored. Pexo can't crawl URLs — download, then upload. - Send the request:
pexo-chat.sh <project_id> "<user's exact words> <asset tags>". Copy the user's words exactly; only add asset tags. - Tell the user (their language): submitted ✓ · ~15–20 min ·
https://pexo.ai/project/<project_id>. - Poll: every ≥60s run
pexo-project-get.sh <project_id>and act onnextAction:- WAIT → keep polling; every ~5 polls send a one-line update with the project link.
- RESPOND → handle each event in
recentMessages: relay Pexo's text (wait for the user's answer if it asked, thenpexo-chat.shtheir reply); forpreview_video, runpexo-asset-get.sh <project_id> <assetId>per option, show the URLs (A/B/C), let the user pick, thenpexo-chat.sh <project_id> "<choice>" --choice <assetId>; for adocumentevent, mention it to the user. - DELIVER →
pexo-asset-get.sh <project_id> <final assetId>, then send the user the full asset URL as plain text — all?…query params, never truncated or wrapped in markdown — plus the project link. - FAILED → explain
nextActionHintin plain terms and offer to retry. - RECONNECT →
pexo-chat.sh <project_id> "continue", tell the user the connection dropped and you're resuming, then keep polling. - Never call
pexo-chat.shduring WAIT — it triggers duplicate production. - Taking too long → if it's been >30 min and still WAIT, tell the user (with the project
link +
https://pexo.ai/connect/openclaw) it's running long; ask whether to keep waiting or stop. Don't poll forever.
Revisions
After delivery, the user's tweaks ("make it shorter", "new music", "different shot") reuse the
same project: pexo-chat.sh <project_id> "<their feedback>", then poll again (step 5). Never
create a new project for a revision — it throws away Pexo's server-side context.
Credits
If a script fails with "Credits balance" / "Insufficient credits": if the error carries a
purchase link, pass it to the user; otherwise tell them to add credits at https://pexo.ai/home
→ Credits → Buy Credits. Retry after they confirm.
Example
User: "Generate a 20-second AI video introducing our productivity app."
pid=$(pexo-project-create.sh "AI video app intro")
pexo-chat.sh "$pid" "Generate a 20-second AI video introducing our productivity app."
# Tell the user: submitted, ~15–20 min, https://pexo.ai/project/$pid
# Poll pexo-project-get.sh "$pid" until nextAction is DELIVER, then deliver the asset URL.Scripts
| Script | Usage | Returns |
pexo-project-create.sh | "<brief>" | project_id |
pexo-upload.sh | <project_id> <file> | asset_id |
pexo-chat.sh | <project_id> "<message>" [--choice <id>] | ack (async) |
pexo-project-get.sh | <project_id> | JSON: nextAction, recentMessages |
pexo-asset-get.sh | <project_id> <asset_id> | JSON with url |
pexo-doctor.sh | — | setup diagnostic |
Error codes and edge cases → references/TROUBLESHOOTING.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

