How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Mike0021/flux2-klein-apple-emoji-lora")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Mike0021/flux2-klein-apple-emoji-lora

This repository contains LoRA weights for generating Apple-style emoji icons with emj icon as the trigger phrase.

The LoRA was trained for research and experimentation on Apple-style emoji assets. It is not affiliated with, endorsed by, or sponsored by Apple. The raw Apple emoji training images are not included in this repository.

Usage

import torch
from diffusers import Flux2KleinPipeline

pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Mike0021/flux2-klein-apple-emoji-lora", weight_name="pytorch_lora_weights.safetensors")
pipe.enable_model_cpu_offload()

image = pipe(
    "emj icon of a smiling dragon, centered on a plain white background",
    height=1024,
    width=1024,
    num_inference_steps=30,
    guidance_scale=4.0,
).images[0]

Training Summary

  • Base model: black-forest-labs/FLUX.2-klein-base-4B
  • Trigger phrase: emj icon
  • Dataset: 3,783 Apple emoji image/caption pairs prepared from iamcal/emoji-data
  • Training images are RGB 1024x1024 composites on a plain white background
  • Captions were metadata-derived; the first public baseline uses the shared prompt emj icon for memory reasons

Limitations

  • This model is intended for research and experimentation.
  • Apple emoji source assets are Apple IP; review the relevant terms before using derivatives commercially.
  • The model may reproduce Apple-like visual conventions and should not be presented as an official Apple model.
Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Mike0021/flux2-klein-apple-emoji-lora

Adapter
(83)
this model