Image Inputs in Playground
Last updated
Was this helpful?
Last updated
Was this helpful?
The Prompt Playground supports image inputs for working with multi-modal models, like GPT-4o. This feature allows you to iterate on tasks such as image caption generation, visual QA, and more.
You can pass images into your prompts by uploading image URLs as variables. These are used as inputs in your LLM calls—perfect for experimenting with visual content alongside text.
Navigate to Prompt Playground from the sidebar. Select a multi-modal model (e.g., gpt-4o
) from the dropdown.
Click the image icon (🖼️) in the variables section to define an image input.
Give your image variable a descriptive name (e.g., white_lotus_hotel
)
Click "Add Variable"
Paste a supported image URL into the input field (JPG, PNG, or base64 formats are accepted).
Example: https://example.com/images/hotel.jpg
Click "Submit" once the image is loaded.
Run your prompt. The playground will display:
The image input
The LLM-generated output
Example Output:
“Unwind in style: Where luxury meets tranquility by waterside elegance.”
#LuxuryGetaway #PoolsideParadise