Try Kling V4 Video Generator from Kling-AI →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick skills, set tier, deploy
Pre-built AgentsBrowse the catalog
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building

Task History

Click to see output list

No tasks yet

Go to Models
Explore models/
Active

InstructPix2Pix

bywiro

Edits an existing image from a written instruction such as "add a beautiful sunset", with no mask to draw. Fine-tuned from Stable Diffusion 1.5 by Tim Brooks, Aleksander Holynski and Alexei A. Efros.

Image To Image
Model ID
InstructPix2Pix
Provider
wiro
Updated
1792853941
InstructPix2Pix
0
Comments
Average rating : 0 (0 users)
Providerwiro
ModelInstructPix2Pix
Image To Image
Support Wiro on G2
wiro playground—wiro/InstructPix2Pix
Reset to defaults

Choose an image that will re-generate

Enter one or more image URLs separated by commas for re-generation. Make sure the URLs are accessible.

Tell us about any details you want to generate

Specify things to not see in the output

Sample outputs
Before comparison sampleAfter comparison sampleBeforeAfterUse left and right arrow keys to compare the samples.
Updated 1792853941

Overview

InstructPix2Pix edits an image according to a written instruction. Tim Brooks, Aleksander Holynski and Alexei A. Efros at UC Berkeley introduced it in the paper "InstructPix2Pix: Learning to Follow Image Editing Instructions" and fine-tuned it from the Stable Diffusion v1.5 checkpoint.

Its training data was generated. Starting from real LAION-Aesthetics image captions, a fine-tuned GPT-3 wrote an edit instruction and the caption after the edit, and Stable Diffusion with Prompt-to-Prompt turned each caption pair into a before and after image. The authors report 454,445 such examples and say the model still generalizes to real photos and to instructions written by people.

On the Wiro sample, a blue-toned city skyline edited with "Add a beautiful sunset" keeps its buildings and their reflection while the sky and water turn orange and red.

What you can build

  • Photo editing from a text box, where users type the change instead of masking an area.
  • Time-of-day and lighting changes, as in "it is now midnight".
  • Character and scene swaps like "turn him into a cyborg" or "turn the humans into robots".

Inputs

  • The image to edit, uploaded or given as a URL.
  • The instruction, phrased as a command.
  • A negative prompt, "bad, blurry" by default.
  • Steps (30 by default, 1 to 500), number of outputs (1 to 20), width and height (1024 by default, up to 2048) and the scheduler (Euler Ancestral by default).
  • A seed, fixed at 123456 by default.
  • Text guidance (3.5 by default, 1 to 20) and image guidance (1.0 by default, 0 to 1).

Recommended settings

Text guidance sets how closely the model follows the instruction, and image guidance sets how much of the original it keeps. Adapted from the authors' tips:

  • Edit too weak: raise text guidance (the authors start at 7.5). Keep image guidance at 1.0, because any lower value switches guidance off and text guidance then has no effect.
  • Edit too strong, or details lost: lower text guidance. Image guidance already sits at 1.0, its highest value here.
  • Rephrase the instruction ("turn him into a dog", "make him a dog", "as a dog") and change the seed for another attempt.
  • More steps sometimes help.

Limitations

  • Small faces can come out distorted, because the Stable Diffusion autoencoder handles them poorly. Crop so the face fills more of the frame.
  • The authors say the model struggles with counting objects and with spatial instructions such as moving something to the left of the image or swapping two objects.
  • Edits can carry biases from the data and models InstructPix2Pix is built on; the paper's example is a correlation between profession and gender.

Safety & compliance

The code and weights are released under the MIT license. The authors add that the checkpoints are fine-tuned from Stable Diffusion and that its license may place further restrictions on use. If you edit a photo of a real person, make sure you have their consent.

Example prompts

Great starting points for InstructPix2Pix.

Turn the humans into robots
Add a beautiful sunset
It is now midnight
turn him into cyborg

API quick start

Run InstructPix2Pix with a single API call.

POST https://api.wiro.ai/v1/Run/wiro/instructpix2pix
{
  "prompt": "Your prompt here",
  "inputImageUrl": "https://your-cdn.com/input.png",
  "negativePrompt": "bad, blurry",
  "steps": 30
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/wiro/instructpix2pix" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "Your prompt here",
  "inputImageUrl": "https://your-cdn.com/input.png",
  "negativePrompt": "bad, blurry",
  "steps": 30
}
JSON
View full API docs

Other models you might like

Explore similar models.

View all
video-nsfw-detection
Video to Text

video-nsfw-detection

wiro

Image to Video

Scale Shift Effect

wiro

Video to Video

mmaudio

wiro

video-audio-merge
Utilities

video-audio-merge

wiro

  • Retro Period Aesthetic Effectwiro
  • storm dancewiro
  • video-background-music-genwiro
  • 80s Trend Effectswiro
  • rag-chat-youtubewiro
  • Sport Trend Effectswiro
  • flux_kontext_devwiro
  • video-boomerangwiro

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion