FLUX1.1 [pro]의 ultra·raw 모드입니다. FLUX 1.1 Pro 계열 중 최고 해상도인 최대 4메가픽셀 이미지를 생성합니다. 사실적인 결과가 필요하면 raw 모드를 사용하세요.
콘솔의 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": "black-forest-labs/flux-1.1-pro-ultra",
"input": {
"prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun",
"aspect_ratio": "3:2",
"raw": false
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 생성을 위한 텍스트 프롬프트 |
raw | boolean | No | false | 덜 가공된, 더 자연스러운 이미지 생성 |
image_prompt | string | No | - | Flux Redux를 통해 구도를 가이드하는 이미지, 텍스트 프롬프트와 혼합됨 |
image_prompt_strength | number | No | 0.1 | 텍스트 프롬프트와 이미지 프롬프트 간의 혼합 강도 (0~1) |
aspect_ratio | string | No | 1:1 | 생성 이미지의 종횡비 21:916:93:24:35:41:14:53:42:39:169:21 |
safety_tolerance | integer | No | 2 | 안전 허용 수준, 1이 가장 엄격하고 6이 가장 관대함 |
output_format | string | No | jpg | 출력 이미지 형식 jpgpng |
seed | integer | No | - | 재현 가능한 생성을 위한 랜덤 시드 |
이 모델의 image_prompt 파라미터에 파일을 전달하는 방법은 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-1.1-pro-ultra" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image_prompt=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "black-forest-labs/flux-1.1-pro-ultra",
"input": {
"prompt": "your prompt here",
"image_prompt": "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로도 제공 |
3: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": "black-forest-labs/flux-1.1-pro-ultra",
"input": {
"prompt": "a majestic snow-capped mountain peak bathed in a warm glow of the setting sun",
"aspect_ratio": "3:2",
"raw": false
}
}'raw 모드를 사용한 덜 가공된 자연스러운 인물 사진
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-1.1-pro-ultra",
"input": {
"prompt": "a candid portrait of a chef in a busy kitchen, natural lighting",
"raw": true,
"aspect_ratio": "4:5"
}
}'