--- title: Krea 2 AnyPaint emoji: "🎨" colorFrom: green colorTo: pink sdk: gradio sdk_version: 6.20.0 app_file: app.py python_version: "3.12" startup_duration_timeout: 1h short_description: Arbitrary-mask image editing for Krea 2 models: - yijunwang2/krea2-anypaint pinned: false --- # Krea 2 AnyPaint Interactive arbitrary-mask inpainting, outpainting, and image editing for [`yijunwang2/krea2-anypaint`](https://huggingface.co/yijunwang2/krea2-anypaint) on Krea 2 Turbo. [Model repository](https://huggingface.co/yijunwang2/krea2-anypaint) | [ComfyUI nodes](https://github.com/alexw5702-afk/krea2-anypaint) | [Collection](https://huggingface.co/collections/yijunwang2/krea-2-functional-adapters-6a700e9e5c134888d6615a5d) Upload a source, choose a target canvas, place it without changing its aspect ratio, and paint any additional regions to regenerate. The area outside the placed source is automatically treated as outpainting space. White mask pixels are generated; black mask pixels are preserved. The Space is upload-first. Optional fixed examples appear below the main editor; clicking one loads its source, prompt, canvas, and mask without changing the clean empty state for users who bring their own image. The demo uses the same INT8 ConvRot W8A8 Krea 2 DiT and sampling path as the validated ComfyUI workflow. Qwen3-VL and the Qwen Image VAE remain BF16 in the portable Space runtime. Hugging Face ZeroGPU queueing and tensor restore time are outside the measured model pipeline time.