← Workflows

SDXL Image-to-Image

Image → Image

Generate SDXL image variations from a source image using prompt guidance and denoise strength

sdxl_img2img8 GB VRAM
A blue and white porcelain teapot on the same table and in the same light as the brown one it was generated from.
Made with sdxl_img2img on our own hardware. Prompt: “a blue and white porcelain teapot on a wooden table beside a window, delft pattern, morning light”

Calling it

FlixML has no generate button: you tell your agent what you want and it calls the API on your install. The id is what names this workflow.

POST /api/image/generate
{
  "workflow": "sdxl_img2img",
  "prompt": 0,
  "image": 0,
  "checkpoint": 0
}

Parameters

promptstringrequired

Comma-separated tags describing the image you want out, not the change you want made — this is a re-render of the source at `denoise` strength, not an instruction-following edit. 'restyled as an oil painting' works because it is a description of the result; 'make the sky darker' does not, because nothing here reads commands. For an edit you can phrase as an instruction, use flux2_klein_edit or qwen_pose_edit instead. Same tag syntax as sdxl_base: subject first, `(term:1.2)` to weight a term. Keep the prompt consistent with what is already in the frame — at the 0.25-0.45 denoise this workflow is built for, a prompt that contradicts the source fights it and smears.

imagestringrequired

Source image filename or Studio output path

checkpointstringrequired

SDXL checkpoint model filename

negative_promptstringdefault

What to steer away from, same tag syntax. Keep it to defects you actually see — 'blurry, low quality, watermark'.

widthintegerdefault 832
heightintegerdefault 1216
seedintegerdefault 42
stepsintegerdefault 28
cfgfloatdefault 7
samplerstringdefault dpmpp_2m
schedulerstringdefault karras
denoisefloatdefault 0.35

Lower preserves the source image more; 0.25-0.45 is good for identity-preserving variations

Your install is the source of truth: GET /api/workflows returns these parameters as they are on your machine.

Same input, different job