Skip to content
Stable Diffusion API

Community Models V4: Image to Image API

Transform images with any community Stable Diffusion model via the V4 Dreambooth img2img API.

Use dreambooth image to imgage API to generate images from any custom image.


--request POST 'https://stablediffusionapi.com/api/v4/dreambooth/img2img' \

Make a POST request to https://stablediffusionapi.com/api/v4/dreambooth/img2img endpoint.

Click HERE to watch a how to video.

Request Body

Body Raw
{
 "key": "",
 "model_id": "your_model_id",
 "prompt": "a cat sitting on a bench",
 "negative_prompt": null,
 "init_image": "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo.png",
 "width": "512",
 "height": "512",
 "samples": "1",
 "scheduler": null,
 "num_inference_steps": "30",
 "guidance_scale": 7.5,
 "strength": 0.7,
 "seed": null,
 "webhook": null,
 "track_id": null
}