ai302-cli
Installation
SKILL.md
302.AI CLI Skill
Guide the agent to use the ai302 CLI for AI-powered media generation. The CLI supports image, video, TTS, STT, SFX generation, model management, and billing queries.
Prerequisites
Before running any ai302 command, verify the environment:
- Installation:
pip install ai302==1.0.1b1 - API Key: Set
AI302_KEYenv var, or pass--api_keyto each command. Not strictly required if the user has already configured it. - PATH (Windows only): If
ai302is not found after pip install, the Scripts directory is not in PATH. Runpip show ai302to find the Location, then add the siblingScriptsfolder to PATH.
Check setup with:
ai302 model list t2i
If this returns JSON with "status":"completed", the CLI is working.