generateImagePngFromImage method
Modify an image based on a text prompt and returns the image PNG bytes.
Implementation
Future<Uint8List> generateImagePngFromImage({
required String engineId,
required ImageToImageRequestParams params,
required Uint8List initImage,
String? apiKey,
String? organization,
String? clientId,
String? clientVersion,
}) async {
return _generationService.generateImagePngFromImage(
apiKey: apiKey ?? _apiKey,
engineId: engineId,
params: params,
initImage: initImage,
organization: organization,
clientId: clientId,
clientVersion: clientVersion);
}