mirror of
https://github.com/ollama/ollama-js.git
synced 2026-07-01 11:16:25 -04:00
495 B
495 B
Examples
Important
Note: Ensure that
npm run buildhas been run before running the examples.
To run the examples run:
npx tsx <folder-name>/<file-name>.ts
Image Generation (Experimental)
Note: Image generation is experimental and currently only available on macOS.
- image-generation/image-generation.ts
- image-generation/image-generation-stream.ts - Streamed progress