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
Got it. But could you refactor with explicit Text2Image and Image2Image pipeline class inherit from that for better readability.
As to my understanding, most T2I model support this sort of I2I by simply replace noise to input image latent which is more likely to an inversion style. However, the image editing model behaves differently.
Activity
yiyixuxu commentedon Jan 16, 2026
hey @Bili-Sakura
flux2 klein support image input https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/flux2/pipeline_flux2_klein.py#L611
Bili-Sakura commentedon Jan 17, 2026
Got it. But could you refactor with explicit Text2Image and Image2Image pipeline class inherit from that for better readability.
As to my understanding, most T2I model support this sort of I2I by simply replace noise to input image latent which is more likely to an inversion style. However, the image editing model behaves differently.
[-]Add Flux.2 Klein Image2Image Pipeline[/-][+]how Flux.2 Klein support both T2I and TI2I[/+]