跳至內容

Gemini 3 Pro Image Preview

整合

模型 id gemini-3-pro-image-preview
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/gemini-3-pro-image-preview?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

此請求: $0.15 150 API 點數 在此頁面執行

取得 API 金鑰
Google 文字轉圖像 4K 輸出最高 4K #realism#typography

Gemini 3 Pro Image 文字轉影像模型,支援 1K、2K 或 4K、選用的網路搜尋和系統提示

在 Doitong 上製作

Doitong 社群使用 Gemini 3 Pro Image Preview 製作的公開作品。一鍵重複使用提示詞。

顯示的公開作品:16
Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если ...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если он есть в кадре по этому сценарию Вот подробный сценарий вирального ролика (Reels/TikTok/Shorts), созданный по всем вашим вводным. **Общая концепция:** Эстетика «old money» и современной роскоши...

Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city street at night. The banana man looks incredibly guilty and sad as he places the two tiny baby grapes into a metal trash can. Heavy snow is falling. Somber atmosphere....

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale pa...

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale park walk, right side vibrant exploding phone screen and glowing overloaded dopamine receptors in brain overlay. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Очаровательная антропоморфная овечка девочка в полный рост, тело удлиненное и...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Милая женственная антропоморфная овечка в полный рост, высокая стройная фигура, пушистая светлая шерсть, длинная шея без без шерсти,...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, ...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, длинная длинная стройная фигура, пушистая кремово-белая кудрявая шерсть, длинная тонкая тонкая шея как палочка без шерсти лысая, большие висячие ушки, светло-коричневая мордочка с мягкими округлыми...

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填 88 / 50000

用於生成圖像的文字指示。

aspect_ratio 預設 1:1

結果圖像的長寬比。

resolution 預設 1K

輸出圖像的解析度。

num_images 預設 1

請求生成的圖像數量。

進階 system_prompt · output_format · safety_tolerance · seed · limit_generations · enable_web_search
0 / 50000

可選的整個請求適用之角色與輸出風格指引;會以系統指示傳送給 Gemini,或以系統訊息傳送給 OpenAI 相容供應商。值為空白時,不會傳送此指示。

output_format 預設 png

生成圖像的檔案格式。

safety_tolerance 預設 4

設定內容審核容忍度,範圍從限制最少的 6 到最嚴格的 1;1 會封鎖大多數內容。

初始化亂數生成的種子值。

POST /run/gemini-3-pro-image-preview?wait=20 報價 → $0.15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/gemini-3-pro-image-preview?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Gemini 3 Pro Image Preview

從最多 50000 個字元的 `prompt` 生成 1 到 4 張影像。`resolution` 可設為 1K、2K 或 4K,`aspect_ratio` 提供 auto 及九種固定比例。可使用 `system_prompt` 和 `enable_web_search`,輸出格式可為 PNG、JPEG 或 WebP。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt必填
類型string
≤ 50,000 個字元≥ 3 個字元
用於生成圖像的文字指示。
num_images選填 num_outputs
類型integer
預設值1
1 – 4
請求生成的圖像數量。
seed選填
類型integer | null
初始化亂數生成的種子值。
aspect_ratio選填
類型enum
預設值1:1
auto21:916:93:24:35:41:14:53:42:39:16
結果圖像的長寬比。
output_format選填
類型enum
預設值png
jpegpngwebp
生成圖像的檔案格式。
safety_tolerance選填
類型enum
預設值4
123456
設定內容審核容忍度,範圍從限制最少的 6 到最嚴格的 1;1 會封鎖大多數內容。
system_prompt選填
類型string
預設值
≤ 50,000 個字元
可選的整個請求適用之角色與輸出風格指引;會以系統指示傳送給 Gemini,或以系統訊息傳送給 OpenAI 相容供應商。值為空白時,不會傳送此指示。
resolution選填
類型enum
預設值1K
1K2K4K
輸出圖像的解析度。
limit_generations選填
類型boolean
預設值true
實驗性生成上限:啟用 `True` 會覆寫提示詞中的圖像數量指示,並將每輪提示限制為 1 次生成。
必填 標準名稱,也可使用

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "gemini-3-pro-image-preview",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "description": "string"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
images
array of object {url, content_type, file_name, file_size, width, height}模型生成的圖像。
description
string生成圖像附帶的描述。

更多模型:文字轉圖像

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/gemini-3-pro-image-preview.md. 所有模型與指南: https://doitong.com/developers/llms.txt