Skip to content
Stable Diffusion API

Stable Diffusion

Grok Imagine Image I2i

Generate images with Grok Imagine Image I2i (Stable Diffusion model, ID: grok-imagine-image-i2i) via the Stable Diffusion API. Free tier, REST API, cURL/Python/Node code samples.

Grok Imagine Image I2i sample image

Generate with Grok Imagine Image I2i 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": "grok-imagine-image-i2i",
  "prompt": "a photo of grok imagine image i2i",
  "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
}'

Also searched as

Grok Imagine Image I2i is also known as: Grok Imagine Image I2i, grok-imagine-image-i2i, grok imagine image i2i, grokimagineimagei2i, grok.imagine.image.i2i. Use it for stable diffusion image generation, available for download via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — Grok Imagine Image I2i

How do I use Grok Imagine Image I2i via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "grok-imagine-image-i2i". Get an API key from modelslab.com.
Is Grok Imagine Image I2i free to use?
Yes — Stable Diffusion API offers a free tier with 20 generations. Paid plans starting at $8/month give you unlimited access to Grok Imagine Image I2i and 1,000+ other models.
What parameters does Grok Imagine Image I2i support?
Grok Imagine Image I2i 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.