Method signature
Parameters
The image data in base64-encoded string format. You need to encode your image file to base64 before passing it to this method
Returns
The upscaled image data in bytes format, decoded from base64data. The output image will be 4x the resolution of the input image. You can save this to a file or process it further
Example
Notes
- The image_data parameter must be a base64-encoded string
- The method returns upscaled image data in bytes format, which is automatically decoded from the base64data response
- The output image will be 4x the resolution of your input image (2x width and 2x height)
- Supported image formats include JPEG, PNG, and other common image formats
- Make sure to encode your image file to base64 before passing it to this method
- Processing time may vary depending on the size of the input image