/fluxy

FLUX image generator TUI

Primary LanguageGoMIT LicenseMIT

fluxy Logo

fluxy

FLUX image generator TUI


Why? 🤔

Why leave the terminal to capture an AI image generation idea?

Getting Started

Install

brew install blacktop/tap/fluxy

Or

go install github.com/blacktop/fluxy@latest

Or download the latest release

Run

  1. Sign up for an account at Replicate
  2. Place API_TOKEN in env
    export REPLICATE_API_TOKEN=r8_**********************
  3. exec fluxy
> fluxy --help

FLUX image generator TUI

Usage:
  fluxy [flags]

Flags:
  -t, --api-token string   Replicate API token (overrides REPLICATE_API_KEY env_var)
  -a, --aspect string      Aspect ratio of the image (16:9, 4:3, 1:1, etc) (default "1:1")
  -f, --format string      Output image format (png, webp, or jpg) (default "png")
  -h, --help               help for fluxy
  -m, --model string       Model to use (schnell, pro, or dev) (default "pro")
  -o, --output string      Output folder
  -p, --prompt string      Prompt for image generation
  -V, --verbose            Verbose output

demo

Note

The in terminal images leverage the iTerm2 Inline Images Protocol OR the Kitty Terminal Graphics Protocol. You must use a compatible terminal to view these images.

License

MIT Copyright (c) 2024 blacktop