Package ai.runapi.qwenimage.types
Class TextToImageParams.Builder
java.lang.Object
ai.runapi.qwenimage.types.TextToImageParams.Builder
- Enclosing class:
TextToImageParams
Builder for
TextToImageParams.-
Method Summary
Modifier and TypeMethodDescriptionaspectRatio(String value) Sets the output aspect ratio.build()Builds immutable text to image parameters.callbackUrl(String value) Sets the webhook URL for task completion notifications.model(TextToImageModel value) Sets the model slug using a typed model value.Sets the model slug using a string value.outputFormat(String value) Sets the output format.Sets the text prompt.seed(int value) Sets the random seed.
-
Method Details
-
model
Sets the model slug using a typed model value. -
model
Sets the model slug using a string value. -
prompt
Sets the text prompt. -
aspectRatio
Sets the output aspect ratio. -
seed
Sets the random seed. -
outputFormat
Sets the output format. -
callbackUrl
Sets the webhook URL for task completion notifications. -
build
Builds immutable text to image parameters.
-