--- tags: - text-to-image - lora - diffusers - flux base_model: black-forest-labs/FLUX.1-dev license: creativeml-openrail-m library_name: diffusers --- # Flux.1-Dev LoRA Adapter Trained on ABAII Logo LoRA Adapter for [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) trained on 12 pictures of ABAII Logo with [ai-toolkit](https://github.com/ostris/ai-toolkit/tree/main) # Model Details **Some Examples** LoRA was trained with the trigger phrase `A photo of the ABAII logo on [material]. The logo features the text "ABAII" in bold, dark blue letters, with "Academy of Blockchain and AI Innovation" written below in smaller font. To the left of the text is a stylized design in green, resembling a digital or blockchain motif. ` # Usage With diffusers package *Note: FLUX uses ~70GBvram when loaded directly with diffusers* *Note: Recommended to load at ~70% scale for best results* ```python from diffusers import DiffusionPipeline pipeline = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev") pipeline.load_lora_weights("dtthanh/abaii_logo_v2", weight_name="abaii_v2.safetensors") pipeline.to("cuda") prompt = "A photo of the ABAII logo on a white mug. The logo features the text "ABAII" in bold, dark blue letters, with "Academy of Blockchain and AI Innovation" written below in smaller font. To the left of the text is a stylized design in green, resembling a digital or blockchain motif. The mug is placed on a wooden table, providing a warm and natural background." out = pipeline( prompt=prompt, guidance_scale=3.5, num_inference_steps=20, cross_attention_kwargs={"scale": 0.7} ).images[0] out.save("abaiilogo.png") ``` # Additional Details Please see base model page [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) for all details on appropriate usage, licensing, and more.