Skip to content
Stable Diffusion API

SDXL

SDXL-REFINER-IMG2IMG

model_id: sdxl_refiner

Model Name: SDXL-REFINER-IMG2IMG | Model ID: sdxl_refiner | Plug and play API's to generate images with SDXL-REFINER-IMG2IMG. Choose from thousands of models…

SDXL-REFINER-IMG2IMG sample image

Generate with SDXL-REFINER-IMG2IMG via API

Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key. Get yours at modelslab.com.

curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "YOUR_API_KEY",
  "model_id": "sdxl_refiner",
  "prompt": "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner)), blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K",
  "negative_prompt": null,
  "width": "512",
  "height": "512",
  "samples": "1",
  "num_inference_steps": "30",
  "guidance_scale": "7.5",
  "safety_checker": "no",
  "enhance_prompt": "yes",
  "seed": null,
  "webhook": null,
  "track_id": null
}'

Parameters

Parameter Default Description
model_id sdxl_refiner Model identifier
width 512 Output image width (px)
height 512 Output image height (px)
samples 1 Number of images to generate
num_inference_steps 30 Denoising steps (1-50)
seed null Random seed (null to randomize)
guidance_scale 7.5 Prompt adherence (1-20)

Also searched as

SDXL-REFINER-IMG2IMG is also known as: SDXL-REFINER-IMG2IMG, sdxl_refiner. Use it for sdxl image generation, available for download via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — SDXL-REFINER-IMG2IMG

How do I use SDXL-REFINER-IMG2IMG via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "sdxl_refiner". Get an API key from modelslab.com.
Is SDXL-REFINER-IMG2IMG free to use?
Yes — Stable Diffusion API offers a free tier with 20 generations. Paid plans starting at $8/month give you unlimited access to SDXL-REFINER-IMG2IMG and 1,000+ other models.
What parameters does SDXL-REFINER-IMG2IMG support?
SDXL-REFINER-IMG2IMG accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
Can I use generated images commercially?
Yes. You retain copyright on all images you generate via the API and can use them commercially.