Views
No views yet
Cre4ture to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained(
5 'black-forest-labs/FLUX.1-dev',
6 torch_dtype=torch.bfloat16
7).to('cuda')
8pipeline.load_lora_weights(
9 'ayanda13/Horizon_Creature_v1.1',
10 weight_name='Horizon_Creature_v1.1.safetensors'
11)
12image = pipeline(
13 'A gigantic robotic creature with silver claws, walking through a foggy jungle. Cre4ture',
14 height=1024,
15 width=1024
16).images[0]
17image.save("creature.png")