छविGoogleनया

Nano Banana 2

Google Gemini-संचालित छवि पीढ़ी

model: "nano-banana-2"

API दस्तावेज़एजेंट के लिए दस्तावेज़

मोड

एक मॉडल आईडी, नीचे सभी मोड। आप जो फ़ील्ड भेजते हैं वह मोड चुनते हैं, और कीमत मोड के अनुसार होती है।

मोडइनके द्वारा चयनितसामान्य कीमत
पाठ से छविprompt
उदाहरण अनुरोध
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.080
छवि संपादनimage_url
उदाहरण अनुरोध
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.080

इनपुट

आवश्यक

Prompt

वैकल्पिक
1

Number of Images

वैकल्पिक

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

वैकल्पिक

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

वैकल्पिक

Aspect Ratio

वैकल्पिक

Seed

उन्नत विकल्प (1)

मुख्य नियंत्रणों से परे प्रदाता सेटिंग्स। मॉडल के डिफ़ॉल्ट का उपयोग करने के लिए उन्हें खाली छोड़ दें।

वैकल्पिक

File format of the result.

परिणाम

Nano Banana 2उदाहरण आउटपुट

इस मॉडल से वास्तविक परिणाम। इसे चलाकर अपना परिणाम यहाँ देखें।

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a full-body shot of a fantasy man, in their thirties, of Southeast Asian heritage, with fair skin, with hazel eyes, chestnut hair tied up in a top knot, and a muscular build, in a glass-walled office at golden hour, city skyline soft behind. Cinematic key lighting with atmospheric haze, richly detailed costume and materials, painterly realism, consistent character design"
  }
}'
Nano Banana 2 1Nano Banana 2 2Nano Banana 2 3Nano Banana 2 4Nano Banana 2 5Nano Banana 2 6