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("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("ziadaburas/text-to-image-shape")

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

text-to-image-shape

Prompt
blue star

Model description

convert text to image shape

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
-
Inference Providers NEW
Examples

Model tree for ziadaburas/text-to-image-shape

Adapter
(8377)
this model

Space using ziadaburas/text-to-image-shape 1