포토리얼리스틱한 결과물과 강력한 프롬프트 이행력에 초점을 맞춘 Krea AI의 플래그십 텍스트-투-이미지 모델입니다. 스타일 레퍼런스와 무드보드 기반 생성을 지원하여 일관된 비주얼 디렉션을 유지할 수 있습니다.
콘솔의 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": "krea/krea-2-large",
"input": {
"prompt": "A photorealistic studio shot of a matte black ceramic coffee mug on a warm oak wood table, soft natural window light from the left, shallow depth of field",
"aspect_ratio": "4:3",
"creativity": "low"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지를 설명하는 텍스트 프롬프트입니다. |
aspect_ratio | string | No | 1:1 | 생성된 이미지의 종횡비입니다. 1:14:33:216:92.35:14:52:39:16 |
creativity | string | No | medium | 모델이 프롬프트를 얼마나 확장할지를 결정합니다. 'raw'는 설명한 내용만 그대로 렌더링하고, 'low'는 명백한 빈틈만 채우며, 'medium'은 합리적인 해석을 추가하고, 'high'는 상당한 창작적 자유를 허용합니다. rawlowmediumhigh |
style_reference_images | array | No | [] | 출력물에 스타일을 전이할 최대 10장의 참조 이미지입니다. 스타일은 추출되어 `style_reference_strength`로 조절된 강도로 적용됩니다. |
style_reference_strength | number | No | 0.5 | 참조 이미지의 스타일을 얼마나 강하게 적용할지 결정합니다. 0은 영향 없음, 1은 스타일이 지배적임을 의미하며, 모든 스타일 참조 이미지에 동일하게 적용됩니다. |
moodboard_id | string | No | - | 선택적인 Krea 무드보드 UUID입니다. 무드보드는 먼저 Krea 웹앱(https://www.krea.ai/moodboards)에서 생성해야 합니다. 무드보드 공유 URL의 `?share=<uuid>` 부분에서 UUID를 확인할 수 있습니다. |
moodboard_strength | number | No | 0.35 | 무드보드가 출력물에 얼마나 강하게 영향을 미칠지 결정합니다. |
seed | integer | No | - | 랜덤 시드입니다. 재현 가능한 생성을 위해 설정하세요. |
이 모델의 style_reference_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=krea/krea-2-large" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:style_reference_images=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "krea/krea-2-large",
"input": {
"prompt": "your prompt here",
"style_reference_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": "krea/krea-2-large",
"input": {
"prompt": "A photorealistic studio shot of a matte black ceramic coffee mug on a warm oak wood table, soft natural window light from the left, shallow depth of field",
"aspect_ratio": "4:3",
"creativity": "low"
}
}'레퍼런스 이미지의 브랜드 비주얼 스타일을 새로운 장면에 적용
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "krea/krea-2-large",
"input": {
"prompt": "A model wearing a linen summer dress walking through a sunlit olive grove",
"style_reference_images": [
"https://example.com/brand-style-1.jpg",
"https://example.com/brand-style-2.jpg"
],
"style_reference_strength": 0.7,
"aspect_ratio": "2.35:1"
}
}'