스케치→이미지의 클래식입니다 (3,800만+ 실행). 낙서나 선화를 프롬프트에 맞는 정교한 이미지로 바꿉니다. 구도는 그림으로, 내용은 텍스트로 지시하세요.
콘솔의 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": "jagilley/controlnet-scribble",
"input": {
"image": "https://example.com/house-sketch.png",
"prompt": "a cozy cottage in a forest, warm sunset light, storybook illustration",
"image_resolution": "512"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 최종 이미지에 대한 설명 |
image | string | Yes | - | 낙서/선화 입력 이미지 |
num_samples | string | No | 1 | 생성 수 ('1' 또는 '4'). '4'는 4배 과금 14 |
image_resolution | string | No | 512 | 출력 해상도 256512768 |
ddim_steps | integer | No | 20 | 디노이징 스텝 |
scale | number | No | 9 | 프롬프트 가이던스 (0.1-30) |
seed | integer | No | - | 시드 |
eta | number | No | 0 | eta (DDIM) |
a_prompt | string | No | best quality, extremely detailed | 품질 보강 프롬프트 |
n_prompt | string | No | longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality | 네거티브 프롬프트 |
이 모델의 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=jagilley/controlnet-scribble" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "jagilley/controlnet-scribble",
"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": "jagilley/controlnet-scribble",
"input": {
"image": "https://example.com/house-sketch.png",
"prompt": "a cozy cottage in a forest, warm sunset light, storybook illustration",
"image_resolution": "512"
}
}'