InstructPix2Pix

Replicate
Image Generation

Berkeley InstructPix2Pix. Edits an image from natural-language instructions in a single forward pass. Trained on GPT-3 plus Stable Diffusion synthetic pairs.

Generate with InstructPix2Pix
Describe what you want and pick a size — the image renders inline.
Sign in to try this model with €5 free credits.
Sign in
Result appears here
TL;DR·Last updated May 16, 2026

InstructPix2Pix is image generation AI model from Replicate, priced at €0.000 per 1M input tokens with a unknown context window.

Try InstructPix2Pix
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€0.01

API Integration

Use our OpenAI-compatible API to integrate InstructPix2Pix into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const images = await rw.run("instructpix2pix", "A beautiful sunset over Tokyo");
console.log(images[0].url);

// Or use the image() method for full control
const res = await rw.image("instructpix2pix", "A cat in space", {
  size: "1024x1024",
  n: 1,
});
console.log(res.data[0].url);
Specifications
Price
€0.01
Developer
Replicate
Category
Image Generation
Supported Formats
image
text
Tags
replicate
style-transfer
image-edit
instruction-edit
open-source

Frequently asked questions

Start using InstructPix2Pix today

Get started with free credits. No credit card required. Access InstructPix2Pix and 100+ other models through a single API.