Image Upscale API
activeAI image upscaling — enhance image resolution up to 4x while preserving detail and sharpness.
Quick Start
Send a request to the Image Upscale API:
| 1 | curl -X POST https://apiin.one/api/v1/images/tools/upscale \ |
| 2 | -H "Authorization: Bearer YOUR_API_KEY" \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -d '{ |
| 5 | "model": "image-upscale", |
| 6 | "image": "https://example.com/low-res-photo.jpg" |
| 7 | }' |
API Endpoint
/api/v1/images/tools/upscaleSend a POST request with your API key to generate content using Image Upscale.
Headers
Bearer YOUR_API_KEY
application/json
Body Parameters
Model identifier: image-upscale
URL of the image to upscale
Example Request
| 1 | { |
| 2 | "model": "image-upscale", |
| 3 | "image": "https://example.com/low-res-photo.jpg" |
| 4 | } |
Example Response
Successful task creation response.
| 1 | { |
| 2 | "code": 200, |
| 3 | "message": "success", |
| 4 | "data": { |
| 5 | "task_id": "n32xxxx_upscale", |
| 6 | "status": "IN_PROGRESS" |
| 7 | } |
| 8 | } |
Check Task Status
For asynchronous tasks, poll the status endpoint to check when your task is complete:
/api/v1/tasks/{task_id}Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
| 1 | curl https://apiin.one/api/v1/tasks/task_abc123 \ |
| 2 | -H "Authorization: Bearer aio_your_key" |
Use Cases
- ✓Enhance low-resolution product images for e-commerce
- ✓Upscale social media images for print quality
- ✓Build image enhancement features into apps
- ✓Restore and enhance vintage or compressed photos
API Tester
Test the Image Upscale API directly from your browser:
Error Codes
| 1 | { |
| 2 | "error": { |
| 3 | "code": 400, |
| 4 | "message": "Invalid parameters", |
| 5 | "type": "invalid_request" |
| 6 | } |
| 7 | } |
Frequently Asked Questions
How much does Image Upscale cost?
Each upscale costs only 1 credit (~$0.002). Extremely affordable for batch processing.
How does the upscale work?
The AI uses the Crisp Upscale model to enhance resolution while preserving fine details and sharpness.
Why Use Image Upscale Through API in One?
Ready to use Image Upscale?
Get Your API Key →