1x, 2x, 4x, or 8x while keeping the original aspect ratio. Detail is restored generatively, and text regions are upscaled with a fidelity pass so the text is never rewritten.upscale_factor multiplies both width and height. 1 enhances quality at the same size (denoise, sharpen, preserve text) without changing dimensions.input width Γ input height Γ upscale_factorΒ² exceeds it, the request is rejected with 422 and no task is created or charged. Lower upscale_factor and retry| Input | upscale_factor | Output | Output MP |
|---|---|---|---|
| 1024Γ1024 | 1 | 1024Γ1024 | 1.05 |
| 1024Γ1024 | 2 (default) | 2048Γ2048 | 4.19 |
| 1024Γ1024 | 4 | 4096Γ4096 | 16.78 |
| 1024Γ1024 | 8 | 8192Γ8192 | 67.11 |
| 1646Γ1646 | 8 | β | 173 β 422 |
upscale_factor (exact integers, nothing is cropped)| Tier | Output total pixels |
|---|---|
| 2K | β€ 4.19 MP |
| 4K | β€ 16.78 MP |
| 8K | β€ 67.11 MP |
1 (same-size enhancement) is tiered by the input size. For current prices, see emix.ai/pricing.model=emix/image-upscale on the unified task endpoint.callBackUrl parameter so your service can receive completion notifications instead of polling for task status. Callbacks may be delivered more than once β deduplicate by taskId.curl --location 'https://api.emix.ai/api/v1/client/tasks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "emix/image-upscale",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"image_url": "https://static.aiquickdraw.com/tools/example/1794381136822_zlQCnA1z.jpg",
"upscale_factor": "2"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_emix_image_upscale_example"
}
}