ComfyUI Node
Gemma 4 31B
A ComfyUI node in Runware/Text/google with 21 inputs and 1 output.
Gemma 4 31B
- messages
- images
- text
◄seed0►
◄numberResults1►
◄includeUsagefalse►
◄settings.frequencyPenalty0.00►
◄settings.maxTokensfalse►
◄settings.maxTokens_value1►
◄settings.minP0.00►
◄settings.presencePenalty0.00►
◄settings.repetitionPenalty1.00►
◄settings.systemPrompt►
◄settings.temperaturefalse►
◄settings.temperature_value0.00►
◄settings.thinkingLevelhigh►
◄settings.topKfalse►
◄settings.topK_value1►
◄settings.topPfalse►
◄settings.topP_value0.00►
◄outputFormatTEXT►
◄advanced_json►
CategoryRunware/Text/google
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| messages | RUNWARE_MESSAGES | — | |
| imagesopt | IMAGE | — | |
| seedopt | INT | 00–9223372036854776000 | Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range. |
| numberResultsopt | INT | 11–4 | Number of results to generate. Each result uses a different seed, producing variations of the same parameters. |
| includeUsageopt | BOOLEAN | false | Include token usage statistics in the response. |
| settings.frequencyPenaltyopt | FLOAT | 0.000–2 | Penalizes tokens based on their frequency in the output so far. A value of 0.0 disables the penalty. |
| settings.maxTokensopt | BOOLEAN | false | Enable to set settings.maxTokens. Off uses the model's default. |
| settings.maxTokens_valueopt | INT | 1 | Maximum number of tokens to generate in the response. |
| settings.minPopt | FLOAT | 0.000–1 | Minimum probability threshold. Tokens with probability below this value are excluded from sampling. |
| settings.presencePenaltyopt | FLOAT | 0.00-2–2 | Encourages the model to introduce new topics. A value of 0.0 disables the penalty. |
| settings.repetitionPenaltyopt | FLOAT | 1.000–2 | Penalizes tokens that have already appeared in the output. A value of 1.0 disables the penalty. |
| settings.systemPromptopt | STRING | System-level instruction that guides the model's behavior and output style across the entire generation. | |
| settings.temperatureopt | BOOLEAN | false | Enable to set settings.temperature. Off uses the model's default. |
| settings.temperature_valueopt | FLOAT | 0.000–2 | Controls randomness in generation. Lower values produce more deterministic outputs, higher values increase variation and creativity. |
| settings.thinkingLevelopt | COMBO | high | Controls the depth of internal reasoning the model performs before generating a response. |
| settings.topKopt | BOOLEAN | false | Enable to set settings.topK. Off uses the model's default. |
| settings.topK_valueopt | INT | 11–100 | Top-K sampling parameter that limits the number of highest-probability tokens considered at each step. |
| settings.topPopt | BOOLEAN | false | Enable to set settings.topP. Off uses the model's default. |
| settings.topP_valueopt | FLOAT | 0.000–1 | Nucleus sampling parameter that controls diversity by limiting the probability mass. Lower values make outputs more focused, higher values increase diversity. |
| outputFormatopt | COMBO | TEXT | Output format for the generated text. |
| advanced_jsonopt | STRING | Optional JSON merged into the request. For: inputs.videos, settings.stopSequences |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |