Adding Images in the Playground
Last updated
Was this helpful?
Last updated
Was this helpful?
As multimodal applications expand, the ability to include images in your playground runs becomes essential. Adding images is simple once you select a model that supports image inputs—for example, GPT-4o.
How to Add an Image:
Insert a User Prompt Block Add a new user prompt block where you want the image input.
Add an Image Variable Click the image icon to create an image variable. This is where you’ll pass either the image URL or base64-encoded bytes. Once added, you’ll see the image variable listed in the Data section under input variables.
Provide the Image Source In the prompt, click the image icon next to your image variable and paste your link or base64 string. After adding the link, the image will render directly in the UI preview.
Running the Prompt:
Once your image is added, simply run the prompt. The model will process the image input along with your text, and you’ll see the results in the output panel.