Developer-focused examples for calling APIVAI with OpenAI-compatible request patterns. The repository keeps each example intentionally small so you can inspect the request shape, confirm credentials, ...
The "audiocontext-setsinkid" directory contains an example of how to use the AudioContext.setSinkId() method and related features. Run the example live. The "canvas" directory contains an example ...
Experimental global fetch API that simplifies writing cross-platform HTTP request code is available by default in the latest version of the popular JavaScript runtime. Node.js 18, the latest version ...