kevinwang676's picture
Upload folder using huggingface_hub
6755a2d verified

A newer version of the Gradio SDK is available: 5.13.0

Upgrade

Kandinsky 2.2

Kandinsky 2.2 is created by Arseniy Shakhmatov, Anton Razzhigaev, Aleksandr Nikolich, Vladimir Arkhipkin, Igor Pavlov, Andrey Kuznetsov, and Denis Dimitrov.

The description from it's GitHub page is:

Kandinsky 2.2 brings substantial improvements upon its predecessor, Kandinsky 2.1, by introducing a new, more powerful image encoder - CLIP-ViT-G and the ControlNet support. The switch to CLIP-ViT-G as the image encoder significantly increases the model's capability to generate more aesthetic pictures and better understand text, thus enhancing the model's overall performance. The addition of the ControlNet mechanism allows the model to effectively control the process of generating images. This leads to more accurate and visually appealing outputs and opens new possibilities for text-guided image manipulation.

The original codebase can be found at ai-forever/Kandinsky-2.

Check out the Kandinsky Community organization on the Hub for the official model checkpoints for tasks like text-to-image, image-to-image, and inpainting.

Make sure to check out the schedulers guide to learn how to explore the tradeoff between scheduler speed and quality, and see the reuse components across pipelines section to learn how to efficiently load the same components into multiple pipelines.

KandinskyV22PriorPipeline

[[autodoc]] KandinskyV22PriorPipeline - all - call - interpolate

KandinskyV22Pipeline

[[autodoc]] KandinskyV22Pipeline - all - call

KandinskyV22CombinedPipeline

[[autodoc]] KandinskyV22CombinedPipeline - all - call

KandinskyV22ControlnetPipeline

[[autodoc]] KandinskyV22ControlnetPipeline - all - call

KandinskyV22PriorEmb2EmbPipeline

[[autodoc]] KandinskyV22PriorEmb2EmbPipeline - all - call - interpolate

KandinskyV22Img2ImgPipeline

[[autodoc]] KandinskyV22Img2ImgPipeline - all - call

KandinskyV22Img2ImgCombinedPipeline

[[autodoc]] KandinskyV22Img2ImgCombinedPipeline - all - call

KandinskyV22ControlnetImg2ImgPipeline

[[autodoc]] KandinskyV22ControlnetImg2ImgPipeline - all - call

KandinskyV22InpaintPipeline

[[autodoc]] KandinskyV22InpaintPipeline - all - call

KandinskyV22InpaintCombinedPipeline

[[autodoc]] KandinskyV22InpaintCombinedPipeline - all - call