나노바나나 2는 Google의 Gemini 3.1 Flash Image 모델이에요. YingTu에서는 장당 $0.055이고, 텍스트로 생성하기와 참조 이미지 최대 5장을 쓰는 편집을 지원하며, 512px~4K, 1:1~8:1 비율로 출력해요. 일상적인 이미지, 배경 바꾸기, 여러 크기 소재는 이것부터.
Nano Banana 2는 Google의 Gemini 3.1 Flash Image(모델 ID gemini-3.1-flash-image)예요. Google 공식 사용처는 Gemini 앱과 Google AI Studio이고, YingTu는 LaoZhang API로 이 모델을 쓰는 독립 사이트예요.
가격: 장당 $0.055(512px~4K, 비율 1:8~8:1). 구독 없이 LaoZhang이 장당 과금해요.
실측 시간: YingTu 실제 생성 22회의 중앙값 14초(최단 11초, 최장 19초).
이미지 편집: 참조 이미지 최대 5장, 장당 20 MB까지.
Gmail로 로그인한 신규 사용자는 $0.1 크레딧을 받아요: Nano Banana 2 약 1장.
바로 쓰는 프롬프트
누르면 그 프롬프트와 비율이 들어간 이미지 스튜디오가 열려요.
제품 사진
4:5
A clean product photo of a matte ceramic coffee mug on a light stone table, soft window light, natural shadows, minimal styling.
풍경 사진
16:9
An editorial travel photograph of a mountain lake at sunrise, layered atmospheric depth, natural color, fine detail.
참조 이미지 편집
auto
Preserve the main subject and composition. Replace the background with a quiet modern studio using soft directional daylight.
YingTu에서 Nano Banana 2로 만든 예시
프롬프트 라이브러리의 실제 결과물이에요. 프롬프트와 생성에 걸린 시간을 함께 보여 주고, 열면 같은 프롬프트로 바로 생성할 수 있어요.
반려동물 박스 피규어 · 16초프롬프트
Turn the pet in the reference image into a boxed collectible toy: matte vinyl finish, keeping its fur colors, markings and tongue-out expression. It sits in a clear bubble on cardboard printed with grass and bones, with a frisbee, a bone and a tiny dog bowl in the side compartments. The box reads "PARK HERO". White background, soft studio light, product photography.
Dress the pet in the reference image in a pumpkin Halloween costume: an orange pumpkin suit with a little green leaf hat. It sits on front steps covered in fallen leaves, next to small pumpkins and a basket of candy. Warm early-evening light, blurred string lights behind, keep the breed, fur colors and markings. A cute holiday photo.
Turn the reference photo into a Japanese anime illustration: clean line art, cel shading, large expressive eyes, keeping the short hair, denim jacket, white T-shirt and the pose by the window. Outside the window, a summer afternoon street with blue sky and clouds, bright and airy light. Keep the composition and expression of the original.
Turn the person in the reference image into a sheet of 6 chibi stickers: waving hello, making a heart, sipping coffee, listening with headphones, falling asleep on a desk and jumping for joy. Each sticker has a thick white die-cut border and a slight drop shadow, keeping the hairstyle, denim jacket and facial features. Light grey background, neat grid, flat cartoon style, high resolution.
Make a standard ID photo of the person in the reference image: facing the camera, shoulders level, natural expression, dressed in a dark suit and white shirt with tidy hair. Plain blue background (#438EDB), even shadowless frontal light, a little space above the head, high resolution. Keep the face and features unchanged.
Cut out the product from the reference image and make an e-commerce main image: pure white background (#FFFFFF), product centered at about 80% of the frame, front view slightly from above, with a soft natural shadow underneath. Fix perspective and white balance, remove clutter and glare, keep the shape, color and print unchanged, sharp and high resolution.
프롬프트 4개를 YingTu에서 두 모델로 실행했어요. 각각 한 예시라서 벤치마크가 아니라 참고용이에요.
지식 카드
아이용 과학책 같은 단순한 설명 카드를 요청했어요. Pro는 단순하게, Nano Banana 2는 요청하지 않은 잎 단면 해부도(라벨 철자는 정확)까지 그렸어요.
Nano Banana Pro
Nano Banana 2 · 18초
프롬프트
An explainer card about photosynthesis: a cross-section illustration of a leaf in the middle, with arrows showing sunlight, carbon dioxide and water going in, and oxygen and glucose coming out. Title at the top "How Do Plants Eat?", a one-line summary at the bottom. Fresh green palette, children's science book style, clear and accurate labels.
아이소메트릭 미니어처 도시
둘 다 요청한 요소를 모두 그렸어요. Nano Banana 2는 디테일이 더 많고 나무 받침까지 넣었고, Pro는 더 담백해요.
Nano Banana Pro
Nano Banana 2 · 13초
프롬프트
A 45° isometric miniature city block: an old train station with a clock tower in the middle, surrounded by a café, a bookshop, a small park and a tram, with people and bikes on the streets. Detailed 3D render, soft evening light, warm streetlights just turning on, plain light background, like a fine tabletop model.
비즈니스 프로필 사진
둘 다 얼굴을 잘 유지했고, 두 프로필 사진이 거의 비슷해요.
입력 이미지(AI 생성)
Nano Banana Pro
Nano Banana 2 · 14초
프롬프트
Turn the person in the reference image into a professional headshot: beige blazer, chest-up framing, body slightly angled and smiling at the camera. Blurred modern office background, soft key light from the left with a rim light, 85mm lens look, natural skin tones, same facial features. Suitable for LinkedIn and a résumé.
옛날 사진 복원과 컬러화
프롬프트는 얼굴을 그대로 두라고 지시했어요. Pro는 여성의 검은 머리를 유지했고, Nano Banana 2는 밝은 적갈색으로 바꿨어요.
입력 이미지(AI 생성)
Nano Banana Pro
Nano Banana 2 · 18초
프롬프트
Restore this old photo: remove scratches, creases, mold spots and noise, fill in missing areas, sharpen it, then colorize it naturally with period-accurate skin, clothing and background colors. Keep every face, expression, pose and the composition exactly the same, no beautifying, so it looks like it was shot on color film at the time.
import base64
import mimetypes
import os
import sys
import requests
API_KEY = os.environ.get("LAOZHANG_API_KEY")
ifnot API_KEY:
raise RuntimeError("Set the LAOZHANG_API_KEY environment variable before running this example.")
API_URL = "https://api2.laozhang.ai/v1beta/models/gemini-3.1-flash-image:generateContent"
REQUEST_TIMEOUT_SECONDS = 500
headers = {
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json",
}
payload = {
"contents": [{
"parts": [
{"text": "A clean product photo of a matte ceramic coffee mug on a light stone table, soft window light, natural shadows, minimal styling."}
]
}],
"generationConfig": {
"responseModalities": ["IMAGE"],
"imageConfig": {
"imageSize": "2K"
}
}
}
try:
response = requests.post(
API_URL,
headers=headers,
json=payload,
timeout=REQUEST_TIMEOUT_SECONDS,
)
except requests.Timeout as error:
print(
"Request timed out after 500 seconds. The result status may be unknown; ""check call and billing logs before retrying.",
file=sys.stderr,
)
raise SystemExit(1) from error
if response.status_code != 200:
print(f"API error {response.status_code}: {response.text}", file=sys.stderr)
raise SystemExit(1)
try:
result = response.json()
except ValueError as error:
print("API returned a non-JSON response.", file=sys.stderr)
raise SystemExit(1) from error
ifnotisinstance(result, dict):
print("API returned an unexpected JSON shape.", file=sys.stderr)
raise SystemExit(1)
image_part = Nonefor candidate in result.get("candidates", []):
for part in candidate.get("content", {}).get("parts", []):
inline_data = part.get("inlineData") or part.get("inline_data")
if inline_data and inline_data.get("data"):
image_part = inline_data
breakif image_part:
breakifnot image_part:
response_id = result.get("responseId", "not provided")
print(f"No image data in response. responseId={response_id}", file=sys.stderr)
raise SystemExit(1)
mime_type = image_part.get("mimeType") or image_part.get("mime_type") or"image/png"
encoded_image = image_part["data"]
if encoded_image.startswith("data:"):
header, encoded_image = encoded_image.split(",", 1)
mime_type = header[5:].split(";", 1)[0] or mime_type
extension_by_mime = {
"image/jpeg": "jpg",
"image/png": "png",
"image/webp": "webp",
"image/gif": "gif",
}
extension = extension_by_mime.get(mime_type, "bin")
output_path = f"output.{extension}"withopen(output_path, "wb") as output_file:
output_file.write(base64.b64decode(encoded_image, validate=True))
print(f"Image saved: {output_path} ({mime_type})")
자주 묻는 질문
여기가 나노바나나 2 공식 사이트인가요?
아니요. Nano Banana 2는 Google의 Gemini 3.1 Flash Image이고, 공식 사용처는 Gemini 앱과 Google AI Studio예요. YingTu는 같은 모델(gemini-3.1-flash-image)을 LaoZhang API로 호출하고 장당 과금하는 독립 스튜디오예요.
나노바나나 2는 무료인가요?
Gmail로 로그인한 신규 사용자에게 $0.1(Nano Banana 2 약 1장 또는 GPT Image 2 약 3장)을 줘요. 그다음엔 본인 LaoZhang 키로 장당 $0.055예요.
일상적인 이미지라면 대부분 Nano Banana 2로 충분해요. 더 싸고 빨라요(여기 중앙값 14초 대 21초). 사진이나 정확한 요청에 충실해야 하면 Pro를 쓰세요. 이 페이지 예시에서 Nano Banana 2는 복원 사진 속 인물의 머리색을 바꾸고 단순한 설명 카드에 디테일을 더했어요.
나노바나나 2로 사진을 편집할 수 있나요?
네. 참조 이미지를 최대 5장(장당 20 MB) 올리고 바꿀 내용을 적으세요. 제품 사진 도구의 기본 모델이기도 해요.
지원하는 크기와 비율은?
출력은 512px~4K, 비율은 1:1부터 21:9·4:1·8:1 같은 아주 넓거나 긴 형식까지예요.
내 코드에서 호출할 수 있나요?
네. 이 페이지의 코드는 스튜디오가 보내는 것과 같은 LaoZhang API 요청이에요. Nano Banana API 페이지에 cURL과 Node.js 버전도 있어요.
나노바나나 2 사용법은?
이 페이지 위쪽 버튼으로 이미지 스튜디오를 열면 Nano Banana 2가 이미 선택돼 있어서, 프롬프트를 쓰고 '이미지 생성'을 누르면 돼요. 먼저 Google로 로그인(Gmail 신규 사용자는 $0.1)하거나 LaoZhang API 키를 붙여 넣고, 편집하려면 참조 이미지를 최대 5장 올린 뒤 크기와 비율을 고르세요. 장마다 따로 과금돼요.
나노바나나 2.1은 뭔가요? 2와 어느 쪽을 써야 하나요?
Nano Banana 2.1(모델 ID gemini-nano-banana-2.1)은 YingTu에 새로 추가된 나노바나나로, 2026년 10월 9일부터 스튜디오 기본 모델이에요. 장당 $0.045로 Nano Banana 2($0.055)보다 싸고, 1K·2K·4K, 비율은 똑같이 8:1까지, 참조 이미지 최대 5장이지만 512px 시안 크기는 없어요. 나노바나나 2.1 페이지에서 이 페이지의 프롬프트 4개를 2.1, 나노바나나 2, Pro로 나란히 비교했어요. 그 예시에서는 2.1이 프롬프트를 더 잘 따랐고 옛날 사진 복원에서 가장 덜 바꿨어요.