ImagenImagesBlockedError
public struct ImagenImagesBlockedError : Errorextension ImagenImagesBlockedError: CustomNSErrorAn error that occurs when image generation fails due to all generated images being blocked.
The images may have been blocked due to the specified ImagenSafetyFilterLevel, the
ImagenPersonFilterLevel, or filtering included in the model. These filter levels may be
adjusted in your ImagenSafetySettings. See the Responsible AI and usage guidelines for
Imagen
for more details.
-
Declaration
Swift
public static var errorDomain: String { get } -
Declaration
Swift
public var errorCode: Int { get } -
Declaration
Swift
public var errorUserInfo: [String : Any] { get }