ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Nano Banana Pro

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id nano-banana-pro
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/nano-banana-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16",
    "aspect_ratio": "9:16",
    "resolution": "1K"
  }'

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

ਇਹ ਬੇਨਤੀ: $0.15 150 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Google ਟੈਕਸਟ ਤੋਂ ਚਿੱਤਰ 4K ਆਉਟਪੁੱਟ4K ਤੱਕ #typography#realism

Google ਦਾ ਸਭ ਤੋਂ ਮਜ਼ਬੂਤ ਚਿੱਤਰ ਮਾਡਲ, ਭਰੋਸੇਯੋਗ ਲੈਟਰਿੰਗ, ਜਟਿਲ ਲੇਆਉਟ ਅਤੇ 4K ਤੱਕ ਆਉਟਪੁੱਟ ਦੇ ਨਾਲ।

ਉਦਾਹਰਨਾਂ

ਆਉਟਪੁੱਟ · ~44 s
Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazin...

ਪ੍ਰੌਂਪਟCinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16

1K9:16$0.15 · 150 API ਕ੍ਰੈਡਿਟ

X 'ਤੇ @LettyVesper ਵੱਲੋਂ ਪ੍ਰਾਂਪਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ 638 / 50000

ਚਿੱਤਰ ਸਿਰਜਣ ਲਈ ਵਰਤੀਆਂ ਜਾਣ ਵਾਲੀਆਂ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।

aspect_ratio

ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਦਾ ਆਸਪੈਕਟ ਰੇਸ਼ੋ।

resolution

ਆਉਟਪੁੱਟ ਚਿੱਤਰ ਦਾ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।

num_images ਡਿਫ਼ਾਲਟ 1

ਸਿਰਜਣਾ ਲਈ ਮੰਗੀ ਗਈ ਚਿੱਤਰਾਂ ਦੀ ਗਿਣਤੀ।

ਉੱਨਤ system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

ਵਿਕਲਪਿਕ, ਪੂਰੀ ਬੇਨਤੀ ਲਈ ਵਿਅਕਤੀਤਵ ਅਤੇ ਆਉਟਪੁੱਟ-ਸ਼ੈਲੀ ਸੰਬੰਧੀ ਹਦਾਇਤਾਂ, ਜੋ Gemini ਨੂੰ ਸਿਸਟਮ ਹਦਾਇਤ ਵਜੋਂ ਜਾਂ OpenAI-compatible ਪ੍ਰਦਾਤਾਵਾਂ ਨੂੰ ਸਿਸਟਮ ਸੁਨੇਹੇ ਵਜੋਂ ਭੇਜੀਆਂ ਜਾਂਦੀਆਂ ਹਨ। ਜਦੋਂ ਮੁੱਲ ਖਾਲੀ ਹੋਵੇ, ਇਸ ਹਦਾਇਤ ਲਈ ਕੁਝ ਨਹੀਂ ਭੇਜਿਆ ਜਾਂਦਾ।

output_format ਡਿਫ਼ਾਲਟ png

ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਦਾ ਫ਼ਾਈਲ ਫਾਰਮੈਟ।

safety_tolerance ਡਿਫ਼ਾਲਟ 4

ਕੰਟੈਂਟ ਮੋਡਰੇਸ਼ਨ ਸਹਿਣਸ਼ੀਲਤਾ ਨੂੰ ਸਭ ਤੋਂ ਘੱਟ ਪਾਬੰਦੀ ਵਾਲੇ ਪੱਧਰ 6 ਅਤੇ ਸਭ ਤੋਂ ਸਖ਼ਤ ਪੱਧਰ 1 ਵਿਚਕਾਰ ਸੈਟ ਕਰੋ; 1 ਜ਼ਿਆਦਾਤਰ ਕੰਟੈਂਟ ਨੂੰ ਰੋਕਦਾ ਹੈ।

ਬੇਤਰਤੀਬ ਨੰਬਰ ਸਿਰਜਣਾ ਸ਼ੁਰੂ ਕਰਨ ਵਾਲੀ ਸੀਡ ਵੈਲਿਊ।

POST /run/nano-banana-pro?wait=20 ਕੋਟ → $0.15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/nano-banana-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16",
    "aspect_ratio": "9:16",
    "resolution": "1K"
  }'

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

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Nano Banana Pro ਬਾਰੇ

Gemini-ਆਧਾਰਿਤ ਚਿੱਤਰ ਮਾਡਲ ਜੋ ਡਰਾਇੰਗ ਤੋਂ ਪਹਿਲਾਂ ਪ੍ਰਾਂਪਟ ਬਾਰੇ ਤਰਕ ਕਰਦਾ ਹੈ, ਇਸ ਲਈ ਪੋਸਟਰ, ਇਨਫੋਗ੍ਰਾਫਿਕ, ਮੀਨੂ ਅਤੇ ਪੜ੍ਹਨਯੋਗ ਟੈਕਸਟ ਵਾਲੇ ਉਤਪਾਦ ਸ਼ਾਟ ਸਿਰਫ਼ ਡਿਫਿਊਜ਼ਨ-ਆਧਾਰਿਤ ਮਾਡਲਾਂ ਨਾਲੋਂ ਕਾਫ਼ੀ ਵੱਧ ਵਾਰ ਸਹੀ ਬਣਦੇ ਹਨ। 1K, 2K ਜਾਂ 4K ਆਉਟਪੁੱਟ ਅਤੇ ਕੋਈ ਵੀ ਆਮ ਆਸਪੈਕਟ ਰੇਸ਼ੋ ਚੁਣੋ, ਅਤੇ ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ਵੈੱਬ 'ਤੇ ਖੋਜ ਕਰਵਾ ਕੇ ਚਿੱਤਰ ਨੂੰ ਮੌਜੂਦਾ ਤੱਥਾਂ ਨਾਲ ਜੋੜੋ। ਹਰ ਰਿਕਵੈਸਟ ਲਈ ਵੱਧ ਤੋਂ ਵੱਧ ਚਾਰ ਚਿੱਤਰ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
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-compatible ਪ੍ਰਦਾਤਾਵਾਂ ਨੂੰ ਸਿਸਟਮ ਸੁਨੇਹੇ ਵਜੋਂ ਭੇਜੀਆਂ ਜਾਂਦੀਆਂ ਹਨ। ਜਦੋਂ ਮੁੱਲ ਖਾਲੀ ਹੋਵੇ, ਇਸ ਹਦਾਇਤ ਲਈ ਕੁਝ ਨਹੀਂ ਭੇਜਿਆ ਜਾਂਦਾ।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ1K
1K2K4K
ਆਉਟਪੁੱਟ ਚਿੱਤਰ ਦਾ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।
limit_generationsਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਪ੍ਰਯੋਗਾਤਮਕ ਸਿਰਜਣਾ ਸੀਮਾ: `True` ਚਾਲੂ ਕਰਨ ’ਤੇ ਪ੍ਰੌਂਪਟ ਵਿੱਚ ਦਿੱਤੀਆਂ ਚਿੱਤਰ-ਗਿਣਤੀ ਹਦਾਇਤਾਂ ਓਵਰਰਾਈਡ ਹੁੰਦੀਆਂ ਹਨ ਅਤੇ ਹਰ ਪ੍ਰੌਂਪਟਿੰਗ ਰਾਊਂਡ ਨੂੰ 1 ਸਿਰਜਣਾ ਤੱਕ ਸੀਮਿਤ ਕਰਦਾ ਹੈ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-pro",
  "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 minimalist poster for a jazz night called \"Blue Hour\", a saxophone silhouette against a deep blue sky, bold sans-serif title",
    "aspect_ratio": "3:4",
    "resolution": "2K"
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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/pa/developers/models/nano-banana-pro.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt