--- tags: - text-to-image - stable-diffusion - lora - diffusers - template:sd-lora widget: - text: >- Outdoors,by the forest creek,a white electric car features fashionable futuristic design lines and stylish black alloy wheels with complex patterns. A cartoon style man casually leaned against the car,wearing a white shirt with black trim,black shorts,white socks,and white sneakers. The artistic style blends elements of reality and illustration. output: url: >- images/f9c20664413ae628652eeb0cc3035ec257d1d32fc62178c947b54fc3d2e0f445.png base_model: black-forest-labs/FLUX.1-dev instance_prompt: artistic style blends reality and illustration elements. license: other license_name: flux-1-dev-non-commercial-license license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md language: - en pipeline_tag: text-to-image library_name: diffusers --- # FLUX.1-dev-LoRA-blended-realistic-illustration This is a LoRA trained on FLUX.1-dev for blended realistic illustration by [Muertu](https://www.shakker.ai/userpage/562c8ddb15e147c9b1c31878f865c901/publish), the front character is in illustration style, while the background is realistic.
## Showcases ## Trigger words You should use `artistic style blends reality and illustration elements.` to trigger the image generation. The recommended scale is `1.0`. ## Inference ``` import torch from diffusers import FluxPipeline pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16) pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration", weight_name="FLUX-dev-lora-blended_realistic_illustration.safetensors") pipe.fuse_lora(lora_scale=1.0) pipe.to("cuda") prompt = A peaceful outdoor scene,surrounded by lush green leaves and vibrant vegetation on the stone road. A cartoon style man sits on white clothes,gently caressing two animated cats,one orange and one white. Soft sunlight creates shadows,simple walls and pebble floors create a peaceful atmosphere,blending reality and animation elements,and natural and procedural characters. The artistic style blends elements of reality and illustration." image = pipe(prompt, num_inference_steps=24, guidance_scale=3.5, width=768, height=1024, ).images[0] image.save(f"example.png") ``` ## Online Inference You can also download this model at [Shakker AI](https://www.shakker.ai/modelinfo/4ea23c6ad148462589ea42e4eeac9897?from=personal_page), where we provide an online interface to generate images. ## Acknowledgements This model is trained by our copyrighted users [Muertu](https://www.shakker.ai/userpage/562c8ddb15e147c9b1c31878f865c901/publish). We release this model under permissions.