Instructions to use Mike0021/flux-dev-apple-emoji-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mike0021/flux-dev-apple-emoji-lora with Diffusers:
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.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Mike0021/flux-dev-apple-emoji-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Mike0021/flux-dev-apple-emoji-lora
This repository contains LoRA weights for generating clean, centered Apple-style emoji avatars 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 FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Mike0021/flux-dev-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.1-dev - Trigger phrase:
emj icon - Dataset: 220 curated Apple emoji image/caption pairs prepared from
iamcal/emoji-data - Training images are RGB 512x512 composites on a plain white background
- Captions were metadata-derived per-image captions with the shared
emjstyle trigger
Samples
The comparison sheet uses avatar-style prompts from the target Hub avatar generator prompt distribution. The right column is fofr/sdxl-emoji rendered with the same subject prompts where feasible.
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
Model tree for Mike0021/flux-dev-apple-emoji-lora
Base model
black-forest-labs/FLUX.1-dev