Skip to content

feat: one-liner flux wrapper that calls MFLUX's Python API directly #4

@CryptoJones

Description

@CryptoJones

mflux-generate is a long invocation: --model ~/mflux-models/schnell-4bit --base-model schnell --steps 4 --width 1024 --height 1024 --prompt "..." --output .... Worth a one-liner wrapper for everyday use and for scripting from other tools.

Adding scripts/flux.py that calls MFLUX's Python API directly (no subprocess), with sensible defaults (1024×1024 / 4 steps / time-derived seed / ~/Pictures/mflux-<timestamp>.png output). Deployed to ~/.local/bin/flux on the mini so usage collapses to flux "your prompt" from any shell.

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions