Skip to main content
Google빠름높음

Nano Banana

멀티모달 편집 기능을 갖춘 Google Gemini 2.5 Flash 기반 이미지 생성 모델입니다. 생성과 편집 작업 모두에 빠르고 다재다능합니다.

70 크레딧
이미지당
Gemini 2.5 Flash 기반 생성
멀티모달 이미지 편집
빠른 생성 속도
다양한 화면 비율 지원

AI 어시스턴트에서 사용하기

이 모델의 사용법을 Claude, ChatGPT 등에 복사

llms.txt

빠른 시작

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "google/nano-banana",
  "input": {
    "prompt": "Whimsical illustration of a cat astronaut floating in space with planets and stars, colorful and playful style",
    "aspect_ratio": "1:1"
  }
}'

파라미터

파라미터타입필수기본값설명
promptstringYes-생성할 이미지에 대한 텍스트 설명 또는 편집 지시사항
image_inputarrayNo-변환/참조용 입력 이미지 URL 배열
aspect_ratiostringNo1:1출력 비율
match_input_image1:12:33:23:44:34:55:49:1616:921:9
output_formatstringNojpg출력 이미지 포맷
jpgpngwebp

파일 입력 방법

이 모델의 image_input 파라미터에 파일을 전달하는 방법은 3가지입니다.

추천

간편 업로드 (Multipart)

POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 필요 없습니다.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=google/nano-banana" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_input=@your_file.png"

이미지 URL 전달

공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.

{
  "model": "google/nano-banana",
  "input": {
    "prompt": "your prompt here",
    "image_input": ["https://example.com/image.jpg"]
  }
}
File Upload 문서에서 Presigned URL 방식 등 더 자세한 업로드 방법을 확인하세요.

공통 파라미터

POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.

파라미터타입필수기본값설명
modelstringYes-모델 식별자
inputobjectYes-위 테이블의 모델별 파라미터를 포함하는 객체
output_folderstringNo-결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가)
webhook_urlstringNo-완료 시 호출할 Webhook URL
is_publicbooleanNofalsetrue 시 결과물을 영구 공개 URL로도 제공

예제

크리에이티브 일러스트레이션

Gemini로 크리에이티브 일러스트레이션 생성

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "google/nano-banana",
  "input": {
    "prompt": "Whimsical illustration of a cat astronaut floating in space with planets and stars, colorful and playful style",
    "aspect_ratio": "1:1"
  }
}'

팁 & 모범 사례

1편집 모드를 사용하려면 입력 이미지 URL을 제공하세요
2하나의 모델로 생성과 편집 모두에 뛰어남
3대상 플랫폼에 맞는 특정 비율을 사용하세요
4강력한 편집을 위해 텍스트 프롬프트와 입력 이미지를 결합하세요

사용 사례

빠른 이미지 생성 및 편집
멀티모달 크리에이티브 워크플로우
소셜 미디어 콘텐츠 제작
빠른 비주얼 프로토타이핑