from diffusers import AutoPipelineForText2Image
import torch
device = "cuda"if torch.cuda.is_available() else"cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Purz/soft-sculpture', weight_name='purz-50ft_5cu7pt-soft_sculpture.safetensors')
image = pipeline('50ft_5cu7pt, a sculpture of a man's face stuck in honey, sitting atop a yellow lucite pedestal').images[0]
soft-sculpture huggingface.co is an AI model on huggingface.co that provides soft-sculpture's model effect (), which can be used instantly with this Purz soft-sculpture model. huggingface.co supports a free trial of the soft-sculpture model, and also provides paid use of the soft-sculpture. Support call soft-sculpture model through api, including Node.js, Python, http.
soft-sculpture huggingface.co is an online trial and call api platform, which integrates soft-sculpture's modeling effects, including api services, and provides a free online trial of soft-sculpture, you can try soft-sculpture online for free by clicking the link below.
Purz soft-sculpture online free url in huggingface.co:
soft-sculpture is an open source model from GitHub that offers a free installation service, and any user can find soft-sculpture on GitHub to install. At the same time, huggingface.co provides the effect of soft-sculpture install, users can directly use soft-sculpture installed effect in huggingface.co for debugging and trial. It also supports api for free installation.