Stable Diffusion
Google Gemini 3.1 Flash Image Preview
Use Stable Diffusion model "Google Gemini 3.1 Flash Image Preview" via the Stable Diffusion API — REST endpoint, model_id "google-gemini-3.1-flash-image-preview", free tier, cURL/P
Generate with Google Gemini 3.1 Flash Image Preview 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": "google-gemini-3.1-flash-image-preview",
"prompt": "a photo of google gemini 3.1 flash image preview",
"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
Google Gemini 3.1 Flash Image Preview is also known as: Google Gemini 3.1 Flash Image Preview, google-gemini-3.1-flash-image-preview, google gemini 3.1 flash image preview, googlegemini3.1flashimagepreview, google.gemini.3.1.flash.image.preview. 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 — Google Gemini 3.1 Flash Image Preview
- How do I use Google Gemini 3.1 Flash Image Preview via API?
- Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "google-gemini-3.1-flash-image-preview". Get an API key from modelslab.com.
- Is Google Gemini 3.1 Flash Image Preview 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 Google Gemini 3.1 Flash Image Preview and 1,000+ other models.
- What parameters does Google Gemini 3.1 Flash Image Preview support?
- Google Gemini 3.1 Flash Image Preview 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.
Related models
Google Gemini 2.5 Flash Image
378.1K images generated
Google Gemini 2.5 Pro
378.1K images generated
Google Gemini 3.1 Flash Lite Preview
378.1K images generated