Views
No views yet
k!ds to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('username/5_6_yrs_kids_shift', weight_name='5_6_yrs_kids_shift.safetensors')
6image = pipeline('k!ds A 5-year old girl with blonde hair, standing in the middle of the frame, wearing a green knitted top with a geometric pattern and a white floral skirt with ruffled layers. she has a playful expression and is looking directly at the camera with a slight smile on her face. the background is a plain white wall with a shadow cast on it, creating a simple yet elegant atmosphere. the girl appears to be around 6 years old, with her hair styled in a neat, straight look and her eyes looking directly into the camera. her outfit consists of a sleeveless dress with a green and white geometric pattern, paired with a pair of white floral pants. the overall aesthetic of the image is playful and cheerful, with a focus on the girl's cheerful expression and the texture of her outfit.').images[0]
7image.save("my_image.png")