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:

  1. Installation: pip install ai302==1.0.1b1
  2. API Key: Set AI302_KEY env var, or pass --api_key to each command. Not strictly required if the user has already configured it.
  3. PATH (Windows only): If ai302 is not found after pip install, the Scripts directory is not in PATH. Run pip show ai302 to find the Location, then add the sibling Scripts folder to PATH.

Check setup with:

ai302 model list t2i

If this returns JSON with "status":"completed", the CLI is working.

Command Architecture

Installs
1
First Seen
May 29, 2026
ai302-cli — 302ai/ai302-cli-skill