Supported file types
Which files you can attach to a step in aiMermaid, in the editor and through the API, and how big they may be.
You can attach these files to a step or group, in the editor and through the API. The list is the same everywhere.
| Kind | File types | Largest size |
|---|---|---|
| Text | .txt | 500 KB |
| Markdown | .md | 500 KB |
| Mermaid | .mmd, .mermaid | 500 KB |
| Picture | .png, .jpg, .jpeg | 5 MB |
.pdf | 10 MB | |
| Audio | .mp3, .m4a, .wav, .ogg, .webm | 25 MB |
How files are checked
- The type comes from the end of the file name, and aiMermaid checks it against what is really inside. A renamed file, for example a
.pngthat is not a picture or a.pdfthat is not a real PDF, is refused. - Text, Markdown and Mermaid files must be plain UTF-8 text and pass the content rules.
- Programs, scripts and files with web markup (such as HTML or SVG) are refused.
Limits per project
A project holds at most 200 files and 100 MB of attachments. Cloud projects also count against your plan's account storage. See Free and PRO.
Where to go next
- In the editor: attachments.
- Through the API: attach files with the API. The API lists the same types in
GET /v1/capabilities(attachments.accepted).