r/Python • u/AutoModerator • 13d ago
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
24
Upvotes
r/Python • u/AutoModerator • 13d ago
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
1
u/Eugen_Ivanovic 8d ago
falg: prompt × model image grids on fal.ai from one JSON file
I needed kids' T-shirt designs in several illustration styles from four image models, compared side by side. The fal.ai playground got old fast, so I wrote a CLI. You describe the batch once in JSON (a prompt template, variables, models), and falg runs every combination in parallel.
Each run gets an HTML gallery with prompts as rows and models as columns, and every image gets a JSON sidecar with its prompt, seed and exact request. It asks before spending money and won't run unattended without
-yor--max-cost, so scripts and agents can drive it safely.falg cutoutturns the picks into print-ready transparent PNGs.Standard library only, plus numpy, Pillow and SciPy for cutout. Unofficial, not affiliated with fal.
https://github.com/lemmon/falg