Sakuranbo AI · 영상
텍스트나 이미지로 2~30초, 1080p·2K·4K의 오디오 포함 영상을 생성.
- 텍스트-영상
- 이미지-영상
- 참조 이미지-영상
- 2~30초
- 1080p / 2K / 4K
- 화면비 6종
- 오디오 포함
최대 2K 해상도의 고품질 텍스트-이미지 생성과 참조 이미지 기반 편집.
Sakuranbo AI ·
대시보드의 Playground가 열립니다.
Sakuranbo AI는 프리뷰 단계입니다.
CherryImage 1.0 Pro는 최대 5,000자의 프롬프트로 이미지를 생성하고, 1~10장의 참조 이미지로 이미지를 편집합니다. 1K, 1.5K, 2K 출력과 화면비를 선택할 수 있으며, 가격은 해상도별 장당 요금입니다.
sakuranbo/cherryimage-1.0-pro모델 ID sakuranbo/cherryimage-1.0-pro로 이 모델을 호출합니다.
POST /v1/estimate는 JSON 본문({ model, input })을 받아 실행 전에 그 입력의 가격을 반환합니다. 이 엔드포인트에는 API 키가 필요하지 않습니다.
curl -X POST "https://api.sakuranbo.ai/v1/estimate" \
-H "Content-Type: application/json" \
-d '{
"model": "sakuranbo/cherryimage-1.0-pro",
"input": {
"prompt": "A matte ceramic coffee mug on a walnut desk, soft morning light, shallow depth of field",
"resolution": "2k",
"aspect_ratio": "4:3"
}
}'const response = await fetch("https://api.sakuranbo.ai/v1/estimate", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "sakuranbo/cherryimage-1.0-pro",
"input": {
"prompt": "A matte ceramic coffee mug on a walnut desk, soft morning light, shallow depth of field",
"resolution": "2k",
"aspect_ratio": "4:3"
}
}),
});
const data = await response.json();
console.log(data);import requests
response = requests.post(
"https://api.sakuranbo.ai/v1/estimate",
json={
"model": "sakuranbo/cherryimage-1.0-pro",
"input": {
"prompt": "A matte ceramic coffee mug on a walnut desk, soft morning light, shallow depth of field",
"resolution": "2k",
"aspect_ratio": "4:3",
},
},
)
print(response.json())생성 요청은 /v1/images/generations로 보냅니다. 아래 요청은 이 모델의 카탈로그에 있는 입력 예시를 사용합니다.
모델 목록·조회와 비용 계산에는 API 키가 필요하지 않습니다. 생성 요청에는 API 키가 필요합니다: Authorization: Bearer YOUR_API_KEY
curl -X POST "https://api.sakuranbo.ai/v1/images/generations" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $SAKURANBO_API_KEY" \
-d '{
"model": "sakuranbo/cherryimage-1.0-pro",
"prompt": "A matte ceramic coffee mug on a walnut desk, soft morning light, shallow depth of field",
"resolution": "2k",
"aspect_ratio": "4:3"
}'const response = await fetch("https://api.sakuranbo.ai/v1/images/generations", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.SAKURANBO_API_KEY}`,
},
body: JSON.stringify({
"model": "sakuranbo/cherryimage-1.0-pro",
"prompt": "A matte ceramic coffee mug on a walnut desk, soft morning light, shallow depth of field",
"resolution": "2k",
"aspect_ratio": "4:3"
}),
});
const data = await response.json();
console.log(data);import os
import requests
response = requests.post(
"https://api.sakuranbo.ai/v1/images/generations",
headers={
"Authorization": f"Bearer {os.environ['SAKURANBO_API_KEY']}",
},
json={
"model": "sakuranbo/cherryimage-1.0-pro",
"prompt": "A matte ceramic coffee mug on a walnut desk, soft morning light, shallow depth of field",
"resolution": "2k",
"aspect_ratio": "4:3",
},
)
print(response.json())이 모델의 요청 필드입니다.
| 이름 | 타입 | 필수 | 기본값 | 제약 | 설명 |
|---|---|---|---|---|---|
prompt | string | 예 | 최대 5,000자 | 생성할 이미지 또는 적용할 편집에 대한 설명. | |
images | url[] | 아니요 | 최대 10개 | 편집에 사용할 참조 이미지(1~10장). /v1/images/edits에서는 필수입니다. | |
resolution | enum | 아니요 | 2k | 다음 중 하나: 1k, 1.5k, 2k | 출력 해상도. 장당 가격이 결정됩니다. |
n | integer | 아니요 | 1 | 1~100 | 생성할 이미지 수(1~100). 가격은 장당 가격에 이 값을 곱한 금액입니다. |
aspect_ratio | enum | 아니요 | auto | 다음 중 하나: auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9 | 출력 이미지의 화면비. |
output_format | enum | 아니요 | jpeg | 다음 중 하나: jpeg, png | 이미지 파일 형식. |
가격은 USD 기준이며 당사의 마진을 포함합니다. 실패하거나 취소되거나 만료되거나 콘텐츠 정책으로 거부된 실행에는 요금이 청구되지 않습니다. 채팅에서는 모델이 출력(추론 출력 포함)을 생성하기 시작한 뒤에는 스트림이 끊기거나 연결을 닫아도 생성된 출력이 과금됩니다.
| 항목 | 단위 | 조건 | 가격 |
|---|---|---|---|
| 출력 이미지 | 이미지 1장당 | resolution: 1k | $0.045 |
| 출력 이미지 | 이미지 1장당 | resolution: 1.5k | $0.05 |
| 출력 이미지 | 이미지 1장당 | resolution: 2k | $0.09 |
예시는 표시된 가격으로 계산했습니다. 최종 청구액은 서버가 실제 사용량으로 계산합니다.
| 예시 | 합계 |
|---|---|
| 1K 이미지 1장 | $0.045 |
| 1.5K 이미지 1장 | $0.05 |
| 2K 이미지 1장 | $0.09 |
| 2K 이미지 100장 | $9.00 |
기본 설정 1회: $0.09 (1장, 2K)
입력 필드의 JSON Schema이며 카탈로그에서 생성했습니다.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"prompt": {
"type": "string",
"maxLength": 5000,
"description": "생성할 이미지 또는 적용할 편집에 대한 설명."
},
"images": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 10,
"description": "편집에 사용할 참조 이미지(1~10장). /v1/images/edits에서는 필수입니다."
},
"resolution": {
"type": "string",
"enum": [
"1k",
"1.5k",
"2k"
],
"default": "2k",
"description": "출력 해상도. 장당 가격이 결정됩니다."
},
"n": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 1,
"description": "생성할 이미지 수(1~100). 가격은 장당 가격에 이 값을 곱한 금액입니다."
},
"aspect_ratio": {
"type": "string",
"enum": [
"auto",
"1:1",
"4:3",
"3:4",
"16:9",
"9:16",
"3:2",
"2:3",
"21:9"
],
"default": "auto",
"description": "출력 이미지의 화면비."
},
"output_format": {
"type": "string",
"enum": [
"jpeg",
"png"
],
"default": "jpeg",
"description": "이미지 파일 형식."
}
},
"required": [
"prompt"
]
}