# Image Upscaler > AI model for generating image content ## Overview - **Model ID**: `ultra_resolution` - **Category**: image - **Provider**: modelslab - **Status**: under_review - **Screenshot**: `https://assets.modelslab.com/generations/936c8a26-5619-4289-b21f-9fd986081d83.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/image_editing/super_resolution` - **Method**: POST ### Parameters - **`init_image`** (required): Initial Image - Type: file ("image/jpeg,image/png") - Example: Enter Url - **`scale`** (optional): A number for upscaling the image - Type: number (range: 1-4) - Example: Enter number - **`model_id`** (optional): Model id of upscale - Type: select (options: ultra_resolution, RealESRGAN_x4plus , RealESRGAN_x4plus_anime_6B, realesr-general-x4v3 ) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/image_editing/super_resolution \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "ultra_resolution", "init_image": "https://assets.modelslab.com/generations/dbb83c34-72b7-4965-886b-52b8dbbb1f4b", "scale": "3" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/image_editing/super_resolution", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "ultra_resolution", "init_image": "https://assets.modelslab.com/generations/dbb83c34-72b7-4965-886b-52b8dbbb1f4b", "scale": "3" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/image_editing/super_resolution", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "ultra_resolution", "init_image": "https://assets.modelslab.com/generations/dbb83c34-72b7-4965-886b-52b8dbbb1f4b", "scale": "3" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/image-upscaler/ultra_resolution) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)