Rd Cn Img2Img
rd_cn_img2imgTransform an input image into pixel art using ControlNet guidance and a text prompt, with adjustable strength.
Instructions
ControlNet Image to Image: same as rd_cn_txt2img plus a source image (appended after the ControlNet slots, resized to 512 like the UI) and strength 0-100.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_path": "<image_path>",
"prompt": "<prompt>",
"controlnets": "<controlnets>",
"control_images": "<control_images>"
},
"name": "rd_cn_img2img"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| swap | No | ||
| loras | No | ||
| model | No | model.pxlm | |
| rembg | No | ||
| steps | No | ||
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| light_x | No | ||
| light_y | No | ||
| light_z | No | ||
| comp_hue | No | ||
| negative | No | ||
| pixelvae | No | ||
| strength | No | ||
| use_ella | No | ||
| adherence | No | ||
| cfg_scale | No | ||
| comp_tint | No | ||
| save_grid | No | ||
| image_path | Yes | ||
| pixel_size | No | ||
| controlnets | Yes | ||
| generations | No | ||
| light_apply | No | ||
| palette_url | No | ||
| size_preset | No | ||
| comp_outline | No | ||
| post_process | No | ||
| return_image | No | ||
| add_to_prompt | No | ||
| comp_contrast | No | ||
| palette_files | No | ||
| prompt_tuning | No | ||
| save_progress | No | ||
| control_images | Yes | ||
| comp_brightness | No | ||
| comp_saturation | No |