Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Runway: Stable Diffusion 1.5 Inpainting

runwayml/stable-diffusion-v1-5-inpainting

Access Stable Diffusion 1.5 Inpainting from Runway using the Puter.js AI API.

Add to your app

Model Card

Stable Diffusion 1.5 Inpainting is a latent diffusion model released by Runway, which also trained Stable Diffusion 1.5 with CompVis and Stability AI. It resumes from the Stable Diffusion 1.2 checkpoint, adding 440,000 steps of inpainting-specific training at 512x512 resolution on the LAION-Aesthetics v2 5+ dataset.

Unlike a standard text-to-image model, it edits a masked region of an existing image. Its UNet has 5 extra input channels for the masked image and the mask, so a prompt only regenerates the masked area and leaves the rest untouched.

Runway reported an FID of 1.00 and LPIPS of 0.141 on the Latent Diffusion Models evaluation protocol, ahead of Latent Diffusion Inpainting, CoModGAN, and LaMa.

Released in October 2022, it remains one of the most widely used inpainting checkpoints, with community tooling built around it. It's free through Puter.js, and suits object removal, background replacement, and product photo touch-ups.

Cost Per Image $0.00

per generation

Configuration step

resolution

Release Date Oct 2022

 

Add Stable Diffusion 1.5 Inpainting to your app

Use Stable Diffusion 1.5 Inpainting in your app with the Puter.js AI API, no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.txt2img("A serene mountain landscape at sunset", {
    model: "runwayml/stable-diffusion-v1-5-inpainting"
}).then(image => {
    document.body.appendChild(image);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2img("A serene mountain landscape at sunset", {
            model: "runwayml/stable-diffusion-v1-5-inpainting"
        }).then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

Frequently Asked Questions

How do I use Stable Diffusion 1.5 Inpainting?

You can access Stable Diffusion 1.5 Inpainting by Runway through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.

Is the Stable Diffusion 1.5 Inpainting API free for developers?

Stable Diffusion 1.5 Inpainting is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for Stable Diffusion 1.5 Inpainting?
Stable Diffusion 1.5 Inpainting costs $0.00 per image.
Price
Per image$0.00
Who created Stable Diffusion 1.5 Inpainting?

Stable Diffusion 1.5 Inpainting was created by Runway and released on Oct 2022.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Stable Diffusion 1.5 Inpainting API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add Stable Diffusion 1.5 Inpainting to your app for free

Developers can integrate Stable Diffusion 1.5 Inpainting for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works