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)


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

def initialize: (?prompt: String, ?model: String, ?n: Integer, ?size: String, ?quality: String, ?style: String, ?response_format: String, ?user: String) -> void

Instance Attribute Details

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


284
285
286
# File 'sig/types.rbs', line 284

def model
  @model
end

#nInteger?

Returns the value of attribute n.

Returns:

  • (Integer, nil)


285
286
287
# File 'sig/types.rbs', line 285

def n
  @n
end

#promptString?

Returns the value of attribute prompt.

Returns:

  • (String, nil)


283
284
285
# File 'sig/types.rbs', line 283

def prompt
  @prompt
end

#qualityString?

Returns the value of attribute quality.

Returns:

  • (String, nil)


287
288
289
# File 'sig/types.rbs', line 287

def quality
  @quality
end

#response_formatString?

Returns the value of attribute response_format.

Returns:

  • (String, nil)


289
290
291
# File 'sig/types.rbs', line 289

def response_format
  @response_format
end

#sizeString?

Returns the value of attribute size.

Returns:

  • (String, nil)


286
287
288
# File 'sig/types.rbs', line 286

def size
  @size
end

#styleString?

Returns the value of attribute style.

Returns:

  • (String, nil)


288
289
290
# File 'sig/types.rbs', line 288

def style
  @style
end

#userString?

Returns the value of attribute user.

Returns:

  • (String, nil)


290
291
292
# File 'sig/types.rbs', line 290

def user
  @user
end