generateImageBase64WithMask method

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

Selectively modify portions of an image using a mask

Implementation

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