LarawanGoogleBago

Nano Banana 2

Google Gemini-powered image generation

model: "nano-banana-2"

Mga paraan

Isang model id, bawat mode sa ibaba. Ang mga field na ipinapadala mo ay pumipili ng mode, at ang presyo ay sumusunod sa mode.

ParaanPinipili ngTipikal na presyo
Teksto tungo sa larawanprompt
Halimbawang kahilingan
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.080
Pagbabago ng larawanimage_url
Halimbawang kahilingan
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.080

Input

Kinakailangan

Prompt

Opsyonal
1

Number of Images

Opsyonal

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.

Opsyonal

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

Opsyonal

Aspect Ratio

Opsyonal

Seed

Mga advanced na opsyon (1)

Mga setting ng provider na higit pa sa pangunahing kontrol. Iwanan silang walang laman upang gamitin ang mga default ng modelo.

Opsyonal

File format of the result.

Resulta

Nano Banana 2Halimbawang output

Tunay na resulta mula sa modelong ito. Patakbuhin mo ito upang makita ang sa iyo dito.

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