Skip to content

Noticed cropped results when generating with FLUX.2 klein 4B with reference images. #13349

@matemato

Description

@matemato

Hi, when using FLUX.2 Klein 4B with reference images. I noticed generated images were cropped/stretched. I looked at the already existing issues and found this:

@nitinmukesh There is a private marked parameter that you can pass to disable the automatic resizing:

We do the resizing by default to keep the implementation aligned with original implementation, and because there are only certain specific resolutions that Kontext was trained with. Other resolutions may work but how it affects the quality is unknown.

Originally posted by @a-r-r-o-w in #11886

Does this also affect FLUX.2 Klein pipeline and how to disable this?

EDIT: I do not see such cropping/stretching when using ComfyUI

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions