ছবি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