Gemini 3 Pro 기반 Nano Banana Pro의 편집 엔드포인트입니다. 전문가급 제어, 다국어 텍스트 렌더링, Google 검색 실시간 연동, 최대 2K 편집 해상도를 제공합니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 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-pro/edit",
"input": {
"prompt": "Make the colors more vibrant and add a sunset glow",
"image_urls": [
"https://example.com/input-image.jpg"
],
"aspect_ratio": "match_input_image",
"resolution": "1K",
"output_format": "png",
"num_images": 1
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 편집 방식 |
image_urls | array | Yes | - | 편집할 입력 이미지 URL 배열 |
aspect_ratio | string | No | match_input_image | 출력 비율 match_input_image1:12:33:23:44:34:55:49:1616:921:9 |
resolution | string | No | 1K | 출력 해상도 — 해상도에 따라 가격이 달라집니다 1K2K |
output_format | string | No | png | 출력 이미지 포맷 pngjpg |
enable_web_search | boolean | No | false | 실시간 정보를 위한 웹 검색 연동 |
num_images | integer | No | 1 | 생성할 이미지 수 |
이 모델의 image_urls 파라미터에 파일을 전달하는 방법은 3가지입니다.
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-pro/edit" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image_urls=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "fal-ai/nano-banana-pro/edit",
"input": {
"prompt": "your prompt here",
"image_urls": ["https://example.com/image.jpg"]
}
}POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.
| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | - | 모델 식별자 |
input | object | Yes | - | 위 테이블의 모델별 파라미터를 포함하는 객체 |
output_folder | string | No | - | 결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가) |
webhook_url | string | No | - | 완료 시 호출할 Webhook URL |
is_public | boolean | No | false | true 시 결과물을 영구 공개 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-pro/edit",
"input": {
"prompt": "Make the colors more vibrant and add a sunset glow",
"image_urls": [
"https://example.com/input-image.jpg"
],
"aspect_ratio": "match_input_image",
"resolution": "1K",
"output_format": "png",
"num_images": 1
}
}'POST /v1/predictions