# Text To Video

Turn a text prompt or script into a finished, multi-shot video with Pexo.

- Repository: https://github.com/pexoai/pexo-skills (817 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-08-20
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add pexoai/pexo-skills --skill text-to-video -g -a claude-code -y`
Codex: `npx skills add pexoai/pexo-skills --skill text-to-video -g -a codex -y`
Cursor: `npx skills add pexoai/pexo-skills --skill text-to-video -g -a cursor -y`
Gemini CLI: `npx skills add pexoai/pexo-skills --skill text-to-video -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add pexoai/pexo-skills`

## Description

Turn a text prompt or script into a finished, multi-shot video with Pexo. Auto-selects the best model across 10+ engines (Seedance, Kling, Veo, Sora), writes the prompts, generates every shot, and returns a publish-ready video with music and subtitles. Use when the user wants a video FROM TEXT: "make a video about X", "turn this script into a video", "text to video", "generate a video from this description". NOT for editing an existing video or turning an image into video (use the image-to-video skill).

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Text to Video, Pexo

**Pexo:** https://pexo.ai, get an API key, watch your project render, and buy credits there.

Turn a written prompt or script into a finished, publish-ready video. You do not generate
anything yourself: you hand the request to the hosted Pexo agent (same backend as `pexo-agent`,
scoped to text-to-video) and deliver the result. Pexo writes the script, picks the best model
per shot, generates every shot, and adds music, subtitles, and transitions.

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

The rest: https://github.com/pexoai/pexo-skills/blob/HEAD/skills/text-to-video/SKILL.md
