ComfyUI Node
Gemini Safety Settings
Configure content safety filters for Gemini API requests.
Gemini Safety Settings
- client
- client
◄presetbalanced►
◄harassmentmedium►
◄hate_speechmedium►
◄sexually_explicitmedium►
◄dangerous_contentmedium►
CategoryERPK/Gemini
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| client | GEMINI_API_CLIENT | Gemini API client to configure | |
| presetopt | COMBO | balanced | Safety preset or custom configuration |
| harassmentopt | COMBO | medium | Threshold for harassment content (only used if preset=custom) |
| hate_speechopt | COMBO | medium | Threshold for hate speech (only used if preset=custom) |
| sexually_explicitopt | COMBO | medium | Threshold for sexually explicit content (only used if preset=custom) |
| dangerous_contentopt | COMBO | medium | Threshold for dangerous content (only used if preset=custom) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| client | GEMINI_API_CLIENT | — |