VolcEngine Image Upscaling
curl --request POST \
--url https://api.omnimux.ai/v1/images/edits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "volc-image-upscale",
"image": "https://example.com/sample.png"
}
'import requests
url = "https://api.omnimux.ai/v1/images/edits"
payload = {
"model": "volc-image-upscale",
"image": "https://example.com/sample.png"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({model: 'volc-image-upscale', image: 'https://example.com/sample.png'})
};
fetch('https://api.omnimux.ai/v1/images/edits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.omnimux.ai/v1/images/edits"
payload := strings.NewReader("{\n \"model\": \"volc-image-upscale\",\n \"image\": \"https://example.com/sample.png\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"created": 1727740800,
"data": [
{
"url": "https://visual.volcengine.com/upscaled_result_2x.png"
}
]
}VolcEngine
VolcEngine Image Upscaling
Upscale one existing image to twice its width and height. No prompt is required.
POST
/
v1
/
images
/
edits
VolcEngine Image Upscaling
curl --request POST \
--url https://api.omnimux.ai/v1/images/edits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "volc-image-upscale",
"image": "https://example.com/sample.png"
}
'import requests
url = "https://api.omnimux.ai/v1/images/edits"
payload = {
"model": "volc-image-upscale",
"image": "https://example.com/sample.png"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({model: 'volc-image-upscale', image: 'https://example.com/sample.png'})
};
fetch('https://api.omnimux.ai/v1/images/edits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.omnimux.ai/v1/images/edits"
payload := strings.NewReader("{\n \"model\": \"volc-image-upscale\",\n \"image\": \"https://example.com/sample.png\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"created": 1727740800,
"data": [
{
"url": "https://visual.volcengine.com/upscaled_result_2x.png"
}
]
}Upscale one existing image to twice its width and height. No prompt is required. API access only.
Specifications
| Item | Specification |
|---|---|
| Model ID | volc-image-upscale |
| Input Source | Provide one public HTTPS image URL that is accessible without authentication. The OmniMux API request still requires authentication. |
| Supported Formats | Supported image formats: JPG, JPEG, PNG, BMP. |
| File Size | File size must not exceed 5 MB. |
| Input Dimensions | Input width must be 50 to 2128 pixels and height 50 to 4064 pixels, inclusive. |
| Magnification | Only fixed 2x upscaling is supported. Text-to-image generation, masks, multiple images, and custom output sizes are not supported. |
| Result Validity | Upstream result URLs are valid for 24 hours and are not permanent. |
Billing Details
- Official Baseline: 0.006 CNY / call.
- Billing Mode: Fixed per-call billing (UsePrice).
- Refund Protection: Upstream errors, timeouts, or empty image outputs trigger an immediate 100% refund of the reserved quota.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Model identifier, fixed to volc-image-upscale
Available options:
volc-image-upscale Provide one public HTTPS image URL that is accessible without authentication. The OmniMux API request still requires authentication. Supported image formats: JPG, JPEG, PNG, BMP. File size must not exceed 5 MB. Input width must be 50 to 2128 pixels and height 50 to 4064 pixels, inclusive.