Use this file to discover all available pages before exploring further.
The output schema defines what your endpoint returns. While optional, defining an output schema ensures consistent responses and enables validation of LLM outputs.
Data type (string, number, boolean, array, object)
Description
No
What this field contains
Output fields are never “required” in the traditional sense—they define what the LLM should return. If the LLM doesn’t include a field, it will be omitted from the response.
Adding an image output field signals that this endpoint generates images. When present, the rendered prompt is sent to the model’s image generation API — no JSON output instructions are appended.
{ "name": "generated_image", "type": "image", "description": "The generated product image"}
Configuring generation defaults:Use the Example Value field on the image output to store default generation config as JSON:
{ "size": "1024x1024", "quality": "high"}
These defaults can be overridden per-prompt using the Custom Parameters panel. See Image Generation & Vision for the full configuration guide.
Generation parameters (size, quality, background, etc.) are model/provider-specific. Check your provider’s API docs for supported values.
Your prompt must instruct the LLM to return JSON matching your schema. Here’s the pattern:
Analyze the following text for sentiment:{{ inputs.text }}Respond with a JSON object containing:- sentiment: "positive", "negative", or "neutral"- confidence: a number between 0 and 1- keywords: an array of key terms that influenced the analysisReturn only valid JSON, no additional text.
If your prompt doesn’t ask for JSON output, the LLM may return plain text that won’t parse correctly.