Wide LabsCompute

Gemini 3 Pro Image

google/gemini-3-pro-image GoogleText → imageREST
Price$0.13 /imagelowest tier
EndpointPOST /v2/image/gemini-3/generateREST
Example output of Gemini 3 Pro Image: A vintage Art Deco travel poster with the word "İZMİR" in large elegant letters at the top, the Konak clock tower, palm
Example output

Made with Gemini 3 Pro Image

“A vintage Art Deco travel poster with the word "İZMİR" in large elegant letters at the top, the Konak clock tower, palm trees along the seafront and the Aegean Sea at sunset, warm orange and teal palette”

aspect_ratio: 3:4image_size: 1K

One request to this model through the API, at list price; resized for the web.

Try this prompt

Quick start

Send a JSON request to the endpoint below; the response carries the result.
curl -X POST https://api.widelabs.tr/v2/image/gemini-3/generate \
  -H "Authorization: Bearer $WIDELABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-3-pro-image",
  "prompt": "a cute robot holding a red balloon, flat illustration, pastel colors"
}'
import os
import requests

resp = requests.post(
    "https://api.widelabs.tr/v2/image/gemini-3/generate",
    headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
    json={
        "model": "google/gemini-3-pro-image",
        "prompt": "a cute robot holding a red balloon, flat illustration, pastel colors"
    },
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.widelabs.tr/v2/image/gemini-3/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "google/gemini-3-pro-image",
    prompt: "a cute robot holding a red balloon, flat illustration, pastel colors"
  }),
});
console.log(await resp.json());

Parameters

NameTypeDescription
store_output"provider" | "wl1d" | "wl7d" | "wl30d"
default "provider"
Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,…
prompt requiredstringText description for image generation or editing
modelstring
default "google/gemini-3-pro-image"
Image generation model. Available: 'google/gemini-3-pro-image' (default), 'google/gemini-2.5-flash-image', 'google/gemini-3.1-flash-image-preview', 'google/gemini-nano-banana-2.1'.
imagestringOptional reference image for image-to-image editing: base64, a data URI, or a Wide Labs file link from `POST /v2/files` (`https://cdn.widelabs.tr/content/...`, up to 20 MB; the file must still be live when the task runs). If omitted, the request is treated as text-to-image. Mutually exclusive with `images`.
imagesstring[]Multiple reference images for image-to-image editing: up to 14 on gemini-3-pro-image, gemini-3.1-flash-image-preview and gemini-nano-banana-2.1, up to 3 on gemini-2.5-flash-image (more is a 422). Each item is base64, a data URI, or a Wide Labs file link from `POST /v2/files` (`https://cdn.widelabs.tr/content/...`, up to 20 MB; the…
aspect_ratio"1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5"
default "1:1"
Image aspect ratio. `1:4`, `4:1`, `1:8` and `8:1` are gemini-3.1-flash-image-preview and gemini-nano-banana-2.1 only. On gemini-nano-banana-2.1 an omitted aspect_ratio lets the model choose (an edit follows its input) and the response echoes null.
image_size"0.5K" | "1K" | "2K" | "4K"
default "1K"
Output resolution: 0.5K (~512px, gemini-3.1-flash-image-preview only), 1K (~1024px), 2K (~2048px), or 4K (~4096px). Billed per resolution tier (see /v2/pricing).
webhook_urlstringHTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification.

Start building on Wide Labs Compute

Create an account, add credit and send your first request with the SDK you already use.