ComfyUI Node

πŸ€– Leon LLM JSON API

A ComfyUI node in Leon_API with 11 inputs and 1 output.

By l3ony2kΒ·Created about a year agoΒ·Updated about a month agoΒ· 3
πŸ€– Leon LLM JSON API
  • input_image
  • image_array
  • json_response
β—„modelβ–Ί
β—„user_messageExtract the email address from this text: Contact us at [email protected]β–Ί
β—„json_schema{"type": "object", "properties": {"email": {"type": "string", "description": "The extracted email address"}}, "required": ["email"]}β–Ί
β—„api_urlhttps://api.hyprlab.io/v1/chat/completionsβ–Ί
β—„api_keyYOUR_HYPRLAB_API_KEYβ–Ί
β—„system_messageYou are a helpful assistant that extracts structured data.β–Ί
β—„max_tokens128000β–Ί
β—„temperature0.1β–Ί
β—„image_urlβ–Ί
CategoryLeon_API

Inputs (11)

NameTypeDefaultDescription
modelSTRINGModel name to use for JSON completion
user_messageSTRINGExtract the email address from this text: Contact us at [email protected]User message to send to the model
json_schemaSTRING{"type": "object", "properties": {"email": {"type": "string", "description": "The extracted email address"}}, "required": ["email"]}JSON schema for structured output
api_urlSTRINGhttps://api.hyprlab.io/v1/chat/completionsAPI URL for chat completions
api_keySTRINGYOUR_HYPRLAB_API_KEYYour HyprLab API key
system_messageoptSTRINGYou are a helpful assistant that extracts structured data.System message to set the assistant's behavior
max_tokensoptINT1280001–1048576Maximum number of tokens to generate
temperatureoptFLOAT0.10–2Sampling temperature (lower for more consistent JSON)
input_imageoptIMAGEOptional single image input for vision-capable models
image_urloptSTRINGOptional image URL for vision-capable models
image_arrayoptIMAGE_ARRAYOptional array of images (base64 or URLs) for vision-capable models

Outputs (1)

NameTypeDescription
json_responseSTRINGβ€”