ImageCreateRequest constructor

ImageCreateRequest({
  1. required String prompt,
  2. ImageSize size = ImageSize.size256x256,
  3. int? n,
  4. ImageQuality? quality,
  5. ResponseFormat responseFormat = ResponseFormat.url,
  6. String? user,
  7. String model = "dall-e-2",
  8. ImageStyle? style,
})

Implementation

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