LIQGLASS β€” macOS 26 Liquid Glass Icon LoRA

A FLUX.2 Klein 4B LoRA fine-tuned to generate macOS Tahoe 26 Liquid Glass style app icons.

Model License Made by


What is this?

LIQGLASS is a LoRA adapter for FLUX.2 Klein 4B, trained on 542 hand-curated macOS 26 Tahoe Liquid Glass icons scraped and filtered from the community. It generates app icons that follow Apple's macOS 26 Liquid Glass design language β€” translucent frosted glass squircle shapes, specular highlights, layered depth, and clean minimal symbols.

The trigger word is LIQGLASS.


Training Details

Parameter Value
Base Model FLUX.2 Klein 4B Base
Training Framework SimpleTuner
Steps 800
LoRA Rank 8
LoRA Alpha 8
Learning Rate 1e-4
Optimizer AdamW BF16
Mixed Precision BF16
Dataset 542 hand-curated macOS 26 Liquid Glass icons
Captioning Qwen2.5-VL-7B (local, on Kaggle T4 x2)
Resolution 512px
Trigger Word LIQGLASS

Usage

Recommended: Via app.py

python app.py

With Diffusers + PEFT

import torch
from diffusers import DiffusionPipeline

model_id = 'black-forest-labs/FLUX.2-klein-base-4B'
adapter_id = 'Andy-ML-And-AI/Andy-ML-And-AI/LIQGLASS-klein-lora'
pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
pipeline.load_lora_weights(adapter_id)

prompt = "LIQGLASS, macOS Liquid Glass style icon, translucent frosted glass squircle shape, Safari browser app, compass symbol, blue tinted glass, specular highlight, inner glow, light refraction at edges, depth layering, soft shadow, Apple macOS design language, high detail"
negative_prompt = 'ugly, flat, matte, no glass effect, blurry, low quality, old style, skeuomorphic, glossy blob, vista style'

## Optional: quantise the model to save on vram.
## Note: The model was quantised during training, and so it is recommended to do the same during inference time.
from optimum.quanto import quantize, freeze, qint8
quantize(pipeline.transformer, weights=qint8)
freeze(pipeline.transformer)
    
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu') # the pipeline is already in its target precision level
model_output = pipeline(
    prompt=prompt,
    negative_prompt=negative_prompt,
    num_inference_steps=20,
    generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(42),
    width=512,
    height=512,
    guidance_scale=None,
).images[0]

model_output.save("output.png", format="PNG")

Prompt Template

LIQGLASS, macOS Liquid Glass style icon, [APP NAME], [SYMBOL DESCRIPTION], [COLOR] tinted glass, translucent frosted glass squircle shape, [COLOR] gradient background layer with lighter frosted overlay, specular highlight on upper left rim, inner glow, light refraction at squircle edges, soft inter-layer shadow, 2.5D flat glass design, Apple macOS 26 Tahoe design language, 1024x1024, high detail

Recommended Parameters

Parameter Value
Inference Steps 20–28
Guidance Scale 3.5–5.0
LoRA Strength 0.8–1.0
Resolution 1024x1024

Negative Prompt

ugly, flat matte, no glass effect, blurry, low quality, old style, skeuomorphic, glossy blob, Vista style, Windows Aero, circular shape, two separate floating objects, hyper realistic CGI, neon glow, particle effects, photographic background, distorted symbol, warped, morphed, watermark, signature, border, frame


What to Avoid

  • ❌ Circular icons β€” must be Apple squircle
  • ❌ Vista/Aero style glossy blobs
  • ❌ Hyper-realistic 3D CGI rendering
  • ❌ Skeuomorphic textures
  • ❌ Symbol distortion or warping
  • ❌ Two physically separated floating objects
  • ❌ Neon glow or particle effects

What Works Well

  • βœ… Single clean symbol centered in the squircle
  • βœ… One dominant color family per icon
  • βœ… Frosted glass layering with subtle depth
  • βœ… Apple-style gradients (blue, teal, green, purple, amber)
  • βœ… Metallic or white symbols with subtle bevel
  • βœ… Soft specular highlights and inner glow

License

This LoRA is released under Apache 2.0 β€” same as the base FLUX.2 Klein 4B model. Free for personal and commercial use.


Credits

Downloads last month
33
Inference Examples
Examples
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Andy-ML-And-AI/LIQGLASS

Adapter
(34)
this model