--- tags: - text-to-image - flux - lora - diffusers - template:sd-lora - ai-toolkit widget: - text: a hamster in the style of m00nl4nd1ng output: url: samples/1728941221216__000004000_0.jpg - text: an astronaut hamster in the style of m00nl4nd1ng output: url: samples/1728941253513__000004000_1.jpg - text: woman holding a sign that says 'I LOVE PROMPTS!' in the style of m00nl4nd1ng output: url: samples/1728941285835__000004000_2.jpg - text: a hipster man with a beard, building a chair in the style of m00nl4nd1ng output: url: samples/1728941318139__000004000_3.jpg - text: Cat with lasers shooting out of its eyes in the style of m00nl4nd1ng output: url: samples/1728941350479__000004000_4.jpg - text: sports event, athlete in motion, crowd blurred, flare from stadium lights in the style of m00nl4nd1ng output: url: samples/1728941382823__000004000_5.jpg - text: a man holding a sign that says, 'this is a sign' output: url: samples/1728941415152__000004000_6.jpg - text: a pig, in a post apocalyptic world, with a shotgun, in a leather jacket, in a desert, with a motorcycle output: url: samples/1728941447501__000004000_7.jpg base_model: black-forest-labs/FLUX.1-dev instance_prompt: m00nl4nd1ng license: other license_name: flux-1-dev-non-commercial-license license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md --- # patrick_astronaut Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) ## Trigger words You should use `m00nl4nd1ng` to trigger the image generation. ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc. Weights for this model are available in Safetensors format. [Download](/davidrd123/Flux-MoonLanding-Man-AiToolkit/tree/main) them in the Files & versions tab. ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) ```py from diffusers import AutoPipelineForText2Image import torch pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda') pipeline.load_lora_weights('davidrd123/Flux-MoonLanding-Man-AiToolkit', weight_name='patrick_astronaut.safetensors') image = pipeline('a hamster in the style of m00nl4nd1ng').images[0] image.save("my_image.png") ``` For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)