공간 이해력과 세계 지식이 강화된 ByteDance의 업그레이드 이미지 모델입니다. 단일/다중 참조 이미지 편집과 순차(다중 이미지) 생성을 지원합니다.
콘솔의 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": "bytedance/seedream-4.5",
"input": {
"prompt": "A warm, nostalgic film-style interior of a cozy café, shot on 35mm-inspired digital photography with soft afternoon sunlight filtering through the front windows.",
"size": "4K",
"aspect_ratio": "16:9",
"sequential_image_generation": "disabled"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 생성을 위한 텍스트 프롬프트 (최대 4000자) |
image_input | array | No | [] | 이미지-이미지 생성을 위한 입력 이미지 (단일/다중 참조용 1~14장) |
size | string | No | 2K | 이미지 해상도: 2K, 4K, 또는 custom (1K는 지원되지 않음) 2K4Kcustom |
width | integer | No | 2048 | 커스텀 이미지 너비, 1024~4096 (size=custom일 때만 사용) |
height | integer | No | 2048 | 커스텀 이미지 높이, 1024~4096 (size=custom일 때만 사용) |
aspect_ratio | string | No | match_input_image | 이미지 종횡비. size=custom일 때는 무시됨 match_input_image1:14:33:44:55:416:99:163:22:321:99:21 |
sequential_image_generation | string | No | disabled | 'disabled'는 이미지 1장 생성, 'auto'는 모델이 여러 연관 이미지를 생성하도록 허용 disabledauto |
max_images | integer | No | 1 | sequential_image_generation=auto일 때 생성할 최대 이미지 수 (1~15). 생성된 이미지 수만큼 과금 |
disable_safety_checker | boolean | No | false | 생성 이미지에 대한 안전 검사기 비활성화 |
이 모델의 image_input 파라미터에 파일을 전달하는 방법은 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=bytedance/seedream-4.5" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image_input=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "bytedance/seedream-4.5",
"input": {
"prompt": "your prompt here",
"image_input": ["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로도 제공 |
4K 해상도로 생성하는 고해상도 단일 이미지
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "bytedance/seedream-4.5",
"input": {
"prompt": "A warm, nostalgic film-style interior of a cozy café, shot on 35mm-inspired digital photography with soft afternoon sunlight filtering through the front windows.",
"size": "4K",
"aspect_ratio": "16:9",
"sequential_image_generation": "disabled"
}
}'한 번의 호출로 최대 15장의 연관 이미지(스토리 장면, 캐릭터 배리에이션 등) 생성
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "bytedance/seedream-4.5",
"input": {
"prompt": "A children's book spread showing a fox exploring a forest across four consecutive scenes",
"sequential_image_generation": "auto",
"max_images": 4
}
}'