Clarity Upscaler
clarity-ai/clarity-upscalerClarity Upscaler by ClarityAI - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.
- Base price
- $0.03 / run
- Execution
- async
- Model type
- image
- Input fields
- 8
Try the model
Playground
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Your output will appear here
Complete the inputs, then click Run.
Specifications
Pricing
- Base price
- $0.03 / run
Context & modalities
- Input
- Schema-defined
- Output
- image
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- ClarityAI
- Model ID
- clarity-ai/clarity-upscaler
- Execution
- async
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Clarity Upscaler
clarity-ai/clarity-upscaler enhances a low-resolution or soft image into a cleaner, more detailed result intended for larger displays and closer inspection. Its restoration process aims to reconstruct plausible texture and edge definition while retaining the source image's overall structure, subject, and visual character. This combination makes the model a practical choice when the creative outcome depends on those qualities rather than on a generic media conversion.
For production work, The model is suited to photographs, generated artwork, product imagery, and older web assets that need a more polished master without redesigning the composition. The result is most reliable when the source material and creative brief clearly describe the intended subject, progression, visual or sonic character, and the qualities that must remain unchanged.
Highlights
Detail reconstruction restores fine surface information lost in small or compressed sources.
Structure preservation maintains the original composition and recognizable subject.
Artifact cleanup reduces softness and compression-related degradation during enlargement.
High-resolution finishing prepares existing imagery for larger placements and crops.
Pricing
| Billing unit | Price |
|---|---|
| Per request | $0.03 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
Prompt Guide
For image-conditioned generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"image": "https://static.sandbase.ai/examples/bytedance/seedvr/upscale/image/input_image_0.png",
"prompt": "masterpiece, best quality, highres"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | clarity-ai/clarity-upscaler |
| Inputs | creativity, guidance_scale, image, num_inference_steps, prompt, resemblance, seed, upscale_factor |
| Required inputs | prompt, image |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |
Related Models
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# Preserve Unicode and shell metacharacters in the request body.
result=$(printf '%s' 'ewogICJtb2RlbCI6ICJjbGFyaXR5LWFpL2NsYXJpdHktdXBzY2FsZXIiLAogICJpbWFnZSI6ICJodHRwczovL3N0YXRpYy5zYW5kYmFzZS5haS9leGFtcGxlcy9ieXRlZGFuY2Uvc2VlZHZyL3Vwc2NhbGUvaW1hZ2UvaW5wdXRfaW1hZ2VfMC5wbmciLAogICJwcm9tcHQiOiAibWFzdGVycGllY2UsIGJlc3QgcXVhbGl0eSwgaGlnaHJlcyIsCiAgImNyZWF0aXZpdHkiOiAwLjM1LAogICJyZXNlbWJsYW5jZSI6IDAuNiwKICAiZ3VpZGFuY2Vfc2NhbGUiOiA0LAogICJ1cHNjYWxlX2ZhY3RvciI6IDIsCiAgIm51bV9pbmZlcmVuY2Vfc3RlcHMiOiAxOAp9' \
| base64 --decode \
| curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @-)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Choose your model
Compare models
| Model | Context | Input / 1M | Output / 1M | Released |
|---|---|---|---|---|
Clarity UpscalerThis model ClarityAI | — | — | — | Feb 4, 2024 |
