⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v6/image_editing/super_resolution \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"init_image": "<string>",
"model_id": "realesr-general-x4v3",
"scale": 3,
"face_enhance": false,
"webhook": "<string>",
"track_id": 123
}
'{
"status": "success",
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {}
}Super Resolution API returns a super resolution version of the image.
curl --request POST \
--url https://modelslab.com/api/v6/image_editing/super_resolution \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"init_image": "<string>",
"model_id": "realesr-general-x4v3",
"scale": 3,
"face_enhance": false,
"webhook": "<string>",
"track_id": 123
}
'{
"status": "success",
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.

POST request to below endpoint to return the corresponding super resolution image of the image passed.
--request POST 'https://modelslab.com/api/v6/image_editing/super_resolution' \
| Model ID | Description |
|---|---|
| RealESRGAN_x4plus | 4x upscaling model |
| RealESRGAN_x4plus | 4x upscaling model |
| RealESRGAN_x4plus_anime_6B | 4x Anime upscaling model |
| RealESRGAN_x2plus | 2x upscaling model |
| realesr-general-x4v3 | 4x upscaling general model |
| ultra_resolution | 4K+ upscaling general model |
{
"key": "your_api_key",
"init_image": "https://i.pinimg.com/564x/fc/8e/6a/fc8e6a075f341284b0f44bf1592f9f3c.jpg",
"face_enhance": false,
"scale": 3,
"webhook": null,
"track_id": null
}
Your API Key used for request authorization
The URL of the image that you want to upscale
RealESRGAN_x4plus, RealESRGAN_x4plus_anime_6B, RealESRGAN_x2plus, realesr-general-x4v3, ultra_resolution A number for scaling the image
A boolean flag for face enhancement feature
URL to receive POST API call when complete
ID for webhook identification
Super resolution response
success Time taken to generate the image in seconds
Unique identifier for the generation request
Array of generated image URLs
Array of proxy image URLs
Metadata about the generation process
Was this page helpful?