Recraft V4를 기반으로 SVG 형식의 벡터 그래픽을 직접 생성합니다. 로고, 아이콘 등 어떤 크기에서도 선명함을 유지해야 하는 확장 가능한 일러스트에 적합합니다.
콘솔의 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-svg",
"input": {
"prompt": "A minimalist geometric logo mark for a fintech startup, single color, flat vector style, no gradients",
"aspect_ratio": "1:1"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
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-svg",
"input": {
"prompt": "A minimalist geometric logo mark for a fintech startup, single color, flat vector style, no gradients",
"aspect_ratio": "1:1"
}
}'더 큰 아이콘 세트에 포함될 라인 스타일 단일 아이콘 예시입니다.
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-svg",
"input": {
"prompt": "A simple line-art icon of a shopping cart, consistent 2px stroke, flat vector style",
"size": "1024x1024"
}
}'