ImagenSafetySettings
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public struct ImagenSafetySettingsSettings for controlling the aggressiveness of filtering out sensitive content.
See the Responsible AI and usage guidelines for more details.
- 
                  
                  Initializes safety settings for the Imagen model. DeclarationSwift public init(safetyFilterLevel: ImagenSafetyFilterLevel? = nil, personFilterLevel: ImagenPersonFilterLevel? = nil)ParameterssafetyFilterLevelA filter level controlling how aggressively to filter out sensitive content from generated images. personFilterLevelA filter level controlling whether generation of images containing people or faces is allowed.