safetyAttributes

public abstract GeneratedImage.Builder safetyAttributes(SafetyAttributes safetyAttributes)

Setter for safetyAttributes.

safetyAttributes: Safety attributes of the image. Lists of RAI categories and their scores of each content.


@CanIgnoreReturnValue()
public GeneratedImage.Builder safetyAttributes(SafetyAttributes.Builder safetyAttributesBuilder)

Setter for safetyAttributes builder.

safetyAttributes: Safety attributes of the image. Lists of RAI categories and their scores of each content.