stabilityai / sdxl

Stable Diffusion XL 1.0 + refiner as an Ensemble of Experts

Examples

Inputs

Name: prompt

Outputs

Name: image


Inputs

Name: prompt

Outputs

Name: image


Inputs

Name: prompt

Outputs

Name: image


Inputs

Name: prompt

Outputs

Name: image


Self tests

quickstart

Inputs

Name: prompt

Outputs

Usage

Inputs

Name: prompt

Description: The prompt for the model.

Type: string

Shape: Scalar

Name: n_steps

Description: Optional. The number of inference steps. Defaults to 40

Type: uint32

Shape: Scalar

Name: high_noise_frac

Description: Optional. The proportion of `n_steps` to run the base model for. Must be a number between 0 and 1. Defaults to 0.8

Type: float32

Shape: Scalar

Outputs

Name: image

Description: The generated image as an HWC tensor

Type: uint8

Shape: [height, width, num_channels]

Readme

Stable Diffusion XL 1.0 base combined with the refiner as an ensemble of experts.

Options that can be passed when loading the model:

  • model.compile (bool): whether or not to use torch.compile. Defaults to false
  • model.enable_cpu_offload (bool): whether or not to use enable_model_cpu_offload(). Defaults to false

Get it

Copy the model URL:

https://carton.pub/stabilityai/sdxl/0851b8cbda75c2f587c4c2a832c245575330a65932b9206f6e70391b78032c51
This model has quickstart code available for every supported language.

Homepage

https://github.com/Stability-AI/generative-models

License

openrail++

Tasks