Image Upscaler
POST /api/v1/image-upscaler/submit
imageURL is required and scale is required.
Required inputs
imageURLstring- URL of the source image.
scalenumber- Upscale factor.
Edit the sample inputs for your own task before submitting.
# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/image-upscaler/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
-H "Content-Type: application/json" \
-d '{"imageURL":"https://vidmage.ai/assets/images/samples/blue-eyed-woman-sunlight.webp","scale":2}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }Parameters and input rules2 fields
| Field | Type | Required | Default | Meaning and limits |
|---|---|---|---|---|
imageURL | string | Yes | Not specified | URL of the source image. No additional field constraint listed. |
scale | number | Yes | Not specified | Upscale factor. Values: 2, 4 · Whole numbers only |
Retrieve the result
Save taskId from the accepted submission and send it to this endpoint:
POST /api/v1/image-upscaler/query
Use the same Bearer API key. On completion, read the imageUrl result field.
curl -X POST "https://vidmage.ai/api/v1/image-upscaler/query" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "taskId": "TASK_ID_FROM_SUBMIT" }'
# -> { "success": true, "data": { "status": "...", "imageUrl": "https://..." } }
