Diffusers How to use AIImageStudio/RadianceChromeVoluptuous_ERNIE_image_v1.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("baidu/ERNIE-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("AIImageStudio/RadianceChromeVoluptuous_ERNIE_image_v1.1")
prompt = "lighting and shadow,A young adult Japanese beautiful woman with warm tan skin and slender athletic build, wearing a black two-piece bikini with smooth fabric and minimal coverage, standing with torso tilted back, head lifted upward, eyes closed, lips slightly parted, hair medium length loose and tousled around her face, arms relaxed by her sides, hands gently curved, legs straight and close together, positioned under a large gnarled tree with dark textured bark and dense green foliage, sand ground beneath her feet, bright direct sunlight casting strong shadows, cinematic high contrast lighting, camera angle slightly low with shallow depth of field focusing on her form, composition centered with tree branches forming a natural arch above, dominant colors black and green, vibrant natural setting evoking serene beachside tranquility"
image = pipe(prompt).images[0]