ByteChef LogoByteChef
AutomationWorkflowsAI

Universal AI

Learn how to work with AI Text and AI Image

This is a guide to using universal AI components like AI Text or AI Image. Universal components let you pick a provider and model from the activated AI Providers catalog per step, instead of managing a separate connection per provider.

Setting up API keys

Click on the user picture

Click on Settings. As a requirement for having access most settings, you have to have administrator privileges.

Go to AI Providers

Toggle the provider that you have API keys for

Paste the API key

Click Save

The AI Providers settings page, with providers enabled by toggle

Select a provider to reveal its credentials form, then paste the key and save.

A provider expanded to show its API Key field

After that, you should be able to work with AI Text and AI Image components. You should be able to see the configured providers in the Properties tab under the dropdown attribute called Provider.

AI Text actions

ActionWhat it does
Text GenerationProduce free-form text from a prompt.
Classify TextAssign the input to one of your categories.
Extract DataPull structured fields out of unstructured text.
Summarize TextCondense a document into a summary.
Sentiment AnalysisScore the emotional tone of the input.
Similarity SearchFind the closest matches to a query among candidate texts.
ScoreRate the input against criteria you define.
MaskReplace sensitive spans with placeholders.
UnmaskRestore previously masked spans to their original values.

AI Image actions

ActionWhat it does
Generate ImageCreate an image from a text prompt with the selected provider and model.

Beyond single steps: the AI Agent

AI Text and AI Image are single-shot steps. When you need a step that reasons over a goal, calls tools, and remembers context across turns, use the AI Agent component instead — a cluster-root node with its own full-screen editor for the model, instructions, tools, chat memory, and guardrails. See AI Agent to build one, Skills to give it reusable know-how, Evals to test it, and Guardrails to constrain it.

An AI Agent node on the canvas, with its model and tool cluster elements attached

How is this guide?

Last updated on

On this page