@nathangb/opengen
v0.0.1
Published
A universal, agent-native CLI for AI media generation
Downloads
24
Maintainers
Readme
OpenGen CLI
A universal, agent-native CLI that aggregates AI image and video generation providers behind a single, consistent command interface.
Installation
npm install -g opengenSetup
Run the interactive setup to configure your Replicate API token and default models:
opengen initAlternatively, you can set the REPLICATE_API_TOKEN environment variable.
Usage
Image Generation
opengen image "a cyberpunk cat riding a motorcycle" --model fluxVideo Generation
opengen video "drone flying through neon Tokyo" --model minimax --duration 5List Models
opengen modelsAgent-Native Features
OpenGen is designed to be easily used by AI agents:
--jsonflag to force structured JSON output instead of TTY UI.- Deterministic exit codes corresponding to different error cases.
- Easy to pipe standard output for streaming updates and completion.
License
MIT
