Class: LiterLlm::CreateImageRequest
- Inherits:
-
Object
- Object
- LiterLlm::CreateImageRequest
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#model ⇒ String?
readonly
Returns the value of attribute model.
-
#n ⇒ Integer?
readonly
Returns the value of attribute n.
-
#prompt ⇒ String
readonly
Returns the value of attribute prompt.
-
#quality ⇒ String?
readonly
Returns the value of attribute quality.
-
#response_format ⇒ String?
readonly
Returns the value of attribute response_format.
-
#size ⇒ String?
readonly
Returns the value of attribute size.
-
#style ⇒ String?
readonly
Returns the value of attribute style.
-
#user ⇒ String?
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ CreateImageRequest
constructor
A new instance of CreateImageRequest.
Constructor Details
#initialize ⇒ CreateImageRequest
Returns a new instance of CreateImageRequest.
302 |
# File 'sig/types.rbs', line 302
def initialize: (?prompt: String, ?model: String, ?n: Integer, ?size: String, ?quality: String, ?style: String, ?response_format: String, ?user: String) -> void
|
Instance Attribute Details
#model ⇒ String? (readonly)
Returns the value of attribute model.
294 295 296 |
# File 'sig/types.rbs', line 294 def model @model end |
#n ⇒ Integer? (readonly)
Returns the value of attribute n.
295 296 297 |
# File 'sig/types.rbs', line 295 def n @n end |
#prompt ⇒ String (readonly)
Returns the value of attribute prompt.
293 294 295 |
# File 'sig/types.rbs', line 293 def prompt @prompt end |
#quality ⇒ String? (readonly)
Returns the value of attribute quality.
297 298 299 |
# File 'sig/types.rbs', line 297 def quality @quality end |
#response_format ⇒ String? (readonly)
Returns the value of attribute response_format.
299 300 301 |
# File 'sig/types.rbs', line 299 def response_format @response_format end |
#size ⇒ String? (readonly)
Returns the value of attribute size.
296 297 298 |
# File 'sig/types.rbs', line 296 def size @size end |
#style ⇒ String? (readonly)
Returns the value of attribute style.
298 299 300 |
# File 'sig/types.rbs', line 298 def style @style end |
#user ⇒ String? (readonly)
Returns the value of attribute user.
300 301 302 |
# File 'sig/types.rbs', line 300 def user @user end |