create .env file
# Replace with your own API key
MIDSCENE_MODEL_BASE_URL="https://.../compatible-mode/v1"
MIDSCENE_MODEL_API_KEY="sk-abcdefghijklmnopqrstuvwxyz"
MIDSCENE_MODEL_NAME="qwen3-vl-plus"
MIDSCENE_MODEL_FAMILY="qwen3-vl"
Refer to this document if your want to use other models like Qwen: https://midscenejs.com/model-strategy.html
## Install
Ensure that Node.js is installed. Install the `@midscene/cli` globally
```shell
npm i -g @midscene/cliRun all scripts
For windows, you need to replace
./with.\, likemidscene .\midscene-scripts\.
midscene ./midscene-scripts/Maps navigation demo
midscene ./midscene-scripts/maps-navigation.yamlTwitter auto-like demo
midscene ./midscene-scripts/twitter-auto-like.yamlPerform a search on ebay.com
midscene ./midscene-scripts/search-headphone-on-ebay.yaml