Agent skill

AI Video Generation

by pexoai in pexoai/pexo-skills

Generate AI video from any input — text, image, or script — with Pexo.

MITAuto-check passedMedia & Creative

Install AI Video Generation

skills CLI
$ npx skills add pexoai/pexo-skills --skill ai-video-generation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pexoai/pexo-skills ai-video-generation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pexoai/pexo-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-video-generation .claude/skills/ai-video-generation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-video-generation
GitHub stars
804
Token cost
~1.3k tokens
SKILL.md length
538 words
Files
13 (incl. scripts, references)
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

Generate AI video from any input — text, image, or script — with Pexo.

  • Works in 5 steps: Create a project: pexo-project-create.sh… → Upload any files the user gave:… → Send the request: pexo-chat.sh " ". → …
  • Any AI video generation request: ai video generation
  • SKILL.md covers Your role: relay, don't create, Config, Workflow and Revisions, plus 3 more sections
  • Runs Shell scripts from its folder; reaches pexo.ai; needs PEXO_API_KEY

What it does

AI Video Generation is an agent skill from pexoai/pexo-skills. 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.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts and reference files (for example `README.md`, `references/SETUP-CHECKLIST.md` and `references/TROUBLESHOOTING.md`).

It sits in Media & Creative, covering AI video generation. It works with Seedance. The repository describes itself as: A collection of open-source Agent Skills for content creation — images, audio, and video. The licence is MIT.

When your agent uses it

  • Any AI video generation request: ai video generation
  • Generate a video with ai
  • Ai video generator
  • Make an ai video

Example prompts

  • “ai video generation”
  • “generate a video with ai”
  • “ai video generator”
  • “/ai-video-generation”

Requirements

  • A Bash shell
  • A credential in PEXO_API_KEY

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Create a project: pexo-project-create.sh "" → save the project_id.
  2. Upload any files the user gave: pexo-upload.sh → save asset_id,
  3. Send the request: pexo-chat.sh " ".
  4. Tell the user (their language): submitted ✓ · ~15–20 min · https://pexo.ai/project/.
  5. Poll: every ≥60s run pexo-project-get.sh and act on nextAction

What it can do on your machine

Read from SKILL.md and the folder at commit f724267. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 9 files in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • pexo.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PEXO_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Video Generation loads about 1.3k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 538 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from pexoai/pexo-skills at commit f724267, republished under its MIT licence (© pexoai). 538 words, ~1,323 tokens.

Download SKILL.mdSave it as .claude/skills/ai-video-generation/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
ai-video-generation
description
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.
homepage
https://pexo.ai
repository
https://github.com/pexoai/pexo-skills
version
0.1.0
requires.env
PEXO_API_KEY, PEXO_BASE_URL
requires.runtime
curl, jq, file
metadata.author
pexoai

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.

  1. Create a project: pexo-project-create.sh "<short brief>" → save the project_id.
  2. Upload any files the user gave: pexo-upload.sh <project_id> <path> → save asset_id, reference it inline as <original-image>asset_id</original-image> (or <original-video> / <original-audio>). Tags are required — a bare asset_id is ignored. Pexo can't crawl URLs — download, then upload.
  3. Send the request: pexo-chat.sh <project_id> "<user's exact words> <asset tags>". Copy the user's words exactly; only add asset tags.
  4. Tell the user (their language): submitted ✓ · ~15–20 min · https://pexo.ai/project/<project_id>.
  5. Poll: every ≥60s run pexo-project-get.sh <project_id> and act on nextAction:
    • 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, then pexo-chat.sh their reply); for preview_video, run pexo-asset-get.sh <project_id> <assetId> per option, show the URLs (A/B/C), let the user pick, then pexo-chat.sh <project_id> "<choice>" --choice <assetId>; for a document event, 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 nextActionHint in 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.sh during 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.
Show full SKILL.md (126 more words)Show less

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

bash
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

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

© pexoai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, references) in skills/ai-video-generation of pexoai/pexo-skills.

  • SKILL.md
  • README.md
  • references/SETUP-CHECKLIST.md
  • references/TROUBLESHOOTING.md
  • scripts/_common.sh
  • scripts/pexo-asset-get.sh
  • scripts/pexo-chat.sh
  • scripts/pexo-doctor.sh
  • scripts/pexo-entitlements.sh
  • scripts/pexo-project-create.sh
  • scripts/pexo-project-get.sh
  • scripts/pexo-project-list.sh
  • scripts/pexo-upload.sh

Open the folder on GitHubat commit f724267

Compare with similar skills

AI Video Generation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Video Generation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Video Generation this skillpexoai/pexo-skills804—~1.3kAutomated safety check: PassMIT
Seedancesongguoxs/seedance-prompt-skill2.9k1 repos~2.5kAutomated safety check: PassNone
SN Motion HTMLOpenSenseNova/SenseNova-Skills5.7k—~2.2kAutomated safety check: NotesMIT
Seedance Prompt Endexhunter/seedance2-skill4.2k—~3.8kAutomated safety check: PassMIT
Seedance Japanese Prompt ExamplesEmily2040/seedance-2.07.6k1 repos~898Automated safety check: PassMIT
Seedance 2 5 Video Directorliyue-aigc/seedance-2-5-video-director599—~3.5kAutomated safety check: PassMIT

Similar skills

  • Seedance

    songguoxs/seedance-prompt-skill

    This skill should be used when the user asks to "generate video prompts", "create Seedance prompts", "write video descriptions", mentions "Seedance", "seedance", "即梦", "即梦平台", "视频提示词", "视频生成"…

    2.9k GitHub starsUsed in 1 repo~2.5k tokens
    Media & CreativeAuto-check passed
  • SN Motion HTML

    OpenSenseNova/SenseNova-Skills

    Builds HTML stories where one continuous camera journey advances with page progress, using researched structure, AI stills, Seedance video clips and browser QA.

    5.7k GitHub stars~2.2k tokensUpdated 2 days ago
    Media & CreativeAuto-check: notes
  • Seedance Prompt En

    dexhunter/seedance2-skill

    Write effective prompts for Jimeng Seedance 2.0 multimodal AI video generation.

    4.2k GitHub stars~3.8k tokensUpdated 21 days ago
    Media & CreativeAuto-check passed
  • Seedance Japanese Prompt Examples

    Emily2040/seedance-2.0

    Provides Japanese prompt patterns and safe example rewrites for Seedance 2.0 video generation, with reference tags kept intact and each example labeled by risk.

    7.6k GitHub starsUsed in 1 repo~898 tokens
    Media & CreativeAuto-check passed
  • Seedance 2 5 Video Director

    liyue-aigc/seedance-2-5-video-director

    Design, derive, optimize, diagnose, and rewrite scripts or copy-ready prompts specifically for Dreamina/即梦 Seedance 2.5.

    599 GitHub stars~3.5k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Seedance Prompt Zh

    dexhunter/seedance2-skill

    为即梦 Seedance 2.0 多模态AI视频生成模型撰写高质量提示词。当用户需要使用文本、图片、视频、音频等多模态输入创作视频提示词时触发。涵盖@引用语法、运镜复刻、特效模仿、视频延长、视频编辑、音乐卡点、电商广告、短剧创作、科普教育等场景。

    4.2k GitHub stars~1.9k tokensUpdated 21 days ago
    Media & CreativeAuto-check passed

More from pexoai/pexo-skills

All 18 skills in this repo
  • Explainer Video

    pexoai/pexo-skills

    Create an explainer video with narration using Pexo. An agent skill from pexoai/pexo-skills.

    804 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Founder Video

    pexoai/pexo-skills

    Make a founder video with Pexo — built for solo founders and small teams.

    804 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Image To Video

    pexoai/pexo-skills

    Animate a still image into a finished, moving video with Pexo.

    804 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Launch Video

    pexoai/pexo-skills

    Make a launch video for your startup or product with Pexo. An agent skill from pexoai/pexo-skills.

    804 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Make A Video

    pexoai/pexo-skills

    Make a complete video from a simple idea with Pexo. An agent skill from pexoai/pexo-skills.

    804 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Pexo Agent

    pexoai/pexo-skills

    AI video generation skill with auto model selection across Seedance 2, Kling 3.0, HappyHorse, and 10+ models.

    804 GitHub stars~5k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about AI Video Generation

What does AI Video Generation do?

Generate AI video from any input — text, image, or script — with Pexo. AI Video Generation is an agent skill from pexoai/pexo-skills. Generate AI video from any input — text, image, or script — with Pexo.

When should I use AI Video Generation?

AI Video Generation fits situations like: any AI video generation request: ai video generation; generate a video with ai; ai video generator; make an ai video.

How do I install AI Video Generation in Claude Code?

Run `npx skills add pexoai/pexo-skills --skill ai-video-generation -a claude-code`. Or copy the skill folder (skills/ai-video-generation in pexoai/pexo-skills) into .claude/skills/ai-video-generation in your project. Claude Code loads it when a task matches its description.

How do I install AI Video Generation in Codex?

Run `npx skills add pexoai/pexo-skills --skill ai-video-generation -a codex`. Or copy the skill folder (skills/ai-video-generation in pexoai/pexo-skills) into .agents/skills/ai-video-generation in your project. Codex loads it when a task matches its description.

Can I use AI Video Generation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pexoai/pexo-skills --skill ai-video-generation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-video-generation, .gemini/skills/ai-video-generation, .github/skills/ai-video-generation and .opencode/skills/ai-video-generation in your project.

What does AI Video Generation need to run?

Going by SKILL.md and its folder, AI Video Generation needs a shell for the scripts in its folder and credentials named PEXO_API_KEY. Our summary lists: A Bash shell; A credential in PEXO_API_KEY.

Does AI Video Generation access the network?

SKILL.md names 1 domain. In commands or code: pexo.ai; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is AI Video Generation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does AI Video Generation use?

AI Video Generation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AI Video Generation use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to AI Video Generation?

Skills that share tags, products or a category with AI Video Generation: Seedance (songguoxs/seedance-prompt-skill, 2.9k stars), SN Motion HTML (OpenSenseNova/SenseNova-Skills, 5.7k stars), Seedance Prompt En (dexhunter/seedance2-skill, 4.2k stars) and Seedance Japanese Prompt Examples (Emily2040/seedance-2.0, 7.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Video Generation?

pexoai (a GitHub user) maintains it in pexoai/pexo-skills, which has 804 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on August 20, 2026.

Source: pexoai/pexo-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.