ClarityAI Creative
ClarityAI/creative
Clarity AIImage → imageREST
Price$0.055 /image
EndpointPOST /v2/image/clarity/upscale REST


Quick start
Send a JSON request to the endpoint below; the response carries the result.
curl -X POST https://api.widelabs.tr/v2/image/clarity/upscale \ -H "Authorization: Bearer $WIDELABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "image_url": "https://api.widelabs.tr/cdn/content/DtrE44sL6gRRSqtR6zlH5w", "model": "ClarityAI/creative" }'
import os
import requests
resp = requests.post(
"https://api.widelabs.tr/v2/image/clarity/upscale",
headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
json={
"image_url": "https://api.widelabs.tr/cdn/content/DtrE44sL6gRRSqtR6zlH5w",
"model": "ClarityAI/creative"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.widelabs.tr/v2/image/clarity/upscale", { method: "POST", headers: { Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ image_url: "https://api.widelabs.tr/cdn/content/DtrE44sL6gRRSqtR6zlH5w", model: "ClarityAI/creative" }), }); console.log(await resp.json());
Parameters
| Name | Type | Description |
|---|---|---|
store_output | "provider" | "wl1d" | "wl7d" | "wl30d" default "provider" | Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,… |
model | string default "ClarityAI/crystal" | Upscaler. Available: 'ClarityAI/crystal' (default; faithful, strongest on portraits, faces and products), 'ClarityAI/flux' (face preservation, optional LoRA), 'ClarityAI/creative' (adds new realistic detail). |
image_url | string | URL of the input image. Exactly one of `image_url` / `image_b64`. |
image_b64 | string | Base64-encoded input image, raw or as a data URI. Exactly one of `image_url` / `image_b64`. |
scale_factor | integer | Upscale factor. flux and creative: 2-16 (default 2); crystal: 1-200 (default 2), mutually exclusive with `target_megapixels`. Every factor costs the same. |
target_megapixels | number | crystal only: output size in megapixels (0.001-200), mutually exclusive with `scale_factor`; neither means 2x. |
creativity | integer | How much new detail the model may invent. flux and creative: -10..10; crystal: 0..10. Default 0. |
resemblance | integer | creative only: how closely the output follows the input (-10..10, default 0). |
dynamic | integer | creative only: contrast / dynamic range of the added detail (-10..10, default 0). |
fractality | integer | creative only: strength of fine, repeating texture detail (-10..10, default 0). |
style | "default" | "portrait" | "anime" | creative only: style preset (default `default`). |
prompt | string | flux and creative: optional text prompt guiding the upscale. Forwarded as sent. |
lora_link | string | flux only: URL of a custom FLUX LoRA (.safetensors) to apply a style or identity. Forwarded as sent. |
output_format | "jpg" | "png" | crystal only: output image format (default `jpg`). |
webhook_url | string | HTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification. |
Related
Similar models
Clarity AI
ClarityAI Flux
ClarityAI/flux
Image → image
Price$0.22
per image
Clarity AI
ClarityAI Crystal
ClarityAI/crystal
Image → image
Price$0.055
per image
GoogleNew
Gemini Nano Banana 2.1
google/gemini-nano-banana-2.1
Text → image
From$0.034
per image
OpenAI
GPT Image 2
openai/gpt-image-2
Text → image
From$0.15
per image
Start building on Wide Labs Compute
Create an account, add credit and send your first request with the SDK you already use.