Fal.AI를 통해 제공되는 ByteDance Seedream 5.0 Flash 이미지 편집 모델입니다. 최대 10장의 입력 이미지(Figure 1, Figure 2, ...로 지목)로 빠르고 저렴하게 편집·다중 참조 합성을 수행하며 1K-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": "bytedance/seedream/v5/flash/edit",
"input": {
"prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
"image_urls": [
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_1.png",
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png",
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_3.png"
],
"image_size": "auto_2K",
"output_format": "jpeg"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 편집에 쓸 텍스트 프롬프트입니다. 입력은 Figure 1, Figure 2, ...로 지목합니다. |
image_urls | array | Yes | - | 입력 참조 이미지 목록입니다(최대 10장, 더 보내면 마지막 10장만 사용). |
image_size | string | No | auto_2K | 출력 크기 프리셋입니다. auto_1K / auto_2K는 화면 비율을 자동으로 고르며, 총 픽셀은 1024x1024~2048x2048 사이입니다. 크기와 무관하게 같은 가격입니다. auto_2Kauto_1Ksquare_hdportrait_4_3portrait_16_9landscape_4_3landscape_16_9 |
num_images | integer | No | 1 | 실행할 개별 생성 횟수이며 각각 한 장씩 생성합니다(1-6). 이미지당 과금됩니다. |
output_format | string | No | jpeg | 생성 이미지의 파일 형식입니다. jpegpng |
enable_safety_checker | boolean | No | true | true면 세이프티 체커가 활성화됩니다. |
이 모델의 image_urls 파라미터에 파일을 전달하는 방법은 3가지입니다.
공개 접근 가능한 URL을 직접 전달합니다. Storage API(POST /v1/files/upload-url)로 업로드하면 파일이 S3로 직접 올라가고(파일당 50MB), 반환된 file_url을 그대로 쓰면 됩니다.
{
"model": "bytedance/seedream/v5/flash/edit",
"input": {
"prompt": "your prompt here",
"image_urls": ["https://example.com/image.jpg"]
}
}POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 없는 대신, 파일이 API 서버를 거치므로 요청 전체 10MB 제한이 적용됩니다.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=bytedance/seedream/v5/flash/edit" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image_urls=@your_file.png"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": "bytedance/seedream/v5/flash/edit",
"input": {
"prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
"image_urls": [
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_1.png",
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png",
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_3.png"
],
"image_size": "auto_2K",
"output_format": "jpeg"
}
}'사진 한 장의 피사체를 새 배경에 배치한 2가지 변형입니다.
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/v5/flash/edit",
"input": {
"prompt": "Place the product from Figure 1 on a sunlit marble kitchen counter with soft morning light",
"image_urls": [
"https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png"
],
"num_images": 2
}
}'