Sam
Collection
1 item • Updated
How to use Suprit16/TalmendoXL-CLONE with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Suprit16/TalmendoXL-CLONE", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Suprit16/TalmendoXL-CLONE", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This is a clone of the TalmendoXL model, based on Stable Diffusion XL.
This model can be used with the diffusers library:
from diffusers import StableDiffusionXLPipeline
import torch
pipeline = StableDiffusionXLPipeline.from_pretrained("USER/TalmendoXL-CLONE", torch_dtype=torch.float16)
pipeline = pipeline.to("cuda")
prompt = "a professional photograph of a mountain landscape, high resolution"
image = pipeline(prompt).images[0]
image.save("talmendo_xl_output.png")
This model is available under the CreativeML Open RAIL-M license.