Views
No views yet
Elle Fanning to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5
6pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
7pipeline.load_lora_weights('Keltezaa/elle-fanning', weight_name='20241120-ElleFanning-v1-step00002000.safetensors')
8image = pipeline('{ "T5": "A cinematic still of Elle Fanning, dressed in a sleek black superhero suit, complete with a golden emblem on her chest, standing heroically with her feet shoulder-width apart, gazing intensely into the distance with an air of determination. Her porcelain skin glistens with a subtle sheen, her platinum blonde hair styled in loose, flowing waves that frame her heart-shaped face. The cityscape behind her is dark and moody, with towering skyscrapers and neon lights reflected in the wet pavement, evoking a sense of gritty urban realism. The camera captures her from a low angle, looking up at her with a wide-angle lens, emphasizing her powerful stance and the grandeur of the city. Shot on 35mm film with a shallow depth of field, the image has a gritty, film noir quality to it.", "CLIP": "Elle Fanning, cinematic, superhero, black suit, golden emblem, intense gaze, platinum blonde hair, urban cityscape, low angle, wide-angle lens, 35mm film, shallow depth of field, gritty, film noir" }').images[0]