Skip to main content
POST
/
api
/
v3
/
image-upscaler
image-upscaler (submit task)
curl --request POST \
  --url https://api.example.com/api/v3/image-upscaler
Gptproto’s GPTProto format for the submit task API.
curl -X POST "https://gptproto.com/api/v3/gptproto/image-upscaler" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "image": "https://oss.heyoos.com/ai-draw/user/-ead3cec3-de6b-4ed5-b38c-4d8707731686.png",
  "creativity": 0,
  "target_resolution": "2k",
  "output_format": "jpeg",
  "enable_base64_output": false,
  "enable_sync_mode": false
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
imagestring❌ Nohttps://oss.heyoos.com/ai-draw/user/-ead3cec3-de6b-4ed5-b38c-4d8707731686.pngImage parameter
creativityinteger❌ No0Creativity parameter
target_resolutionstring❌ No2kTarget Resolution parameter
output_formatstring❌ NojpegOutput Format parameter
enable_base64_outputboolean❌ NofalseEnable Base64 Output parameter
enable_sync_modeboolean❌ NofalseEnable Sync Mode parameter