छविGoogleनया

Nano Banana 2.1

Google का नवीनतम Gemini इमेज मॉडल

model: "nano-banana-2-1"

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

मोड

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

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

इनपुट

आवश्यक

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.

परिणाम

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2-1",
  "input": {}
}'