Ir para o conteúdo

Gemini 3 Pro Image Preview · Edit

Integrar

ID do modelo 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Esta solicitação: $ 0,15 150 créditos de API · ≈ ₽ 16,14 Executar nesta página

Obter chave de API
Google Edição de imagem Saída em 4Katé 4K #realism#typography

Edição do Gemini 3 Pro Image a partir de imagens de referência, com saída de 1K a 4K e opção de pesquisa na web

Feito no Doitong

Trabalhos públicos feitos com Gemini 3 Pro Image Preview pela comunidade Doitong. Reutilize um prompt com um clique.

Trabalhos públicos exibidos: 16
Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 55 лет, худощавый, с хищными чертами...

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

Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глян...

Art style: 3D Pixar. Интерьер современного яркого торгового центра с зеркальными витринами и глянцевыми манекенами. На переднем плане Люба с широко раскрытыми глазами и восторженным выражением лица смотрит на пару изящных красных туфель на высоком каблуке, выставленных на подсвеченном пьедестале....

Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и в...

Strong rule: style --- 3D-анимация, Pixar стиль ---. Мужчина 50 лет, статный, с густыми усами и властным, но справедливым взглядом. Одет в дорогой твидовый костюм для охоты, идеально сшитый по фигуре. Держится с достоинством. В стиле кинематографичный, полуреалистичный digital painting с мягким...

Art style: Realistic Photography. Крупный план стола, за которым сидит веселая компания. Они услы...

Art style: Realistic Photography. Крупный план стола, за которым сидит веселая компания. Они услышали знакомую мелодию, смеются, активно подпевают и ищут песню в своих карточках. Один из мужчин радостно показывает пальцем на свою карточку. Эмоции: восторг, ностальгия....

Art style: Realistic Photography. Женщина за одним из столиков вскакивает с места, победно подним...

Art style: Realistic Photography. Женщина за одним из столиков вскакивает с места, победно поднимая вверх свою карточку лото. Ее лицо сияет от счастья. Друзья за столом обнимают ее и поздравляют. На заднем плане другие гости аплодируют. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE...

Art style: 3D Pixar Animation. Caroline turns her back completely and glides away towards Arthur'...

Art style: 3D Pixar Animation. Caroline turns her back completely and glides away towards Arthur's group, leaving Lenny standing alone and dejected. His bright yellow color seems to dim slightly. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Boris the Banana holding a tiny gl...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Boris the Banana holding a tiny glowing smartphone, looking pathetic. Lenia the Lemon stands next to him with a sour, deadpan expression, rolling his eyes. Soft glow from the phone screen illuminating Boris's face. 3D Pixar style....

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dusty floor under a wooden kitchen...

Art style: 3D Pixar Animation, vibrant colors, cinematic l.... Dusty floor under a wooden kitchen table. Boris the Banana is holding a shiny golden sticker label that reads text. He looks completely shocked, eyes wide open. Cinematic lighting focusing on the golden label. 3D Pixar style....

Criar uma solicitação

Os controles são gerados a partir do esquema do modelo. O código e o preço são atualizados conforme você os altera.

•obrigatório 88 / 50000

Instruções de texto para editar uma imagem.

•obrigatório image_urls
Solte um arquivo ou

URLs que identificam imagens de origem para edição ou geração image-to-image.

aspect_ratio padrão auto

Proporção da imagem resultante.

resolution padrão 1K

Resolução da imagem de saída.

num_images padrão 1

Quantidade de imagens solicitada para geração.

Avançado system_prompt · output_format · safety_tolerance · seed · limit_generations · enable_web_search
0 / 50000

Orientação opcional de persona e estilo de saída para toda a requisição, enviada ao Gemini como instrução de sistema ou a provedores compatíveis com OpenAI como mensagem de sistema. Nada é enviado para essa instrução quando o valor está em branco.

output_format padrão png

Formato de arquivo da imagem resultante.

safety_tolerance padrão 4

Defina a tolerância da moderação de conteúdo entre o nível menos restritivo, 6, e o nível mais rigoroso, 1, que bloqueia a maior parte do conteúdo.

Valor de seed que inicializa a geração de números aleatórios.

POST /run/gemini-3-pro-image-preview/edit?wait=20 cotação → $ 0,15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar esta solicitação

Sua chave permanece neste navegador: ela é enviada somente à Doitong API e salva (localStorage) apenas se você marcar Lembrar. Obter uma chave de API

Sobre Gemini 3 Pro Image Preview · Edit

Edita ou recombina imagens de `image_urls` (obrigatório) de acordo com um `prompt`. `aspect_ratio` tem padrão auto, `resolution` pode ser 1K, 2K ou 4K, e `system_prompt` e a pesquisa na web podem ser ativados. Retorna de 1 a 4 imagens editadas em PNG, JPEG ou WebP.

Parâmetros

Envie o nome canônico ou o nome nativo, não ambos. Nomes canônicos

NomeTipo PadrãoPermitido Descrição
promptobrigatório
Tipostring
≤ 50.000 caracteres≥ 3 caracteres
Instruções de texto para editar uma imagem.
num_imagesopcional num_outputs
Tipointeger
Padrão1
1 – 4
Quantidade de imagens solicitada para geração.
seedopcional
Tipointeger | null
Valor de seed que inicializa a geração de números aleatórios.
aspect_ratioopcional
Tipoenum
Padrãoauto
auto21:916:93:24:35:41:14:53:42:39:16
Proporção da imagem resultante.
output_formatopcional
Tipoenum
Padrãopng
jpegpngwebp
Formato de arquivo da imagem resultante.
safety_toleranceopcional
Tipoenum
Padrão4
123456
Defina a tolerância da moderação de conteúdo entre o nível menos restritivo, 6, e o nível mais rigoroso, 1, que bloqueia a maior parte do conteúdo.
image_urlsobrigatório images
Tipourl[] · image
URLs que identificam imagens de origem para edição ou geração image-to-image.
system_promptopcional
Tipostring
Padrão
≤ 50.000 caracteres
Orientação opcional de persona e estilo de saída para toda a requisição, enviada ao Gemini como instrução de sistema ou a provedores compatíveis com OpenAI como mensagem de sistema. Nada é enviado para essa instrução quando o valor está em branco.
resolutionopcional
Tipoenum
Padrão1K
1K2K4K
Resolução da imagem de saída.
limit_generationsopcional
Tipoboolean
Padrãotrue
Limite experimental de geração: ativar `True` substitui quaisquer instruções de quantidade de imagens no prompt e restringe cada rodada de prompting a 1 geração.
obrigatório Nome canônico, também aceito

Os parâmetros de arquivo aceitam uma URL https:// pública, um URI data: de até 10 MB ou o file_url de um upload. Arquivos

Saída

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Seus arquivos, sua escolhaCada outputs[].url é uma cópia em nosso armazenamento: mantida para sempre (cobrada por GB-mês) ou por 7 dias gratuitamente, conforme a configuração da sua conta ou ?storage=.
Mesmo formato em todos os modelostype, url, content_type, width, height e duration, para imagens, vídeos e áudios. output é o próprio objeto de resultado do modelo.
Campos da saída
images
array of object {url, content_type, file_name, file_size, width, height}Imagens resultantes da edição.
description
stringDescrição que acompanha as imagens geradas.

Mais modelos: Edição de imagem

Para agentes de IA: esta página em Markdown está em https://doitong.com/pt-BR/developers/models/gemini-3-pro-image-preview/edit.md. Todos os modelos e guias: https://doitong.com/developers/llms.txt