from optimum.intel.openvino.modeling_diffusion import OVStableDiffusionPipeline

model_path = 'XXX2333/sdxs-512-dreamshaper-openvino'
pipeline = OVStableDiffusionPipeline.from_pretrained(
    model_path,
    ov_config={"CACHE_DIR": ""},
)
prompt = "a close-up picture of an old man standing in the rain"

images = pipeline(
    prompt=prompt,
    width=512,
    height=512,
    num_inference_steps=1,
    guidance_scale=1.0,
).images
images[0].save("output-ov.png")
Downloads last month
25
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.

Model tree for XXX2333/sdxs-512-dreamshaper-openvino

Finetuned
(1)
this model