justmalhar / flux-mobile-ui

Generate detailed mobile app user interfaces (UIs) using prefix “MOBIUI containing..” in 4-15 steps.

  • Public
  • 242 runs
  • Fine-tune

Flux Mobi UI

Generate detailed mobile app UIs using prefix “MOBIUI containing..” in 4-15 steps

Examples have been added for both dev and schnell models.

Trained on Replicate using:

https://replicate.com/ostris/flux-dev-lora-trainer/train

Trigger words

You should use MOBIUI to trigger the image generation.

Training Token, Prefix & Sufdix

This model uses TOK as MOBIUI. Additionally, all training images have been prefixed with MOBIUI containing and suffixed with app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface

Use it with the 🧨 diffusers library

from diffusers import AutoPipelineForText2Image
import torch

pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('justmalhar/flux-mobi-ui', weight_name='lora.safetensors')
image = pipeline('your prompt').images[0]

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers.