Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.13 KB

vertexai.imagensafetysettings.md

File metadata and controls

57 lines (39 loc) · 2.13 KB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

ImagenSafetySettings interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Settings for controlling the aggressiveness of filtering out sensitive content.

See the documentation for more details.

Signature:

export interface ImagenSafetySettings 

Properties

Property Type Description
personFilterLevel ImagenPersonFilterLevel (Public Preview) A filter level controlling whether generation of images containing people or faces is allowed.
safetyFilterLevel ImagenSafetyFilterLevel (Public Preview) A filter level controlling how aggressive to filter out sensitive content from generated images.

ImagenSafetySettings.personFilterLevel

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A filter level controlling whether generation of images containing people or faces is allowed.

Signature:

personFilterLevel?: ImagenPersonFilterLevel;

ImagenSafetySettings.safetyFilterLevel

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A filter level controlling how aggressive to filter out sensitive content from generated images.

Signature:

safetyFilterLevel?: ImagenSafetyFilterLevel;