ai302-cli
Installation
SKILL.md
302.AI CLI Skill
Guide the agent to use the 302ai CLI for AI-powered media generation. The CLI supports image, video, TTS, STT, SFX, 3D generation, song/music generation, web search, model management, and billing queries.
Prerequisites
Before running any 302ai command, verify the environment:
- Installation:
pip install cli_302ai==1.0.2b1- Upgrading from an older version: Run
pip install cli_302ai==1.0.2b1 --upgrade. The skill and the pip package must be at the same version — updating the skill alone won't enable new modules (3D, search).
- Upgrading from an older version: Run
- 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
302aiis not found after pip install, the Scripts directory is not in PATH. Runpip show cli_302aito find the Location, then add the siblingScriptsfolder to PATH.
Check setup with:
302ai model list t2i
If this returns JSON with "status":"completed", the CLI is working.