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)


225
# File 'sig/types.rbs', line 225

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)


217
218
219
# File 'sig/types.rbs', line 217

def model
  @model
end

#nInteger? (readonly)

Returns the value of attribute n.

Returns:

  • (Integer, nil)


218
219
220
# File 'sig/types.rbs', line 218

def n
  @n
end

#promptString (readonly)

Returns the value of attribute prompt.

Returns:

  • (String)


216
217
218
# File 'sig/types.rbs', line 216

def prompt
  @prompt
end

#qualityString? (readonly)

Returns the value of attribute quality.

Returns:

  • (String, nil)


220
221
222
# File 'sig/types.rbs', line 220

def quality
  @quality
end

#response_formatString? (readonly)

Returns the value of attribute response_format.

Returns:

  • (String, nil)


222
223
224
# File 'sig/types.rbs', line 222

def response_format
  @response_format
end

#sizeString? (readonly)

Returns the value of attribute size.

Returns:

  • (String, nil)


219
220
221
# File 'sig/types.rbs', line 219

def size
  @size
end

#styleString? (readonly)

Returns the value of attribute style.

Returns:

  • (String, nil)


221
222
223
# File 'sig/types.rbs', line 221

def style
  @style
end

#userString? (readonly)

Returns the value of attribute user.

Returns:

  • (String, nil)


223
224
225
# File 'sig/types.rbs', line 223

def user
  @user
end