upScaleImagePng method
Create a higher resolution version of an input image.
This operation outputs an image with a maximum pixel count of 4,194,304. This is equivalent to dimensions such as 2048x2048 and 4096x1024. Returns the image bytes.
Implementation
Future<Uint8List> upScaleImagePng({
required String engineId,
required ImageUpScaleRequestParams params,
required Uint8List image,
String? apiKey,
String? organization,
String? clientId,
String? clientVersion,
}) async {
return _generationService.upScaleImagePng(
apiKey: apiKey ?? _apiKey,
engineId: engineId,
params: params,
image: image,
organization: organization,
clientId: clientId,
clientVersion: clientVersion);
}