Recraft V3(코드명 red_panda)는 긴 텍스트 생성이 가능하고 폭넓은 스타일을 지원하는 텍스트-이미지 모델입니다. Artificial Analysis Text-to-Image Benchmark 기준 SOTA 성능을 보유하고 있습니다.
콘솔의 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-v3",
"input": {
"prompt": "a wildlife photography photo of a red panda using a laptop in a snowy forest",
"size": "1365x1024",
"style": "any"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 생성을 위한 텍스트 프롬프트 |
size | string | No | 1024x1024 | 생성 이미지의 너비와 높이. 종횡비가 설정되면 무시됨 1024x10241365x10241024x13651536x10241024x15361820x10241024x18201024x20482048x10241434x10241024x14341024x12801280x10241024x17071707x1024 |
style | string | No | any | 생성 이미지의 스타일 (사실적인 사진 또는 디지털 일러스트 계열) anyrealistic_imagedigital_illustrationdigital_illustration/pixel_artdigital_illustration/hand_drawndigital_illustration/graindigital_illustration/infantile_sketchdigital_illustration/2d_art_posterdigital_illustration/handmade_3ddigital_illustration/hand_drawn_outlinedigital_illustration/engraving_colordigital_illustration/2d_art_poster_2realistic_image/b_and_wrealistic_image/hard_flashrealistic_image/hdrrealistic_image/natural_lightrealistic_image/studio_portraitrealistic_image/enterpriserealistic_image/motion_blur |
aspect_ratio | string | No | Not set | 생성 이미지의 종횡비. 설정 시 size보다 우선함 Not set1:14:33:43:22:316:99:161:22:17:55:74:55:43:55:3 |
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-v3",
"input": {
"prompt": "a wildlife photography photo of a red panda using a laptop in a snowy forest",
"size": "1365x1024",
"style": "any"
}
}'