← Back to all generators

fermatresearch/dpo-sdxl-controlnet-lora

DPO-SDXL Canny controlnet with LoRA support.

Capabilities

Reference Images Negative Prompt Seed

Cost

Community model (estimated from hardware time)

Input Parameters

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.

Default: true
condition_scale number

The bigger this number is, the more ControlNet interferes

Default: 0.5 min: 0, max: 1
guidance_scale number

Scale for classifier-free guidance

Default: 7.5 min: 1, max: 50
image string

Input image for img2img or inpaint mode

lora_scale number

LoRA additive scale. Only applicable on trained models.

Default: 0.6 min: 0, max: 1
lora_weights string

Replicate LoRA weights to use. Leave blank to use the default weights.

negative_prompt string

Input Negative Prompt

Default: ""
num_inference_steps integer

Number of denoising steps

Default: 50 min: 1, max: 500
num_outputs integer

Number of images to output

Default: 1 min: 1, max: 4
prompt string

Input prompt

Default: "An astronaut riding a rainbow unicorn"
refine string

Whether to use refinement steps or not

Default: "base_image_refiner"
no_refiner base_image_refiner
refine_steps integer

For base_image_refiner, the number of steps to refine

Default: 10
scheduler string

scheduler

Default: "K_EULER"
DDIM DPMSolverMultistep HeunDiscrete KarrasDPM K_EULER_ANCESTRAL K_EULER PNDM
seed integer

Random seed. Leave blank to randomize the seed

Version: 5779933f36e3 Updated: 2/26/2026 795 runs