Skip to main content
Core.Today
|
Google보통울트라

Nano Banana 2 (Edit)

Gemini 3.1 Flash Image 기반 Nano Banana 2의 편집 엔드포인트입니다. 해상도 제어(1K/2K/4K), Google 검색 연동, 사고 모드를 추가하면서 대화형 편집과 멀티 이미지 융합을 유지합니다.

190 크레딧
이미지당 (1K); 2K는 280, 4K는 370 크레딧
해상도 제어: 1K, 2K, 4K
선택적 웹 검색 연동
사고 모드 (minimal/high)
멀티 이미지 융합 및 대화형 편집
편집 시 캐릭터 일관성

지금 바로 실행해보세요

콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요

로그인 후 사용해보기

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

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

빠른 시작

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "fal-ai/nano-banana-2/edit",
  "input": {
    "prompt": "make a photo of the man driving the car down the california coastline",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
      "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
    ],
    "aspect_ratio": "auto",
    "resolution": "1K",
    "output_format": "png",
    "num_images": 1
  }
}'

파라미터

파라미터타입필수기본값설명
promptstringYes-이미지 편집 방식
num_imagesintegerNo1생성할 이미지 수
seedintegerNo-난수 생성기용 시드.
aspect_ratiostringNoauto출력 비율 (auto는 모델이 자동 결정)
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
output_formatstringNopng출력 이미지 포맷
jpegpngwebp
safety_tolerancestringNo4콘텐츠 검열의 안전 허용 수준. 1이 가장 엄격(대부분 차단)하고 6이 가장 관대함.
123456
sync_modebooleanNofalse`True`이면 미디어가 data URI로 반환되며, 출력 데이터는 요청 기록에서 확인할 수 없습니다.
image_urlsarrayNo-편집할 입력 이미지 URL 배열
system_promptstringNo-요청 전반에서 모델의 페르소나와 출력 스타일을 지정하는 선택적 시스템 지시문. 비워두면 생략되며, 지정하면 Gemini의 시스템 지시문(또는 OpenAI 호환 프로바이더의 시스템 메시지)으로 전달됩니다.
resolutionstringNo1K출력 해상도 — 해상도에 따라 가격이 달라집니다
0.5K1K2K4K
video_urlstringNo-입력 컨텍스트로 사용할 선택적 비디오. 비디오 파일의 http(s)/data URL(다운로드 후 인라인 전송, 최대 15MB) 또는 YouTube URL(다운로드 없이 모델로 그대로 전달)을 지원합니다.
audio_urlstringNo-입력 컨텍스트로 사용할 선택적 오디오 파일. http(s)/data URL을 지원 (다운로드 후 인라인 전송, 최대 15MB).
pdf_urlstringNo-입력 컨텍스트로 사용할 선택적 PDF 문서. http(s)/data URL을 지원 (다운로드 후 인라인 전송, 최대 15MB).
limit_generationsbooleanNotrue매 프롬프팅 라운드의 생성 개수를 1개로 제한하는 실험적 파라미터. `True`로 설정하면 프롬프트에 포함된 생성 이미지 개수 지시를 무시하고 모델이 생성한 중간 이미지도 무시합니다. 생성 품질에 영향을 줄 수 있습니다.
enable_web_searchbooleanNofalse실시간 정보를 위한 웹 검색 연동
thinking_levelstringNo-모델 사고 모드 활성화 (생략 시 비활성)
minimalhigh

파일 입력 방법

이 모델의 image_urls 파라미터에 파일을 전달하는 방법은 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=fal-ai/nano-banana-2/edit" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_urls=@your_file.png"

이미지 URL 전달

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

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

공통 파라미터

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

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

예제

멀티 이미지 합성

여러 입력 사진을 합성하여 장면 구성

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "fal-ai/nano-banana-2/edit",
  "input": {
    "prompt": "make a photo of the man driving the car down the california coastline",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
      "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
    ],
    "aspect_ratio": "auto",
    "resolution": "1K",
    "output_format": "png",
    "num_images": 1
  }
}'

팁 & 모범 사례

1해상도가 곧 비용입니다 — 반복 작업은 1K로 시작하세요
2다른 소스의 피사체를 합성하려면 image_urls에 여러 URL을 전달하세요
3어려운 편집 지시에는 thinking_level=high를 사용하세요
4최신 정보가 필요한 이미지는 enable_web_search를 활성화하세요

사용 사례

고해상도 편집 렌더링
정보 기반 일러스트 (웹 검색)
다중 참조 장면 합성
다국어 타이포그래피 편집