나노 바나나

텍스트를 이미지로, 이미지를 이미지로 빠르게 생성

기능
  • 텍스트-이미지 생성
  • 이미지-투-이미지 변환
  • 다중 화면비
  • 빠른 생성 (~5초)
요금제
4 (~$0.04)Per image
엔드포인트
POST/api/v1/images/generate
매개변수
Parameter타입필수설명
modelstring필수Must be "nano-banana"
promptstring필수Text description of the image to generate
negative_promptstring선택 사항What to avoid in the image
aspect_ratiostring선택 사항"1:1", "16:9", "9:16", "4:3", "3:4"
input_imagestring선택 사항URL or base64 for image-to-image
num_imagesnumber선택 사항Must be 1
요청 예시
{
  "model": "nano-banana",
  "prompt": "A futuristic city at night with neon lights",
  "aspect_ratio": "16:9"
}
응답 예시
{
  "success": true,
  "data": {
    "task_id": "task_abc123",
    "credits_used": 4,
    "remaining_credits": 496,
    "model": "nano-banana"
  }
}
코드 예제
curl -X POST https://gateway.nanobananapro.site/api/v1/images/generate \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana",
    "prompt": "A futuristic city at night with neon lights",
    "aspect_ratio": "16:9"
  }'
Nano Banana Pro API