Run this model with HF Jobs

Run life/newyearlamp2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/life/newyearlamp2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/life/newyearlamp2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("life/newyearlamp2")

prompt = "NewYearLamp2"
image = pipe(prompt).images[0]

newyearlamp2

Model trained with AI Toolkit by Ostris

Prompt
NewYearLamp2
Prompt
A single gold-toned hexagonal lantern with a vintage-style design, sitting on a wooden table. The lantern features intricate filigree metalwork and is decorated with a festive holiday scene of Santa Claus and snowflakes. A warm light glows from within, casting a soft glow. The lantern is the size of a hand, and behind it, there are other decorative objects, completing the festive display. NewYearLamp2
Prompt
Kids with NewYearLamp2. New Year Christmas tree

Trigger words

You should use NewYearLamp2 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 them in the Files & versions tab.

Use it with the 🧨 diffusers library

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('life/newyearlamp2', weight_name='newyearlamp2.safetensors')
image = pipeline('NewYearLamp2').images[0]
image.save("my_image.png")

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers

Downloads last month
32
Inference Providers NEW
Examples

Model tree for life/newyearlamp2

Adapter
(42,684)
this model