CreateImageRequest constructor
CreateImageRequest({
- required String prompt,
- int? n = 1,
- CreateImageRequestSizeEnum? size = const CreateImageRequestSizeEnum._('1024x1024'),
- CreateImageRequestResponseFormatEnum? responseFormat = const CreateImageRequestResponseFormatEnum._('url'),
- String? user,
Returns a new CreateImageRequest instance.
Implementation
CreateImageRequest({
required this.prompt,
this.n = 1,
this.size = const CreateImageRequestSizeEnum._('1024x1024'),
this.responseFormat = const CreateImageRequestResponseFormatEnum._('url'),
this.user,
});