Skip to content

a commandline client for generating and retrieving flux-images created using the Replicate-web-service.

Notifications You must be signed in to change notification settings

phareim/replicate-flux-commandline-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Image Generation CLI Tools

A command-line interface for generating images using various AI services: Venice.ai, Replicate.ai, and Fal.ai.

Installation

npm install -g flux-client

Available Commands

Venice AI (venice)

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

Venice Models (venice-models)

List and update available Venice AI models.

venice-models

Fal AI (falflux)

Generate images using Fal AI's models.

falflux --prompt "A happy dog" --model pro

Replicate (repflux)

Generate images using Replicate's models.

repflux --prompt "A mountain landscape"

Environment Variables

  • VENICE_API_TOKEN: Your Venice AI API token
  • FAL_KEY: Your Fal AI API key
  • REPLICATE_API_TOKEN: Your Replicate API token

Output

Generated images are saved in:

  • Venice AI: ./images/venice/
  • Fal AI: ./images/
  • Replicate: ./output/

About

a commandline client for generating and retrieving flux-images created using the Replicate-web-service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published