Nodes/ERPK Collection/OpenAI Text Generation
ComfyUI Node

OpenAI Text Generation

A ComfyUI node in ERPK/OpenAI with 11 inputs and 1 output.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
OpenAI Text Generation
  • client
  • response
prompt
seed-1
modelgpt-5.6-sol
temperature0.70
max_tokens4096
top_p1.00
stop_sequences
response_formatdefault
reasoning_effortnone
verbositydefault
CategoryERPK/OpenAI

Inputs (11)

NameTypeDefaultDescription
promptSTRINGText prompt for OpenAI
seedINT-1-1–2147483647Seed for reproducible outputs (best-effort). Randomizes by default.
clientoptOPENAI_API_CLIENTOpenAI API client from OpenAI API Config node (optional if API key is configured in Settings)
modeloptCOMBOgpt-5.6-solOpenAI model to use for generation
temperatureoptFLOAT0.700–2Creativity level (0.0=focused, 2.0=very creative)
max_tokensoptINT4096256–16384Maximum length of response
top_poptFLOAT1.000–1Nucleus sampling - cumulative probability threshold (1.0=disabled)
stop_sequencesoptSTRINGStop generation at these sequences (one per line, leave empty to disable)
response_formatoptCOMBOdefaultOutput format (use json_object for JSON mode)
reasoning_effortoptCOMBOnoneReasoning depth for o-series and gpt-5.x reasoning models. Ignored by non-reasoning models.
verbosityoptCOMBOdefaultOutput verbosity for gpt-5.x models. 'low' produces terse responses, 'high' produces more detailed ones. Distinct from max_tokens — shapes style, not the hard length cap. 'default' lets the model choose. Silently ignored by older models that do not accept verbosity.

Outputs (1)

NameTypeDescription
responseSTRING