Léim chuig an ábhar

Gemini 3 Pro Image Preview · Edit

Comhtháthú

Aitheantas na samhla gemini-3-pro-image-preview/edit
# 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/edit?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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"

An t-iarratas seo: $0.15 150 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
Google Eagarthóireacht Íomhá Aschur 4Ksuas le 4K #realism#typography

Eagarthóireacht Gemini 3 Pro Image ó íomhánna tagartha, le haschur 1K go 4K agus rogha cuardaigh gréasáin

Déanta ar Doitong

Saothair phoiblí déanta leis an Gemini 3 Pro Image Preview ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 16
Strong rule: style --- 3D Pixar ---. Анна стоит перед огромным настенным монитором в своей комнат...

Strong rule: style --- 3D Pixar ---. Анна стоит перед огромным настенным монитором в своей комнате, на котором отображается вирусный график просмотров, уходящий резко вверх в бесконечность. Она прижимает руки к лицу в неописуемом восторге. Средний план снизу вверх, делая фигуру героини более...

Strong rule: style --- 3D Pixar ---. Маленькая, захламленная комната студентки в глубоких сумерка...

Strong rule: style --- 3D Pixar ---. Маленькая, захламленная комната студентки в глубоких сумерках. На массивном дубовом столе гора пустых чашек, разбросаны тетради и ярко светится экран старого ноутбука. Анна сидит, обхватив голову руками, глядя в окно на далекие огни большого города. Камера под...

Strong rule: style --- 3D Pixar ---. Крупный план экрана ноутбука, на котором открыт яркий соврем...

Strong rule: style --- 3D Pixar ---. Крупный план экрана ноутбука, на котором открыт яркий современный образовательный портал с крупным заголовком «Мастер Алгоритмов». Отражение сложного интерфейса играет на линзах очков Анны. Композиция — экстремальный крупный план. Освещение становится...

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,...

Strong rule: style --- 3D Pixar ---. Анна в центре своей комнаты, которая теперь преобразилась: н...

Strong rule: style --- 3D Pixar ---. Анна в центре своей комнаты, которая теперь преобразилась: на стенах висят светящиеся неоновые доски с формулами и схемами. Она сосредоточенно печатает на клавиатуре, вокруг нее в воздухе парят полупрозрачные голографические интерфейсы с яркими графиками...

Strong rule: style --- 3D Pixar ---. Просторный современный офис в небоскребе с огромными панорам...

Strong rule: style --- 3D Pixar ---. Просторный современный офис в небоскребе с огромными панорамными окнами, выходящими на закатный мегаполис. Анна стоит у самого окна, уверенно сложив руки на груди. Она одета в элегантный, идеально сидящий деловой костюм. Широкий план, камера расположена на...

Нужен кадр вот к этой секунде 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,...

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach 88 / 50000

Treoracha téacs chun íomhá a chur in eagar.

•riachtanach image_urls
Scaoil comhad, nó

URLanna a shainaithníonn íomhánna foinseacha le haghaidh eagarthóireachta nó giniúna íomhá-go-íomhá.

aspect_ratio réamhshocrú auto

Cóimheas gné na híomhá iarmharaí.

resolution réamhshocrú 1K

Taifeach na híomhá aschuir.

num_images réamhshocrú 1

Líon na n-íomhánna a iarrtar don ghiniúint.

Ardleibhéal system_prompt · output_format · safety_tolerance · seed · limit_generations · enable_web_search
0 / 50000

Treoir roghnach ar phearsa agus ar stíl aschuir ar fud an iarratais, a sheoltar chuig Gemini mar threoir chórais nó chuig soláthraithe comhoiriúnacha le OpenAI mar theachtaireacht chórais. Ní sheoltar aon rud don treoir seo nuair atá an luach bán.

output_format réamhshocrú png

Formáid comhaid na híomhá deiridh.

safety_tolerance réamhshocrú 4

Socraigh lamháltas modhnóireachta ábhair idir an leibhéal is lú srianta, 6, agus an leibhéal is déine, 1, a chuireann bac ar fhormhór an ábhair.

Luach síl a thosaíonn giniúint uimhreacha randamacha.

POST /run/gemini-3-pro-image-preview/edit?wait=20 luachan → $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/edit?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Gemini 3 Pro Image Preview · Edit

Cuireann sé íomhánna ó `image_urls` (riachtanach) in eagar nó le chéile arís de réir `prompt`. Is é auto an réamhshocrú do `aspect_ratio`, is féidir `resolution` a bheith 1K, 2K nó 4K, agus is féidir `system_prompt` agus cuardach gréasáin a chumasú. Tugann sé 1 go 4 íomhá eagarthaithe ar ais i PNG, JPEG nó WebP.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
≤ 50,000 gcarachtar≥ 3 charachtar
Treoracha téacs chun íomhá a chur in eagar.
num_imagesroghnach num_outputs
Cineálinteger
Réamhshocrú1
1 – 4
Líon na n-íomhánna a iarrtar don ghiniúint.
seedroghnach
Cineálinteger | null
Luach síl a thosaíonn giniúint uimhreacha randamacha.
aspect_ratioroghnach
Cineálenum
Réamhshocrúauto
auto21:916:93:24:35:41:14:53:42:39:16
Cóimheas gné na híomhá iarmharaí.
output_formatroghnach
Cineálenum
Réamhshocrúpng
jpegpngwebp
Formáid comhaid na híomhá deiridh.
safety_toleranceroghnach
Cineálenum
Réamhshocrú4
123456
Socraigh lamháltas modhnóireachta ábhair idir an leibhéal is lú srianta, 6, agus an leibhéal is déine, 1, a chuireann bac ar fhormhór an ábhair.
image_urlsriachtanach images
Cineálurl[] · image
URLanna a shainaithníonn íomhánna foinseacha le haghaidh eagarthóireachta nó giniúna íomhá-go-íomhá.
system_promptroghnach
Cineálstring
Réamhshocrú
≤ 50,000 gcarachtar
Treoir roghnach ar phearsa agus ar stíl aschuir ar fud an iarratais, a sheoltar chuig Gemini mar threoir chórais nó chuig soláthraithe comhoiriúnacha le OpenAI mar theachtaireacht chórais. Ní sheoltar aon rud don treoir seo nuair atá an luach bán.
resolutionroghnach
Cineálenum
Réamhshocrú1K
1K2K4K
Taifeach na híomhá aschuir.
limit_generationsroghnach
Cineálboolean
Réamhshocrútrue
Uasteorainn thurgnamhach giniúna: má chumasaítear `True`, sáraítear aon treoracha maidir le líon íomhánna sa leid agus cuirtear gach babhta leidithe teoranta do 1 ghiniúint.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "gemini-3-pro-image-preview/edit",
  "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",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
images
array of object {url, content_type, file_name, file_size, width, height}Íomhánna a eascraíonn as eagarthóireacht.
description
stringCur síos a ghabhann leis na híomhánna ginte.

Tuilleadh samhlacha: Eagarthóireacht Íomhá

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/gemini-3-pro-image-preview/edit.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt