# Generate AI Videos with Auto Model Selection

Creating professional AI videos is complex - you need to choose the right model, write prompts, and manage the production pipeline. Pexo Agent handles all of this by automatically routing each shot to the best model and producing a finished multi-shot video with music, subtitles, and transitions from a simple description.

## Install

```bash
npx skillstore add pexoai/pexoai-agent
```

## Metadata

- - Slug: pexoai-pexoai-agent
- - Version: 0.3.11
- - Author: pexoai
- - GitHub username: pexoai
- - License: MIT
- - Repository: https://github.com/pexoai/pexo-skills/tree/main/skills/pexo-agent/
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: medium
- - Risk factors: scripts, external\_commands, network, filesystem, env\_access
- - Quality score: 50
- - Quality tier: warning
- - Public page: https://skillstore.pages.dev/skills/pexoai-pexoai-agent
- - Manifest: https://skillstore.pages.dev/api/skills/pexoai-pexoai-agent/manifest

## Capabilities

- Generate finished videos from text descriptions, images, URLs, scripts, or audio input
- Automatically select the best AI video model for each shot from 10\+ available models
- Produce multi-shot videos with AI music, lip sync, subtitles, and scene transitions
- Upload and reference custom media files as visual or audio references
- Create videos in multiple aspect ratios: 16:9 landscape, 9:16 portrait, and 1:1 square
- Revise existing videos by sending new instructions to an existing project

## Use Cases

- Marketing Video Production: Create product videos, promotional clips, and brand videos from a product photo or URL. The AI handles scriptwriting, shot composition, music selection, and final assembly.
- Social Media Content Creation: Generate TikTok, Instagram Reels, and YouTube Shorts from a simple text description. The skill auto-selects the correct aspect ratio and model for short-form video.
- E-commerce Video at Scale: Produce multiple product video variants for A/B testing from product catalogs. Upload product images and let the agent create consistent branded video content.

## Prompt Templates

### Basic Text-to-Video

```
Make a 15-second promotional video about [your product or topic].
```

### Video with Reference Image

```
[Upload a product photo] Create a product video for this item. The video should be 15 seconds long and focus on the product features.
```

### Multi-Shot Brand Video

```
Create a 30-second brand video with 3 shots. The first shot shows the product packaging, the second shows the product in use, and the third shows the product with a call to action. Use upbeat music and add subtitles.
```

### Video Revision with Feedback

```
Change the background music to something more energetic. Make the text captions larger and position them at the bottom center. Keep the same visuals.
```

## Limitations

- Requires a Pexo API key and active internet connection to function
- Video generation takes 8-20 minutes depending on length and shot complexity
- Cannot directly access web URLs - user-provided links must be downloaded before uploading
- Only supports specific media formats: images \(jpg, png, webp, bmp, tiff, heic\), videos \(mp4, mov, avi\), audio \(mp3, wav, aac, m4a, ogg, flac\)

## Best Practices

- Upload reference images or audio directly instead of providing web URLs - the skill cannot crawl web links
- Describe your desired video output clearly including length, style, and target platform for best results
- Check your Pexo credit balance before starting large projects to avoid mid-production interruptions

## Anti Patterns

- Adding unnecessary creative details that override Pexo's professional video judgment - this produces lower quality videos
- Calling pexo-chat.sh during the WAIT polling phase - this triggers duplicate video production
- Truncating download URLs by removing query parameters - this causes 403 Forbidden errors on video links

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-05-27T09:20:56.425\+00:00
- - Summary: This skill is a legitimate API client for the Pexo AI video generation service. It uses shell scripts to communicate with pexo.ai's REST API, requiring network access, API credentials, and local script execution. The static analyzer flagged a high number of findings \(537\) due to the combination of these risk factors, but most are expected patterns for a CLI API client. Key confirmed risks are: external API calls to a third-party service, credential access \(PEXO\_API\_KEY\), and local file operations. No evidence of malicious intent or obfuscation was found. The skill is safe to publish with MEDIUM risk level and appropriate user warnings.

## Stats

- - Views: 383
- - Downloads: 79
- - Favorites: 5
- - Popularity score: 0
