upScaleImageBase64 method

Future<List<ImageResponse>> upScaleImageBase64({
  1. required String engineId,
  2. required ImageUpScaleRequestParams params,
  3. required Uint8List image,
  4. String? apiKey,
  5. String? organization,
  6. String? clientId,
  7. String? clientVersion,
})

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.

Implementation

Future<List<ImageResponse>> upScaleImageBase64({
  required String engineId,
  required ImageUpScaleRequestParams params,
  required Uint8List image,
  String? apiKey,
  String? organization,
  String? clientId,
  String? clientVersion,
}) async {
  return _generationService.upScaleImageBase64(
      apiKey: apiKey ?? _apiKey,
      engineId: engineId,
      params: params,
      image: image,
      organization: organization,
      clientId: clientId,
      clientVersion: clientVersion);
}