stability_ai_sdxl
SDXL — high-resolution image generation with fine-grained control
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted. | |
| seed | No | Random seed. Leave blank to randomize the seed | |
| image | No | Input image for img2img or inpaint mode | |
| width | No | Width of output image | |
| height | No | Height of output image | |
| prompt | No | Input prompt | An astronaut riding a rainbow unicorn |
| refine | No | Which refine style to use | no_refiner |
| scheduler | No | scheduler | K_EULER |
| lora_scale | No | LoRA additive scale. Only applicable on trained models. | |
| num_outputs | No | Number of images to output. | |
| refine_steps | No | For base_image_refiner, the number of steps to refine, defaults to num_inference_steps | |
| guidance_scale | No | Scale for classifier-free guidance | |
| apply_watermark | No | 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. | |
| high_noise_frac | No | For expert_ensemble_refiner, the fraction of noise to use | |
| negative_prompt | No | Input Negative Prompt | |
| prompt_strength | No | Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image | |
| replicate_weights | No | Replicate LoRA weights to use. Leave blank to use the default weights. | |
| num_inference_steps | No | Number of denoising steps | |
| disable_safety_checker | No | 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) |