얼굴 사진을 귀여운 다이컷 스티커로 변환합니다 (160만+ 실행). InstantID가 얼굴 유사도를 지키고 IP-Adapter 컨트롤로 충실한 캐리커처부터 자유로운 카툰까지 표현 — 인쇄 품질을 위한 2배 업스케일 옵션도 지원합니다.
콘솔의 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": "fofr/face-to-sticker",
"input": {
"image": "https://example.com/face.webp",
"prompt": "arnold",
"prompt_strength": 4.5,
"instant_id_strength": 0.7,
"ip_adapter_weight": 0.2,
"upscale": false
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | No | a person | 스티커가 표현할 내용 (캐릭터, 의상, 테마) |
image | string | No | - | 스티커로 변환할 인물 이미지 |
negative_prompt | string | No | - | 이미지에 나타나지 않았으면 하는 요소 |
width | integer | No | 1024 | 출력 가로 픽셀 |
height | integer | No | 1024 | 출력 세로 픽셀 |
steps | integer | No | 20 | 스텝 수 |
seed | integer | No | - | 재현성을 위한 시드 고정 |
prompt_strength | number | No | 7 | CFG 스케일 — 높으면 프롬프트를 강하게 따르고, 낮으면 원본 얼굴을 더 유지 |
instant_id_strength | number | No | 1 | InstantID 얼굴 유사도 강도 (0-1) |
ip_adapter_weight | number | No | 0.2 | IP 어댑터(입력 이미지)가 결과에 미치는 영향 (0-1) |
ip_adapter_noise | number | No | 0.5 | IP adapter 입력에 추가되는 노이즈 양 |
upscale | boolean | No | false | 스티커 2배 업스케일 (비용이 56크레딧으로 2배) |
upscale_steps | integer | No | 10 | 업스케일 스텝 수 |
이 모델의 image 파라미터에 파일을 전달하는 방법은 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=fofr/face-to-sticker" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "fofr/face-to-sticker",
"input": {
"prompt": "your prompt here",
"image": "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": "fofr/face-to-sticker",
"input": {
"image": "https://example.com/face.webp",
"prompt": "arnold",
"prompt_strength": 4.5,
"instant_id_strength": 0.7,
"ip_adapter_weight": 0.2,
"upscale": false
}
}'굿즈 인쇄를 위한 2배 업스케일 (56크레딧)
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fofr/face-to-sticker",
"input": {
"image": "https://example.com/face.jpg",
"prompt": "a person, astronaut helmet, cute cartoon style",
"upscale": true,
"upscale_steps": 10
}
}'