generateImagePngWithMask method
Selectively modify portions of an image using a mask Returns the bytes of the image PNG
Implementation
Future<Uint8List> generateImagePngWithMask({
required String engineId,
required ImageMaskingRequestParam params,
required Uint8List initImage,
String? apiKey,
String? organization,
String? clientId,
String? clientVersion,
}) async {
return _generationService.generateImagePngWithMask(
apiKey: apiKey ?? _apiKey,
engineId: engineId,
params: params,
initImage: initImage,
organization: organization,
clientId: clientId,
clientVersion: clientVersion);
}