Recraft - Image Upscaler
Enhance your images with Recraft's professional upscaling technology. This tool allows you to increase image resolution while choosing between high-fidelity preservation and creative enhancement, making it ideal for both photos and illustrations.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_UPSCALER |
model | string | Yes | AI model identifier. Must be recraft |
promptObject | object | Yes | Configuration object containing parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the image to be upscaled | - |
upscale_type | string | No | The mode of upscaling (crisp or creative) | crisp |
Upscale Modes
| Mode | Description | Best For |
|---|---|---|
crisp | Focuses on maintaining original details and sharpness | Technical illustrations, logos, and high-fidelity photos |
creative | Adds subtle creative enhancements while upscaling | Artistic illustrations and stylized photography |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_UPSCALER",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"upscale_type": "crisp"
}
}'
const body = JSON.stringify({
type: 'IMAGE_UPSCALER',
model: 'recraft',
promptObject: {
imageUrl: 'images/2026_01_07_09_33_18_380_room.png',
upscale_type: 'crisp'
}
});
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: body
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"type": "IMAGE_UPSCALER",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"upscale_type": "crisp"
}
}
response = requests.post(url, headers=headers, json=payload)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresPath to the image file to be upscaled
Choose between crisp and creative upscaling
Generated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_UPSCALER",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"upscale_type": "crisp"
}
}'
Response Format
{
"aiRecord": {
"uuid": "r1e2c3r4-a5f6-7890-abcd-ef1234567895",
"userId": "user-12345",
"teamId": "team-67890",
"teamUser": {
"teamId": "team-67890",
"userId": "user-12345",
"userName": "John Doe",
"userAvatar": "https://example.com/avatar.jpg",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 50000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2026-01-02T13:13:31.000Z",
"updatedBy": "SYSTEM"
},
"model": "recraft",
"type": "IMAGE_UPSCALER",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2026-01-02T13:13:31.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png",
"upscale_type": "crisp"
},
"resultObject": [
"images/2026_01_02_13_13_31_002_upscaled_image.png"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/images/2026_01_02_13_13_31_002_upscaled_image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=EXAMPLE_CREDENTIAL&X-Amz-Date=20260102T131331Z&X-Amz-Expires=604800&X-Amz-Signature=example_signature&X-Amz-SignedHeaders=host&x-id=GetObject"
}
}
Use Cases
Print Preparation
- High-Res Printing: Upscale small assets for professional printing needs.
- Large Format: Prepare graphics for banners or billboards.
Digital Enhancement
- Web Scaling: Improve the quality of low-resolution web assets.
- Illustration Cleanup: Sharpen and enhance digital illustrations for high-definition displays.
Notes
crispmode is recommended for most technical and commercial applications.creativemode can add interesting artistic touches but might slightly deviate from the original details.- Credit costs vary based on the selected mode.