ImageEditRequest constructor

ImageEditRequest({
  1. required Uint8List imageBytes,
  2. required String prompt,
  3. Uint8List? imageMaskBytes,
  4. ImageSize size = ImageSize.size256x256,
  5. int? n,
  6. ResponseFormat responseFormat = ResponseFormat.url,
  7. String? user,
  8. String model = "dall-e-2",
})

Implementation

ImageEditRequest({required this.imageBytes, required this.prompt, this.imageMaskBytes, this.size = ImageSize.size256x256, this.n, this.responseFormat = ResponseFormat.url, this.user, this.model = "dall-e-2"});