Recraft의 차세대 text-to-image 모델로, V3 대비 타이포그래피 처리, 스타일 범위, 프롬프트 반영도를 개선하여 프로덕션급 브랜드·디자인 에셋 제작에 적합합니다.
콘솔의 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": "recraft-ai/recraft-v4",
"input": {
"prompt": "A minimalist poster for a coffee shop grand opening, bold headline text 'NOW OPEN', clean sans-serif typography, warm color palette",
"aspect_ratio": "3:4"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 생성을 위한 텍스트 프롬프트입니다 (최대 10,000자). |
aspect_ratio | string | No | Not set | 생성된 이미지의 종횡비입니다. Not set1:14:33:43:22:316:99:161:22:114:1010:144:55:46:10 |
size | string | No | 1024x1024 | 생성된 이미지의 가로/세로 크기입니다. 종횡비(aspect_ratio)가 설정되면 이 값은 무시됩니다. 1024x10241536x768768x15361280x832832x12801216x896896x12161152x896896x1152832x13441280x896896x12801344x768768x1344 |
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": "recraft-ai/recraft-v4",
"input": {
"prompt": "A minimalist poster for a coffee shop grand opening, bold headline text 'NOW OPEN', clean sans-serif typography, warm color palette",
"aspect_ratio": "3:4"
}
}'종횡비 대신 명시적인 size 값을 사용해 정확한 출력 크기를 지정합니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "recraft-ai/recraft-v4",
"input": {
"prompt": "A clean product packaging mockup for a skincare bottle on a marble surface, studio lighting",
"size": "1280x832"
}
}'