CherryImage 1.0 Pro
High-fidelity text-to-image and reference-based image editing up to 2K resolution.
Request
Text description of the image to generate or the edit to apply.0 / 5,000
Reference images for editing (1 to 10). Required on /v1/images/edits.Enter a URL, or upload a PNG, JPEG, WebP, or GIF image up to 10 MiB. Images over 720 KiB are resized to JPEG.Up to 10
Output resolution. Determines the per-image price.Default: 2k
Number of images to generate (1 to 100). The price is the per-image price times this value.1 to 100 · Default: 1
Aspect ratio of the output image.Default: auto
Image file format.Default: jpeg
Code
curl -X POST "https://api.sakuranbo.ai/v1/images/generations" \
-H "Authorization: Bearer $SAKURANBO_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "sakuranbo/cherryimage-1.0-pro",
"resolution": "2k",
"n": 1,
"aspect_ratio": "auto",
"output_format": "jpeg"
}
JSON- Set your API key in the SAKURANBO_API_KEY environment variable.
- Requests go to https://api.sakuranbo.ai/v1/images/generations.
Estimated cost
Estimated total $0.09
Estimated total
$0.09
| Item | Quantity | Unit price | Amount |
|---|---|---|---|
| Output image · 2k | 1 image | $0.09 / image | $0.09 |
Assumptions
- Failed, cancelled, expired, and policy-rejected generations are not billed, except in the rare case where it cannot be confirmed that the request reached the model provider. The reserved amount then stays reserved until it is confirmed whether the request is billed.
This estimate is calculated in your browser from catalog prices. The final charge is calculated by the server.
Sign-in is not available in this environment, so requests cannot be run here.
Model details
- Resolutions
- 1k, 1.5k, 2k
- Aspect ratios
- auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9
- Streaming
- No
- Asynchronous job
- Yes
- Output retention
- 7 days
- Prompts stored
- No
- Tags
- text-to-image
- image-editing
- 2k
Estimated total
$0.09
Sign-in is not available in this environment, so requests cannot be run here.