Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 598 Bytes

File metadata and controls

32 lines (20 loc) · 598 Bytes

Computer JavaScript SDK Demo

This is a demo to show how to use @midscene/computer to control PC desktop with JavaScript.

Steps

Preparation

Create .env file:

# Replace with your own API key
OPENAI_API_KEY="sk-your-api-key"

# Or use other models like Qwen
MIDSCENE_MODEL_NAME="qwen3-vl-plus"

Refer to this document if you want to use other models: https://midscenejs.com/model-provider.html

Run demo

npm install

npm run test

Reference