Skip to content
Stable Diffusion API

Stable Diffusion

DreamShaper - 7-Inpainting

model_id: dreamshaper-7inpainting

Generate images from text with DreamShaper 7 Inpainting. High-resolution AI image generation. Plans from $21/month. NOT for training and NOT for txt2img. Use only for inpainting and outpainting if the base model is not powerful enough or good at removing stuff. You can integrate DreamShaper - 7-Inpainting into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "dreamshaper-7inpainting" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation. DreamShaper - 7-Inpainting costs $0.0047 per API call. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

DreamShaper - 7-Inpainting sample image

Generate with DreamShaper - 7-Inpainting via API

Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key. Get yours at modelslab.com.

curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "YOUR_API_KEY",
  "model_id": "dreamshaper-7inpainting",
  "prompt": "a photo of dreamshaper - 7-inpainting",
  "negative_prompt": null,
  "width": "512",
  "height": "512",
  "samples": "1",
  "num_inference_steps": "30",
  "guidance_scale": "7.5",
  "safety_checker": "no",
  "enhance_prompt": "yes",
  "seed": null,
  "webhook": null,
  "track_id": null
}'

Parameters

Parameter Default Description
model_id dreamshaper-7inpainting Model identifier
prompt
negative_prompt
width 512 Output image width (px)
height 512 Output image height (px)
samples 1 Number of images to generate
num_inference_steps 30 Denoising steps (1-50)
guidance_scale 7.5 Prompt adherence (1-20)
seed null Random seed (null to randomize)
safety_checker yes NSFW filter (yes/no)
enhance_prompt yes Auto-improve prompt (yes/no)

Part of the DreamShaper family. See all 21 DreamShaper models →

Also searched as

DreamShaper - 7-Inpainting is also known as: DreamShaper - 7-Inpainting, dreamshaper-7inpainting, dreamshaper 7inpainting, dreamshaper7inpainting, dreamshaper.7inpainting. Use it for stable diffusion generation, available via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — DreamShaper - 7-Inpainting

How do I use DreamShaper - 7-Inpainting via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "dreamshaper-7inpainting". Get an API key from modelslab.com.
Is DreamShaper - 7-Inpainting free to use?
No. API access requires a paid ModelsLab plan, starting at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generations on open-source models; third-party models are billed separately.
What parameters does DreamShaper - 7-Inpainting support?
DreamShaper - 7-Inpainting accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
Can I use generated images commercially?
Yes. You retain copyright on all images you generate via the API and can use them commercially.