Nodes/BizyAirPlus/Google Gemini 3.6 Flash (Official Edition)
ComfyUI Node

Google Gemini 3.6 Flash (Official Edition)

Gemini 3.6 Flash LLM — the text node with a million-token window and real JSON output

By siliconflow·Created 5 months ago·Updated about a month ago· 20
Google Gemini 3.6 Flash (Official Edition)
  • api_config
  • result
  • request_id
prompt
system_instruction
stop_sequences
response_schema
response_mime_typetext/plain
seed0
max_output_tokens8192
skip_errorfalse

This is the newest text node in the pack, and it reads like a checklist of things power users actually complained the earlier Gemini nodes lacked. One-million-token input window. response_mime_type and response_schema for structured JSON output. max_output_tokens you can push to 65,536. Hosted Gemini 3.6 Flash, billed through your BizyAir key, and it's the one text node here that can genuinely act as a data-processing step, not just a prompt expander.

The million-token window is the headline. That's the difference between "summarize a paragraph" and "here's a whole project's worth of notes, structure it." Most ComfyUI users won't need a million tokens - but the headroom changes what you'd even attempt.

Inputs and outputs

  • prompt - required. Up to 1,048,576 input tokens.
  • system_instruction - optional. The framing.
  • stop_sequences - optional, up to 5 strings that halt generation.
  • response_mime_type - combo, default text/plain. Set it to application/json and the model will emit JSON.
  • response_schema - optional. A JSON schema for structured output. Here's the key interaction: the tooltip says it plainly - the schema is only valid when response_mime_type is application/json. Set the mime type first or the schema does nothing.
  • seed - default 0 (-1 = random), for reproducible completions.
  • max_output_tokens - default 8192, up to 65,536.

Outputs: result (STRING) and request_id.

How it works

Standard BizyAir flow to the gemini-3.6-flash-official/large-language-models endpoint: serialize prompt, instruction, stop sequences, and the response format, poll, return the text. api_config overrides base URL and key per request; skip_error returns the error text as the result instead of crashing.

The honest take

The structured-output story is the real reason to pick this over the 3.5 node. If you're feeding the result into downstream parsing - say, a workflow that turns a model's answer into workflow parameters - then text/plain answers are a constant parsing headache, and JSON-with-a-schema makes it deterministic. The combo of response_mime_type plus response_schema is exactly the pair you need, and the tooltip's warning is the gotcha everyone hits: change the mime type to application/json or the schema is ignored.

One more thing worth saying: default max_output_tokens here is 8192, not 32768 like the older nodes. If you're asking for long structured output and it truncates, that's the knob - raise it before you blame the model.

Install

With the pack:

cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/siliconflow/BizyAirPlus.git
cd BizyAirPlus
python -m pip install -r requirements.txt

Restart ComfyUI, make sure BizyAirPlus is ON and keyed. Then feed it a project's worth of text and ask for JSON - it's the node that finally treats ComfyUI's text step like part of a real pipeline.

CategoryBizyAirModelServices/BizyTRD/Gemini

Inputs (9)

NameTypeDefaultDescription
promptSTRINGUser's text prompt to send to Gemini 3.6 Flash. Supports up to 1,048,576 input tokens.
system_instructionoptSTRINGOptional system instruction to guide model behavior. Default: empty.
stop_sequencesoptSTRINGUp to 5 string sequences that stop generation. Default: empty.
response_schemaoptSTRINGOptional JSON schema for structured output (only valid when response_mime_type=application/json). Default: empty.
response_mime_typeoptCOMBOtext/plainOutput format of the generated text. Default: text/plain.
seedoptINT0-1–2147483647Random seed for reproducible generation (-1 = random).
max_output_tokensoptINT81921–65536Maximum number of tokens to generate (1-65,536). Default: 8192.
api_configoptBIZYAIR_OPENAPI_CONFIG单次请求覆盖base_url和api_key
skip_erroroptBOOLEANfalse开启后遇到错误不中断工作流,输出对应类型的错误占位符

Outputs (2)

NameTypeDescription
resultSTRING
request_idSTRING