Recraft Clarity Upscale
Upscale and enhance image clarity using Recraft Clarity Upscale.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "recraft-clarity-upscale",
"version": "0.0.1",
"input": {
"image": "https://example.com/low-res-image.jpg"
}
}'
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
image |
string | Image to upscale |
Examples
Upscale an image:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "recraft-clarity-upscale",
"version": "0.0.1",
"input": {
"image": "https://example.com/low-res-image.jpg"
}
}'
Enhance photo quality:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "recraft-clarity-upscale",
"version": "0.0.1",
"input": {
"image": "https://example.com/photo-to-enhance.jpg"
}
}'