You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All checkpoints have different usage which we detail below.
44
45
@@ -273,6 +274,31 @@ images = pipe(
273
274
images[0].save("flux-redux.png")
274
275
```
275
276
277
+
### Kontext
278
+
279
+
Flux Kontext is a model that allows in-context control of the image generation process, allowing for editing, refinement, relighting, style transfer, character customization, and more.
prompt ="Make Pikachu hold a sign that says 'Black Forest Labs is awesome', yarn art style, detailed, vibrant colors"
293
+
image = pipe(
294
+
image=image,
295
+
prompt=prompt,
296
+
guidance_scale=2.5,
297
+
generator=torch.Generator().manual_seed(42),
298
+
).images[0]
299
+
image.save("flux-kontext.png")
300
+
```
301
+
276
302
## Combining Flux Turbo LoRAs with Flux Control, Fill, and Redux
277
303
278
304
We can combine Flux Turbo LoRAs with Flux Control and other pipelines like Fill and Redux to enable few-steps' inference. The example below shows how to do that for Flux Control LoRA for depth and turbo LoRA from [`ByteDance/Hyper-SD`](https://hf.co/ByteDance/Hyper-SD).
0 commit comments