VirtualTryOnModelParams

Parameter format for the Virtual Try On model.

Fields
outputOptions object (OutputOptions)

Configuration options for the output image.

sampleCount integer

The number of images to generate.

storageUri string

The Cloud Storage location where generated images will be saved.

seed integer

The RNG seed. If set, requests with equal inputs will produce deterministic results. The addWatermark parameter must be set to false if the seed is set.

baseSteps integer

Number of sampling steps for the base model.

safetySetting string

Safety settings applying various restrictions in generating images. Case insensitive. Levels are: block_low_and_above block_medium_and_above block_only_high block_none

personGeneration string

Whether to restrict the generation of images with persons. Case insensitive. Supported values are: dont_allow, allow_adult, allowAll

addWatermark boolean

Whether to add a watermark to the generated images. Defaults to true.

enhancePrompt boolean

Whether to enhance the user-provided prompt internally for models that support it.

JSON representation
{
  "outputOptions": {
    object (OutputOptions)
  },
  "sampleCount": integer,
  "storageUri": string,
  "seed": integer,
  "baseSteps": integer,
  "safetySetting": string,
  "personGeneration": string,
  "addWatermark": boolean,
  "enhancePrompt": boolean
}