최대 10개의 참조 이미지와 고급 타이포그래피를 지원하는 최고 품질 FLUX 모델입니다. 복잡한 다중 참조 크리에이티브 프로젝트에 가장 강력한 모델입니다.
이 모델의 사용법을 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": "black-forest-labs/flux-2-flex",
"input": {
"prompt": "Premium brand campaign visual combining modern architecture with natural elements, luxury lifestyle aesthetic, professional advertising quality, 8k",
"image_size": "landscape_16_9",
"num_inference_steps": 50,
"guidance_scale": 3.5
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 생성할 이미지에 대한 텍스트 설명 |
input_images | array | No | - | 스타일 및 콘텐츠 가이드용 입력 이미지 (최대 10개) |
aspect_ratio | string | No | 1:1 | 생성할 이미지의 비율 ('match_input_image'로 입력 이미지에 맞춤) 1:116:99:164:33:4match_input_imagecustom |
resolution | string | No | 1 MP | 해상도 (최대 4 MP, 2 MP 이하 권장) |
seed | integer | No | - | 재현성을 위한 랜덤 시드 |
guidance | number | No | 3.5 | 가이던스 스케일 - 출력이 프롬프트를 따르는 정도 조절 |
steps | integer | No | 50 | 추론 스텝 수 |
prompt_upsampling | boolean | No | - | 더 창의적인 생성을 위해 프롬프트 자동 수정 |
output_format | string | No | webp | 출력 이미지 포맷 pngjpgwebp |
output_quality | integer | No | 80 | 출력 이미지 품질 (0-100) |
이 모델의 input_images 파라미터에 파일을 전달하는 방법은 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=black-forest-labs/flux-2-flex" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:input_images=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "black-forest-labs/flux-2-flex",
"input": {
"prompt": "your prompt here",
"input_images": ["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": "black-forest-labs/flux-2-flex",
"input": {
"prompt": "Premium brand campaign visual combining modern architecture with natural elements, luxury lifestyle aesthetic, professional advertising quality, 8k",
"image_size": "landscape_16_9",
"num_inference_steps": 50,
"guidance_scale": 3.5
}
}'POST /v1/predictions