Kandinsky Lab released Kandinsky ImageSR 2.0, which upscales images by 2x and 4x with one model. Developers building image upscaling can load the same model and specify a scale rather than prepare a model for each scale.

1. Precomputed conditions replace reading text

The model comes as a package for Diffusers, an image generation library. Both scales use the same transformer weights for processing image features. These learned values are reused when switching scales.

Text processing and 50 cross-attention layers linking image and conditioning information are replaced by small tables precomputed for each time step. Each request retrieves prepared conditions instead of reading text.

The pipeline, which chains processing stages, uses the Kandinsky 5 transformer included in Diffusers 0.41 or later. The model page lists 5 billion parameters, a reference when preparing the runtime environment.

The repository history records the initial upload on November 24 and revisions to inference timings and installation instructions on November 25.

2. Specify the scale and choose a preset creativity level

Installation starts with a torch build whose CUDA version matches the driver, followed by the pipeline repository. The model card provides this example.

result = pipe(
    "input.png",
    upscale_factor=4,
    # Optional. Defaults: x2=0.15, x4=0.244.
    one_step_t=0.244,
)
result.images[0].save("output.png")

The example specifies a scale, processes the input image, and saves the result. The one-step inference parameter defaults to 0.15 for 2x and 0.244 for 4x.

Creativity levels range from 0 to 8 for both scales, with level 4 as the default. Developers can expose these levels through a user interface control. The model card says 18 configured creativity values are supported beyond the defaults.

3. Split images into tiles to produce large outputs

The model processes tiles measuring 1024 pixels at output resolution and smoothly blends overlaps with boundary-aware handling. It upscales small pieces and joins them. Small inputs are edge-padded, then cropped to the requested size.

The company reports the inference times below. Input size and scale vary under the same hardware and runtime settings, offering a reference for estimating wait times per task.

Table: Inference time per image measured on H100

Conditions: NVIDIA H100 80GB (SXM), square inputs, bfloat16, torch 2.13.0 (CUDA 12.9), default settings (tile_batch_size=1). Median of 5 full pipe(...) calls after 2 warmups; the middle value when sorted.

Unit: seconds

Split images into tiles to produce large outputs
Task (input → output, scale, tile grid)Time per image (seconds)
1K → 2K, ×2, 3 × 32.78
1K → 4K, ×4, 5 × 57.80
2K → 4K, ×2, 5 × 57.84
2K → 8K, ×4, 11 × 1137.5
4K → 8K, ×2, 11 × 1137.7

Here, 1K, 2K, 4K, and 8K denote squares with sides of 1024, 2048, 4096, and 8192 pixels. The company reports 7.80 and 7.84 seconds for the two 4K output tasks using 5 × 5 tiles, and 37.5 and 37.7 seconds for 8K using 11 × 11 tiles. These measurements show tile count affecting workload more than scale factor at the same output size.

4. Simpler model management, control through preset values

One set of weights for two scales, with no text processing at runtime, simplifies deployment and inference. Developers manage fewer scale-specific configurations, but must budget large-output wait times around tile workloads.

This release uses precomputed conditions instead of text prompts, with creativity limited to defaults and configured values. Its design favors user controls for scale and preset creativity levels over free-form instructions.

The transformer and pipeline code use the MIT license. The VAE, a neural network that compresses and reconstructs images, comes from the Apache-2.0-licensed FLUX.1-schnell.

Kandinsky ImageSR 2.0 reduces scale-specific model management, but requires upscaling workflows designed around preset conditioning controls and tile-dependent processing times.