GenSelfieConfig

Fields
perExampleSeeds[] integer

Initialization seed per generation sample. len(seeds) should be equal to sampleCount.

identityControl number

Parameter for identity control. Valid range: [0, 1.0] Default value: 0.9

structureControl number

Parameter for structure control. Valid range: [0, 1.0] Default value: 1.0

experimentalBaseVersion string

The version for the base model.

skipFaceCropping boolean

Whether to skip detecting and cropping the face in the input image. Default value: false.

samplingSteps integer

Number of sampling steps.

enableSharpening boolean

Whether to enable image sharpening post-processing.

detectionScoreThreshold number

The threshold for the face detection model. Images with a face detection score below this threshold will be rejected.

faceSelectionCriteria string

The criteria to select the face for Gen Selfie. Accepted values: * LARGEST * MOST_CONFIDENT

style string

The style for the generated image. Accepted values: * watercolor * hand-drawing * illustration * 3d-character

JSON representation
{
  "perExampleSeeds": [
    integer
  ],
  "identityControl": number,
  "structureControl": number,
  "experimentalBaseVersion": string,
  "skipFaceCropping": boolean,
  "samplingSteps": integer,
  "enableSharpening": boolean,
  "detectionScoreThreshold": number,
  "faceSelectionCriteria": string,
  "style": string
}