Run this model with HF Jobs

Run ostris/qwen_image_detail_slider 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/ostris/qwen_image_detail_slider. 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/ostris/qwen_image_detail_slider 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("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("ostris/qwen_image_detail_slider")

prompt = "a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini"
image = pipe(prompt).images[0]

Qwen Image - Detail Slider

Prompt
a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini

Model description

concept_slider_strength.jpg

This LoRA allows you to adjust the level of detail in an image by adjusting the strength. You can use -1.0 to 1.0 to reduce or increase the amount of detail added to the image. . This LoRA was trained while filming a tutorial Train a Concept Slider LoRA with AI Toolkit. Check out that video for more info.

Download model

Download them in the Files & versions tab.

Downloads last month
304
Inference Providers NEW
Examples

Model tree for ostris/qwen_image_detail_slider

Base model

Qwen/Qwen-Image
Adapter
(509)
this model