ImageCreateRequest constructor
ImageCreateRequest({
- required String prompt,
- ImageSize size = ImageSize.size256x256,
- int? n,
- ImageQuality? quality,
- ResponseFormat responseFormat = ResponseFormat.url,
- String? user,
- String model = "dall-e-2",
- 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});