How to Use Multimodal Input in Trae
Multimodal input allows you to add images during chats with the AI assistant, enabling more accurate and efficient communication of your needs through visual context.
Overview
You can add various types of images to enhance your chat interactions, including:
- Error screenshots
- Design drafts
- Reference styles
- And more
How to Add Images
Both Builder and Chat modes support adding images through multiple methods:
Drag and drop images from:
- External sources into the chat input box
- Current project file tree into the chat input box
Paste images directly:
- Copy an image to your clipboard
- Paste (Cmd/Ctrl + V) into the input box
Use the image selector:
- Click the Images button at the bottom left of input box
- Select images from your local computer
Example Use Cases
Debugging with Error Screenshots
When encountering errors, you can:
- Take a screenshot of the error message
- Add it to the chat
- Let the AI assistant analyze the error and provide solutions
Code Generation from Designs
To implement designs efficiently:
- Upload your design draft or mockup
- Ask the AI assistant to generate the corresponding code
- Review and refine the generated code with the assistant's help
The AI assistant will analyze the visual content and provide relevant assistance based on your needs.