Features

Vision

Let your character look at a camera frame or a picture, and answer about what it sees.

Most conversational characters are blind — they only know what you type or say. With vision, a picture becomes part of the conversation. Ask the character what it sees, hold up an object or show it a photo, and it describes, reads and answers in the same back-and-forth it already uses for speech.

Vision is on demand. The latest camera frame is kept ready, but it is sent to the language model only with a message that asks the character to look — for example "what am I holding?", "what colour is this?" or "how do I look?". The model reasons about the picture and the words together, so "this one" can mean the thing in the frame. An uploaded picture is always sent with the message it came with.

Vision needs a language model that accepts images; check the model you choose in Mind & knowledge › Core AI.

How it works at a glance

  1. Capture — a camera frame is kept fresh, or the visitor attaches a picture.
  2. Ask — the visitor's message asks the character to look at something.
  3. Reason — the language model receives the picture with that message and the conversation so far.
  4. Respond — the character speaks the answer with full lip sync, like any other reply.
 Camera frame / picture ──▶ ┐
                            ├─▶  language model  ──▶ spoken reply
 Visitor's question ───────▶ ┘

Vision on the web

In the website embed, the website widget and the editor's Test conversation, vision comes from two places:

SourceHow it worksSet up
The visitor's cameraThe visitor turns the camera on (Turn camera on in the chat). A frame is sent about once a second; a visual question uses the latest frame if it is less than 20 seconds old.Nothing to switch on. The visitor's browser asks for camera permission.
An attached pictureThe visitor attaches a JPG, PNG, WebP or GIF to a message. It is sent with that message, and visual follow-up questions in the next 5 minutes can use it again.Mind & knowledge › Core AI › File & image attachments: turn on Enabled and Images, and set Max size (MB) (images up to 5 MB).

An image attached to a message doubles that turn's quota units (see Plans & quota); camera frames add no units. The same camera also feeds FaceID when it is on (below), and the Behavior trigger Person detected by the camera runs after the visitor turns the camera on.

Vision in Unreal

In Unreal, the IAMX component captures the frame. You pick one of three sources depending on what the character should perceive. Every source ends up as the same kind of frame, so the reasoning never changes — only the eyes do.

Source (Vision Source) What the character sees Typical use
Scene Capture (In-Game) (default) The scene rendered from the character's own perspective, looking out at what is in front of it. In-world NPCs and virtual guides that should react to what is near them in the level.
Player Camera The view the player is looking at right now. The character sees what you see. Companions, co-op "look at this" moments, tutorials that comment on wherever the player points.
Render Target (Custom) Any texture you assign — a live webcam feed, a media player, a security-camera stream or anything else you can draw into a render target. Kiosks and installations where the character watches a real camera.

Its own viewpoint

The scene capture renders from where the character stands and the way it faces. As the character moves or turns, its field of view moves with it, so objects in the level, other actors and changes in the environment are all fair game.

The player's camera

The character borrows the player's eyes: whatever is on screen is what gets captured. Ideal when the character is a companion or assistant rather than a physical presence in the world.

A render target you assign

You hand IAMX a render target and it reads frames from it. The most common kiosk setup is a webcam: Media Player (webcam) → Media Texture → draw to your render target. Point the camera at the visitor and the character can see the person, the product they are holding or the document they present.

A webcam feed and a media player are both just render targets. You can prototype a kiosk's vision by playing a recorded video into a media player, then swap in the live camera for production — the character's logic never changes.

Unreal settings

SettingWhat it controls
Enable VisionMaster switch, off by default. Set it from Blueprint on the IAMX component.
Auto Send VisionOn by default: a fresh frame is captured and sent with each user input while vision is on. The server uses it only for visual questions. Turn it off to send frames only when you call Capture And Send Vision.
Capture And Send VisionBlueprint function: capture from the selected source and send it now — on a button, or when your game detects a visual question.
Vision SourceScene Capture (In-Game), Player Camera or Render Target (Custom).
Vision ResolutionCapture size for Scene Capture and Player Camera, 64–1024 (default 512). Lower is faster; higher shows more detail.
Custom Vision Render TargetThe texture used when the source is Render Target (Custom).

What it does with it

Describe

"What's in front of you?" — the character narrates the scene, lists objects, reads visible text and summarizes what it sees.

Answer

"Is this the right size?" or "What colour is this?" — questions about the picture are answered by looking, not guessing.

Read

Product names on a label, a serial number, a sign — models that accept images read text inside the picture with no separate step.

The picture travels with one message only; it is not kept in the conversation history. What the character said about it is, so a visitor can hold up a box, ask "what is this?", then ask "and is it in stock?" and the character carries its answer forward.

Vision answers questions; it does not start a conversation on its own. To greet people who walk up, use FaceID's Greet when a person appears or the Behavior trigger Person detected by the camera.

Recognize people: FaceID

Behavior › FaceID (“FaceID & Identity”) uses the camera to recognize people and, optionally, matches the live face against a Turkish ID card's chip over NFC: Camera → Recognize → NFC ID → Greet / verify. Your plan must include FaceID; otherwise the tab shows a padlock.

Faces registered through the web camera belong to the character: a cloned character starts without them. A FaceID server keeps its own face database.

Pairing vision with the rest of the pipeline

Vision is more useful combined with Knowledge and Memory. Picture a retail kiosk: vision recognizes the product a visitor is holding, the character looks that product up in its Knowledge Base and answers detailed questions about it, and memory keeps track of what the visitor has asked so far.

Setup

  1. Choose a model that accepts images in Mind & knowledge › Core AI.
  2. On the web, turn on File & image attachments › Images if visitors should upload pictures. The camera button needs no setup.
  3. In Unreal, set Enable Vision, pick a Vision Source and, for Render Target (Custom), assign the texture.
  4. Test it — in the editor's Test conversation, turn the camera on, hold something up and ask the character what it sees.

Performance and privacy

Vision does not stream video to the language model. A single still goes with a message only when the message asks about it, which keeps cost and latency down. Images are not saved in the conversation history.

A camera pointed at real people is sensitive by nature. For public kiosks, be transparent that a camera is in use, keep the feed on your own hardware where you can, and register people in FaceID only with their consent.

One frame, on demand

A still is used only for the message that asks about it.

Any image model

Works with the language models in Core AI that accept images.

Same turn, no glue

The picture rides along with the visitor's message — no separate pipeline to build or maintain.

Where to go next

IAMX AI STUDIO