상업적으로 안전한 Bria의 이미지 업스케일러입니다 (13만+ 실행). 라이선스 데이터만으로 학습된 모델로 해상도를 2배 또는 4배 확대하며 알파(투명) 채널을 보존합니다. 법적 책임 보장이 필요한 기업 파이프라인을 위해 설계되었습니다.
콘솔의 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": "bria/increase-resolution",
"input": {
"image": "https://example.com/logo.png",
"desired_increase": 4,
"preserve_alpha": true
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
image | string | No | - | 업스케일할 입력 이미지 파일 (image_url과 둘 중 하나 사용) |
image_url | string | No | - | 입력 이미지 URL (image 대신 사용 가능) |
desired_increase | integer | No | 2 | 해상도 배율: 2 또는 4 24 |
preserve_alpha | boolean | No | true | 입력 이미지의 알파(투명) 채널 보존 |
sync | boolean | No | true | 동기 응답 모드 |
content_moderation | boolean | No | false | 입력 이미지에 콘텐츠 모더레이션 실행 |
이 모델의 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=bria/increase-resolution" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "bria/increase-resolution",
"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로도 제공 |
알파 채널을 유지한 4배 확대
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "bria/increase-resolution",
"input": {
"image": "https://example.com/logo.png",
"desired_increase": 4,
"preserve_alpha": true
}
}'상품 이미지의 표준 2배 향상
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "bria/increase-resolution",
"input": {
"image_url": "https://example.com/product.jpg",
"desired_increase": 2
}
}'