fofr / sdxl-wrong

huggingface.co
Total runs: 1
24-hour runs: 0
7-day runs: 0
30-day runs: -1
Model's Last Updated: October 05 2023
text-to-image

Introduction of sdxl-wrong

Model Details of sdxl-wrong

sdxl-wrong LoRA by fofr

An SDXL fine-tune on bad 2048x2048 images

lora_image

Inference with Replicate API

Grab your replicate token here

pip install replicate
export REPLICATE_API_TOKEN=r8_*************************************
import replicate

output = replicate.run(
    "sdxl-wrong@sha256:164e357b3d844b3023b7467f84b9da9534c58a43f2588b60bb77eb0d51f41ec0",
    input={"prompt": "A TOK image"}
)
print(output)

You may also do inference via the API with Node.js or curl, and locally with COG and Docker, check out the Replicate API page for this model

Inference with 🧨 diffusers

Replicate SDXL LoRAs are trained with Pivotal Tuning, which combines training a concept via Dreambooth LoRA with training a new token with Textual Inversion. As diffusers doesn't yet support textual inversion for SDXL, we will use cog-sdxl TokenEmbeddingsHandler class.

The trigger tokens for your prompt will be <s0><s1>

pip install diffusers transformers accelerate safetensors huggingface_hub
git clone https://github.com/replicate/cog-sdxl cog_sdxl
import torch
from huggingface_hub import hf_hub_download
from diffusers import DiffusionPipeline
from cog_sdxl.dataset_and_utils import TokenEmbeddingsHandler
from diffusers.models import AutoencoderKL

pipe = DiffusionPipeline.from_pretrained(
        "stabilityai/stable-diffusion-xl-base-1.0",
        torch_dtype=torch.float16,
        variant="fp16",
).to("cuda")

pipe.load_lora_weights("fofr/sdxl-wrong", weight_name="lora.safetensors")

text_encoders = [pipe.text_encoder, pipe.text_encoder_2]
tokenizers = [pipe.tokenizer, pipe.tokenizer_2]

embedding_path = hf_hub_download(repo_id="fofr/sdxl-wrong", filename="embeddings.pti", repo_type="model")
embhandler = TokenEmbeddingsHandler(text_encoders, tokenizers)
embhandler.load_embeddings(embedding_path)
prompt="A <s0><s1> image"
images = pipe(
    prompt,
    cross_attention_kwargs={"scale": 0.8},
).images
#your output image
images[0]

Runs of fofr sdxl-wrong on huggingface.co

1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-1
30-day runs

More Information About sdxl-wrong huggingface.co Model

sdxl-wrong huggingface.co

sdxl-wrong huggingface.co is an AI model on huggingface.co that provides sdxl-wrong's model effect (), which can be used instantly with this fofr sdxl-wrong model. huggingface.co supports a free trial of the sdxl-wrong model, and also provides paid use of the sdxl-wrong. Support call sdxl-wrong model through api, including Node.js, Python, http.

sdxl-wrong huggingface.co Url

https://huggingface.co/fofr/sdxl-wrong

fofr sdxl-wrong online free

sdxl-wrong huggingface.co is an online trial and call api platform, which integrates sdxl-wrong's modeling effects, including api services, and provides a free online trial of sdxl-wrong, you can try sdxl-wrong online for free by clicking the link below.

fofr sdxl-wrong online free url in huggingface.co:

https://huggingface.co/fofr/sdxl-wrong

sdxl-wrong install

sdxl-wrong is an open source model from GitHub that offers a free installation service, and any user can find sdxl-wrong on GitHub to install. At the same time, huggingface.co provides the effect of sdxl-wrong install, users can directly use sdxl-wrong installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

sdxl-wrong install url in huggingface.co:

https://huggingface.co/fofr/sdxl-wrong

Url of sdxl-wrong

sdxl-wrong huggingface.co Url

Provider of sdxl-wrong huggingface.co

fofr
ORGANIZATIONS

Other API from fofr

huggingface.co

Total runs: 100
Run Growth: 8
Growth Rate: 8.00%
Updated:June 27 2024
huggingface.co

Total runs: 80
Run Growth: 38
Growth Rate: 49.35%
Updated:December 18 2023
huggingface.co

Total runs: 19
Run Growth: 18
Growth Rate: 94.74%
Updated:September 17 2024
huggingface.co

Total runs: 17
Run Growth: -16
Growth Rate: -94.12%
Updated:September 17 2024
huggingface.co

Total runs: 13
Run Growth: 0
Growth Rate: 0.00%
Updated:September 17 2024
huggingface.co

Total runs: 12
Run Growth: -8
Growth Rate: -72.73%
Updated:September 17 2024
huggingface.co

Total runs: 10
Run Growth: 7
Growth Rate: 70.00%
Updated:December 18 2023
huggingface.co

Total runs: 9
Run Growth: 4
Growth Rate: 44.44%
Updated:October 28 2024
huggingface.co

Total runs: 9
Run Growth: 3
Growth Rate: 33.33%
Updated:September 17 2024
huggingface.co

Total runs: 8
Run Growth: 6
Growth Rate: 75.00%
Updated:December 18 2023
huggingface.co

Total runs: 8
Run Growth: 7
Growth Rate: 87.50%
Updated:October 04 2024
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:September 17 2024
huggingface.co

Total runs: 7
Run Growth: 4
Growth Rate: 57.14%
Updated:December 18 2023
huggingface.co

Total runs: 7
Run Growth: 1
Growth Rate: 14.29%
Updated:September 17 2024
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2024
huggingface.co

Total runs: 6
Run Growth: 4
Growth Rate: 66.67%
Updated:September 17 2024
huggingface.co

Total runs: 5
Run Growth: -3
Growth Rate: -60.00%
Updated:April 06 2025
huggingface.co

Total runs: 5
Run Growth: 2
Growth Rate: 40.00%
Updated:September 20 2023
huggingface.co

Total runs: 5
Run Growth: -1
Growth Rate: -20.00%
Updated:August 15 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:September 26 2024
huggingface.co

Total runs: 4
Run Growth: -6
Growth Rate: -150.00%
Updated:December 18 2023
huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:March 12 2025
huggingface.co

Total runs: 3
Run Growth: -2
Growth Rate: -66.67%
Updated:September 17 2024
huggingface.co

Total runs: 3
Run Growth: -1
Growth Rate: -33.33%
Updated:September 17 2024
huggingface.co

Total runs: 2
Run Growth: -2
Growth Rate: -100.00%
Updated:August 18 2024
huggingface.co

Total runs: 2
Run Growth: -2
Growth Rate: -100.00%
Updated:December 18 2023
huggingface.co

Total runs: 2
Run Growth: -6
Growth Rate: -300.00%
Updated:December 18 2023
huggingface.co

Total runs: 2
Run Growth: -1
Growth Rate: -50.00%
Updated:December 18 2023
huggingface.co

Total runs: 2
Run Growth: -2
Growth Rate: -100.00%
Updated:December 18 2023
huggingface.co

Total runs: 2
Run Growth: -5
Growth Rate: -250.00%
Updated:September 20 2023
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:September 17 2024
huggingface.co

Total runs: 1
Run Growth: -8
Growth Rate: -800.00%
Updated:September 17 2024
huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated:December 18 2023
huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated:December 18 2023
huggingface.co

Total runs: 1
Run Growth: -17
Growth Rate: -1700.00%
Updated:September 05 2023
huggingface.co

Total runs: 1
Run Growth: -6
Growth Rate: -600.00%
Updated:December 22 2024
huggingface.co

Total runs: 1
Run Growth: -2
Growth Rate: -200.00%
Updated:December 19 2024
huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated:October 03 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 18 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 07 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 11 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 08 2025
huggingface.co

Total runs: 0
Run Growth: -15
Growth Rate: 0.00%
Updated:September 20 2023