--- title: "Seamless Texture Generator - FLUX.2 klein" emoji: "🧱" colorFrom: indigo colorTo: purple sdk: gradio sdk_version: 6.1.0 python_version: "3.12" app_file: app.py pinned: false models: - black-forest-labs/FLUX.2-klein-4B - jingheya/lotus-normal-g-v1-1 - Phips/4xNomosWebPhoto_RealPLKSR license: apache-2.0 short_description: "Tileable textures from text, or a photo made seamless." --- # Seamless Texture Generator - FLUX.2 klein Tileable textures with FLUX.2 klein 4B, the Apache-2.0 model from Black Forest Labs, in its distilled 4-step mode. - **From a description** (`/texture`): a 1024 or 2048-pixel tile that repeats without visible edges. Every denoising step sees the image twice, as it is and shifted by half, so the wrap is painted like any other part of the surface; the VAE decodes with wrap-around padding. A photo can be added to restyle it. - **From a photo** (`/seamless`): the photo keeps its own pixels, at 1024 or 2048. Only a narrow strip along its edges is repainted (inpainting inside the sampler) so that they meet, and that strip is matched to the photo's own sharpness and colour. - **Maps** (`/material_maps`, or with either of the above in the same run): normal, 16-bit height, roughness and metallic maps read from the texture by nets trained on texture sets (Material Map Generator, Apache-2.0), Lotus-G normal (Apache-2.0) and CLIP (MIT). Seamless in, seamless out. A tile can be enlarged with [4xNomosWebPhoto RealPLKSR](https://huggingface.co/Phips/4xNomosWebPhoto_RealPLKSR) by Philip Hofmann (CC-BY-4.0), padded by wrapping so it still repeats. ## Free on 3D Valley Used by the [free seamless texture generator](https://3dvalley.com/tools/create/texture-generator) on 3D Valley. Built by [Upsampler](https://upsampler.com).