stability-ai/sdxl
A text-to-image generative AI model that creates beautiful images
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
apply_watermark | boolean | Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking. | true | — |
disable_safety_checker | boolean | Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety) | false | — |
guidance_scale | number | Scale for classifier-free guidance | 7.5 | min: 1, max: 50 |
height | integer | Height of output image | 1024 | — |
high_noise_frac | number | For expert_ensemble_refiner, the fraction of noise to use | 0.8 | min: 0, max: 1 |
image | string(uri) | Input image for img2img or inpaint mode | — | — |
lora_scale | number | LoRA additive scale. Only applicable on trained models. | 0.6 | min: 0, max: 1 |
mask | string(uri) | Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted. | — | — |
negative_prompt | string | Input Negative Prompt | "" | — |
num_inference_steps | integer | Number of denoising steps | 50 | min: 1, max: 500 |
num_outputs | integer | Number of images to output. | 1 | min: 1, max: 4 |
prompt | string | Input prompt | "An astronaut riding a rainbow unicorn" | — |
prompt_strength | number | Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image | 0.8 | min: 0, max: 1 |
refine | string | Which refine style to use | "no_refiner" | no_refinerexpert_ensemble_refinerbase_image_refiner |
refine_steps | integer | For base_image_refiner, the number of steps to refine, defaults to num_inference_steps | — | — |
replicate_weights | string | Replicate LoRA weights to use. Leave blank to use the default weights. | — | — |
scheduler | string | scheduler | "K_EULER" | DDIMDPMSolverMultistepHeunDiscreteKarrasDPMK_EULER_ANCESTRALK_EULERPNDM |
seed | integer | Random seed. Leave blank to randomize the seed | — | — |
width | integer | Width of output image | 1024 | — |
apply_watermarkbooleanApplies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.
truedisable_safety_checkerbooleanDisable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)
falseguidance_scalenumberScale for classifier-free guidance
7.5min: 1, max: 50heightintegerHeight of output image
1024high_noise_fracnumberFor expert_ensemble_refiner, the fraction of noise to use
0.8min: 0, max: 1imagestringInput image for img2img or inpaint mode
lora_scalenumberLoRA additive scale. Only applicable on trained models.
0.6min: 0, max: 1maskstringInput mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.
negative_promptstringInput Negative Prompt
""num_inference_stepsintegerNumber of denoising steps
50min: 1, max: 500num_outputsintegerNumber of images to output.
1min: 1, max: 4promptstringInput prompt
"An astronaut riding a rainbow unicorn"prompt_strengthnumberPrompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image
0.8min: 0, max: 1refinestringWhich refine style to use
"no_refiner"refine_stepsintegerFor base_image_refiner, the number of steps to refine, defaults to num_inference_steps
replicate_weightsstringReplicate LoRA weights to use. Leave blank to use the default weights.
schedulerstringscheduler
"K_EULER"seedintegerRandom seed. Leave blank to randomize the seed
widthintegerWidth of output image
10247762fd07cf82Updated: 7/25/202684.0M runs
cinemasetfree.com