abacusai.image_gen_model

Classes

ImageGenModel

Image generation model

Module Contents

class abacusai.image_gen_model.ImageGenModel(client, displayName=None, type=None, valueType=None, optional=None, default=None, helptext=None, options={})

Bases: abacusai.return_class.AbstractApiClass

Image generation model

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • displayName (str) – The display name for the UI component.

  • type (str) – The type of the UI component.

  • valueType (str) – The data type of the values within the UI component.

  • optional (bool) – Whether the selection of a value is optional.

  • default (str) – The default value for the image generation model.

  • helptext (str) – The helptext for the UI component.

  • options (ImageGenModelOptions) – The options of models available for image generation.

display_name = None
type = None
value_type = None
optional = None
default = None
helptext = None
options
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict