alexgenovese / flux-sd3-flow-edit

FlowEdit: Inversion-Free Text-Based Editing Using Pre-Trained Flow Models

  • Public
  • 55 runs
  • GitHub
  • Paper
  • License

About

It’s a Cog implementation of FlowEdit: Inversion-Free Text-Based Editing Using Pre-Trained Flow Models

I removed SD3 due to technical constraints – If you need the SD3 implementation, contact me.

Contact me if you need customizations.

Follow me on Twitter/X | Website

How to use the Cog

Make sure you have cog installed.

To run a prediction using the GitHub code:

cog predict -i image="./image.png" -i model_type="FLUX" -i source_prompt="a cat sitting in the grass"  -i target_prompt="a puppy sitting in the grass"

Credits

FlowEdit Project | Arxiv

License

The code in this repository is licensed under the Apache-2.0 License.

Flux Dev falls under the FLUX.1 [dev] Non-Commercial License.

FLUX.1 [dev] fine-tuned weights and their outputs are non-commercial by default, but can be used commercially when running on Replicate.