openai-kotlin
common
openai-core
/
com.aallam.openai.api.image.internal
/
ImageCreationRequest
Image
Creation
Request
@
Serializable
data
class
ImageCreationRequest
(
val
prompt
:
String
,
val
n
:
Int
?
=
null
,
val
size
:
ImageSize
?
=
null
,
val
user
:
String
?
=
null
,
val
responseFormat
:
ImageResponseFormat
,
val
model
:
String
?
=
null
,
val
quality
:
Quality
?
=
null
,
val
style
:
Style
?
=
null
)
Image generation request. Results are expected as URLs.
Members
Constructors
Image
Creation
Request
Link copied to clipboard
constructor
(
prompt
:
String
,
n
:
Int
?
=
null
,
size
:
ImageSize
?
=
null
,
user
:
String
?
=
null
,
responseFormat
:
ImageResponseFormat
,
model
:
String
?
=
null
,
quality
:
Quality
?
=
null
,
style
:
Style
?
=
null
)
Properties
model
Link copied to clipboard
val
model
:
String
?
=
null
n
Link copied to clipboard
val
n
:
Int
?
=
null
prompt
Link copied to clipboard
val
prompt
:
String
quality
Link copied to clipboard
val
quality
:
Quality
?
=
null
response
Format
Link copied to clipboard
val
responseFormat
:
ImageResponseFormat
size
Link copied to clipboard
val
size
:
ImageSize
?
=
null
style
Link copied to clipboard
val
style
:
Style
?
=
null
user
Link copied to clipboard
val
user
:
String
?
=
null