Class: LiterLlm::CreateImageRequest

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCreateImageRequest

Returns a new instance of CreateImageRequest.

Parameters:

  • prompt: (String)
  • model: (String)
  • n: (Integer)
  • size: (String)
  • quality: (String)
  • style: (String)
  • response_format: (String)
  • user: (String)


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

#modelString? (readonly)

Returns the value of attribute model.

Returns:

  • (String, nil)


294
295
296
# File 'sig/types.rbs', line 294

def model
  @model
end

#nInteger? (readonly)

Returns the value of attribute n.

Returns:

  • (Integer, nil)


295
296
297
# File 'sig/types.rbs', line 295

def n
  @n
end

#promptString (readonly)

Returns the value of attribute prompt.

Returns:

  • (String)


293
294
295
# File 'sig/types.rbs', line 293

def prompt
  @prompt
end

#qualityString? (readonly)

Returns the value of attribute quality.

Returns:

  • (String, nil)


297
298
299
# File 'sig/types.rbs', line 297

def quality
  @quality
end

#response_formatString? (readonly)

Returns the value of attribute response_format.

Returns:

  • (String, nil)


299
300
301
# File 'sig/types.rbs', line 299

def response_format
  @response_format
end

#sizeString? (readonly)

Returns the value of attribute size.

Returns:

  • (String, nil)


296
297
298
# File 'sig/types.rbs', line 296

def size
  @size
end

#styleString? (readonly)

Returns the value of attribute style.

Returns:

  • (String, nil)


298
299
300
# File 'sig/types.rbs', line 298

def style
  @style
end

#userString? (readonly)

Returns the value of attribute user.

Returns:

  • (String, nil)


300
301
302
# File 'sig/types.rbs', line 300

def user
  @user
end