Overview

Flux CLI

Install#

pip install flux-pro-cli

Quick start#

export ACEDATACLOUD_API_TOKEN=your_token_here
 
flux generate "A majestic mountain landscape at golden hour, photorealistic"
flux generate "Cyberpunk city with neon lights" -m flux-2-pro
flux edit "Add sunglasses to the person" --image-url https://example.com/photo.jpg

Models#

flux-dev, flux-pro, flux-kontext-pro, flux-kontext-max, flux-2-flex, flux-2-pro, flux-2-max, flux-2-klein. Kontext models are built for editing and style transfer.

Commands#

Command Description
generate Text-to-image
edit Edit an existing image
task / tasks / wait Status tracking
models / aspect-ratios List options

See also: NanoBanana CLI · Seedream CLI · all CLIs

Updated

Was this page helpful?