wanghaofan's picture
Update README.md
8b7f85a verified
|
raw
history blame
2.81 kB
metadata
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

FLUX.1-dev-LoRA-blended-realistic-illustration

This is a LoRA trained on FLUX.1-dev for blended realistic illustration by Muertu, the front character is in illustration style, while the background is realistic.

Showcases

Prompt
A cartoon style couple takes a selfie in front of an Egyptian pyramid, which is composed of a man and a woman, both wearing sunglasses. Men wear blue shirts, jeans, and white shoes, while women wear yellow hats, blue jackets, white tops, orange dresses, and pink sneakers. Sand and a group of tourists in the distance. Integrating reality and cartoon elements.,
Prompt
In a picturesque village, a narrow cobblestone street with rustic stone buildings, colorful blinds, and lush green spaces, a cartoon man drawn with simple lines and solid colors stands in the foreground, wearing a red shirt, beige work pants, and brown shoes, carrying a strap on his shoulder. The scene features warm and enticing colors, a pleasant fusion of nature and architecture, and the camera's perspective on the street clearly shows the charming and quaint environment., Integrating elements of reality and cartoon.
Prompt
A cartoon-style boy playing games in his living room, artistic style blends reality and illustration elements.
Prompt
A cartoon-style pianist is playing in the Golden Hall, and artistic style blends reality and illustration elements.
Prompt
A cartoon-style basketball player, dunking on the NBA court, artistic style blends reality and illustration elements.
Prompt
A cartoon-style male singer, Concert, artistic style blends reality and illustration elements.
Prompt
A cartoon-style Donald Duck, walking on the street, the art style combines reality and illustration elements.,
Prompt
A cartoon-style Morty, walking on the street, the art style combines reality and illustration elements.,
Prompt
A cartoon-style Batman, walking on the street, the art style combines reality and illustration elements.,

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, where we provide an online interface to generate images.

Acknowledgements

This model is trained by our copyrighted users Muertu. We release this model under permissions.