Guide

Uploading stimuli & assets

Add images, audio, video and data files to an experiment.

Stimuli live in an experiment’s assets folder. Upload them in the editor and reference them from your code without hardcoding URLs.

Upload and reference

  1. 1

    Upload to assets

    In the editor’s file explorer, use the upload button on the assets/ folder. Images, audio, video and data files (CSV/TSV/XLSX) are supported.

  2. 2

    Reference in code

    Use the __ASSETS map in your experiment, e.g. __ASSETS['stimulus.png'] . Copy the reference from the asset’s menu in the editor.

Tell the AI to reference stimuli via __ASSETS[...] so it never hardcodes a URL that could break.