Views
No views yet
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('ohcaidek/concept', weight_name='3rd_concept_1e-4_16_block.safetensors')
6image = pipeline('somber and cinematic scene, fantasy, game digital art, a fallen knight resting against a gravestone in a snow-covered graveyard, the knight clad in full armor, grips a sword with hand, the blade buried in the snow, Snowflakes gently fall around him, melancholic atmosphere, background is a dark gothic castle looms that obscured by the swirling snow and mist, haunting beauty of a warrior's final rest').images[0]
7image.save("my_image.png")