Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.12.0
metadata
title: FlowSlider
emoji: ๐๏ธ
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.23.3
app_file: app.py
pinned: false
license: mit
FlowSlider โ Continuous Image Editing via Flow Matching
FlowSlider extends FlowEdit with a 3-prompt directional decomposition that gives you a continuous scale knob over the edit intensity โ from "no change" to "full edit" and beyond.
Algorithm
V_direction = V_pos โ V_neg (pure editing direction)
V_delta = (V_neg โ V_src) + scale ร V_direction
| scale | effect |
|---|---|
| 0.0 | no edit |
| 1.0 | full positive-target edit |
| > 1 | exaggerated / over-edit |
How to use
- Upload a source image.
- Fill in Source Prompt (describe the image), Positive Target Prompt (desired result), and optionally a Negative Target Prompt (the "opposite" direction; leave blank to default to the source prompt).
- Enter one or more scales as comma-separated values (e.g.
0.0, 0.5, 1.0). - Click Generate โ the gallery shows the original plus one result per scale.
Supported backbones
| Model | HF Hub |
|---|---|
| FLUX.1-dev | black-forest-labs/FLUX.1-dev |
| Stable Diffusion 3 | stabilityai/stable-diffusion-3-medium-diffusers |