Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('ostris/Flex.1-alpha', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('Cossale/Frames-Flex2', weight_name='backdrops_v2.safetensors')
6image = pipeline('FRM$ a majestic mountain range with snow-capped peaks in the background, illuminated by the setting sun. The sky is a beautiful mix of oranges, pinks, and purples, creating a stunning backdrop for the majestic peaks.').images[0]
7image.save("my_image.png")