Skip to main content
Back to API Platform

Clarity Pro API

Clarity Pro Upscaler via Replicate. Photorealistic upscaling with identity preservation and creative control — up to 16× and 64 megapixels. Integrate this model via REST with endpoint docs, parameters, and code examples.

Image Generation
Img2Img
Credit Cost
4 credits
Type
Image

API Endpoint

POST
/api/v1/models/clarity-pro-upscaler/run

Test This Model

Run a real request through the API pipeline and inspect the exact input and output your integration will handle. Uses your credits like any API call; failed runs are refunded automatically.

Parameters

Input parameters accepted by this model

ParameterTypeDefault
image
required
url
-
scale_factor
integer
2
creativity
number
0
output_format
string
png

Example Outputs

Real outputs generated by this model

View Details

4 credits
108.3s

Code Examples

Upscale 2x — copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/clarity-pro-upscaler/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://...",
    "scale_factor": 2
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 4,
  "creditsRemaining": 95,
  "expiresAt": "2026-07-24T11:20:59Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 4,
  "expiresAt": "2026-07-24T11:20:59Z"
}