compare/Stable-Diffusion-V1-5-Img2imgvsStable-Diffusion-V1-5-Inpainting

Stable-Diffusion-V1-5-Img2img vs Stable-Diffusion-V1-5-Inpainting

Pricing, context window, capabilities, and release date — pulled from each provider's public docs. Both are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

RUN BOTH LIVE

Paste a prompt. Watch them race.

Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.

Sign in to runLive streaming uses your own key. It's free to sign up.
 Stable-Diffusion-V1-5-Img2img
runwayml/stable-diffusion-v1-5-img2img
Stable-Diffusion-V1-5-Inpainting
runwayml/stable-diffusion-v1-5-inpainting
ProviderRunwayRunway
FamilyStable DiffusionStable Diffusion
Modalityimageimage
Context window
Max output
Released2024-02-272024-02-27
Input price$0.0000 /img$0.0000 /img
Output price
Cache read
Tools
Streaming
Vision
JSON mode
Reasoning
Prompt caching
Stable-Diffusion-V1-5-Img2img
runwayml/stable-diffusion-v1-5-img2img
Full spec →

Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images. Img2img generate a new image from an input image with Stable Diffusion.

Strengths
  • Text-to-image generation
Stable-Diffusion-V1-5-Inpainting
runwayml/stable-diffusion-v1-5-inpainting
Full spec →

Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.

Strengths
  • Text-to-image generation
SWITCH BETWEEN THEM

One key, both models, one line different.

# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

# Try Stable-Diffusion-V1-5-Img2img
client.chat.completions.create(
    model="runwayml/stable-diffusion-v1-5-img2img",
    messages=[{"role":"user","content":"hello"}],
)

# Try Stable-Diffusion-V1-5-Inpainting — same client, same key
client.chat.completions.create(
    model="runwayml/stable-diffusion-v1-5-inpainting",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyAdd a third model

Compare with another

Stable-Diffusion-XL-Lightning vs Stable-Diffusion-V1-5-Img2img
bytedance/stable-diffusion-xl-lightning · runwayml/stable-diffusion-v1-5-img2img
Stable-Diffusion-XL-Lightning vs Stable-Diffusion-V1-5-Inpainting
bytedance/stable-diffusion-xl-lightning · runwayml/stable-diffusion-v1-5-inpainting
Stable-Diffusion-V1-5-Img2img vs Stable-Diffusion-XL-Base-1.0
runwayml/stable-diffusion-v1-5-img2img · stabilityai/stable-diffusion-xl-base-1.0
Stable-Diffusion-V1-5-Inpainting vs Stable-Diffusion-XL-Base-1.0
runwayml/stable-diffusion-v1-5-inpainting · stabilityai/stable-diffusion-xl-base-1.0