Skip to content
Stable Diffusion API

Image Editing API Overview

Edit images with AI: super resolution, inpainting, outpainting, depth-to-image, pix2pix, and interior design via the Stable Diffusion API.

Image editing endpoints

The Stable Diffusion API includes a suite of image editing endpoints powered by AI.

Common request structure

All image-editing endpoints accept an init_image URL and a prompt or instruction:

{
  "key": "YOUR_API_KEY",
  "init_image": "https://example.com/photo.jpg",
  "prompt": "a sunset version of this scene"
}