A command-line interface for generating images using various AI services: Venice.ai, Replicate.ai, and Fal.ai.
npm install -g flux-client
Generate images using Venice AI's models.
# Basic usage
venice --prompt "A futuristic cityscape at dusk"
# Advanced options
venice --prompt "A serene landscape" --format wide --style-preset photographic
venice --prompt "A cyberpunk scene" --steps 25 --cfg-scale 2 --seed 42
Options:
--prompt
: Text description of the image to generate--model
: Choose AI model (default: flux-dev)--format
: Image size preset (square, portrait, landscape, wide)--style-preset
: Visual style (anime, photographic, digital-art, etc.)--steps
: Generation steps (max 30)--cfg-scale
: Guidance scale--seed
: For reproducible results--negative-prompt
: What to avoid in the image
List and update available Venice AI models.
venice-models
Generate images using Fal AI's models.
falflux --prompt "A happy dog" --model pro
Generate images using Replicate's models.
repflux --prompt "A mountain landscape"
VENICE_API_TOKEN
: Your Venice AI API tokenFAL_KEY
: Your Fal AI API keyREPLICATE_API_TOKEN
: Your Replicate API token
Generated images are saved in:
- Venice AI:
./images/venice/
- Fal AI:
./images/
- Replicate:
./output/