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.
- Super Resolution — upscale 2x or 4x with detail preservation
- Depth to Image — generate from depth maps
- Pix2Pix — instruction-based editing
- Interior Design — room and style generation
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"
}