generateImageBase64FromImage method

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

Modify an image based on a text prompt

Implementation

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