All models

GPT-5.4

Prompt GPT-5.4

Languagev1.0.04 inputsTEXT

Explain recursion with one analogy.

Recursion is when something solves a problem by doing a smaller version of the same thing. **Analogy:** Imagine standing between two mirrors facing each other. You see an image of yourself, and inside that image is another image of yourself, and inside that another, repeating smaller and smaller. That’s like recursion: a function “calls itself” on a smaller version of the problem, until it reaches a stopping point. - **Repeated pattern:** each mirror image contains another image - **Smaller version each time:** the images get smaller - **Stopping point:** eventually the images fade so you don’t keep noticing more In programming, recursion works the same way: 1. Do a small part of the work 2. Call the same function on a smaller problem 3. Stop at a **base case** so it doesn’t continue forever If you want, I can also show a tiny code example.

Try it right here

Fill the inputs the node publishes and run it on your own account. The same ports, defaults and types the studio uses.

Inputs

TEXT
IMAGE
TEXT
INT
Sign in to run

Running a model executes it on your account. Browsing the catalog stays free and needs no account.

Output

Fill in the inputs and run the node to see its output here.

Call it from your code

The same node, called by id from any surface. Every tab pins this node and passes the ports below.

import { BlitClient } from "@blitflow/sdk";

const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });

const { outputs } = await runNode("gpt-5-4", {
  prompt: { value: "example" },
  image: { ref: "https://..." },
  systemPrompt: { value: "example" },
  maxTokens: { value: 1024 },
});

Schema

Every port this node publishes, with its type, its hint and the default it runs with. gpt-5-4 is the id you call.

Inputs

prompt*TEXT
imageIMAGE
systemPromptTEXT
maxTokensINT1024

Outputs

textTEXT

Chain it with the rest of the catalog

Open the studio
GPT-5.4 | BlitFlow