## §OIP SYSTEM ARTICLE — WAI (4 operations)
A generated article for one OIP shelf. It lists every operation in this API/CLI/MCP/device/model/core subsystem, links each leaf article, and gives the ledger path for proof.

### Read Order
- scan operations
- open a leaf doc
- run via run_now or POST /api/dispatch
- open receipt
- repair/replay if needed

### Operations
- **WAI_RUN** — Run a Workers AI model via the env.AI binding. $1=model id (e.g. @cf/meta/llama-3.3-70b-instruct), $2=user pro
  when: you need to wai run
  args: $1 | $2
  doc: https://miscsubjects.com/api/dispatch?key=WAI_RUN&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=WAI_RUN&body=%3Carg1%3E%7C%3Carg2%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=WAI_RUN
- **WAI_EMBED** — Compute embedding vector(s) for text using a Workers AI embedding model via env.AI binding. $1=text, $2=option
  when: you need to wai embed
  args: $1 | $2
  doc: https://miscsubjects.com/api/dispatch?key=WAI_EMBED&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=WAI_EMBED&body=%3Carg1%3E%7C%3Carg2%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=WAI_EMBED
- **WAI_T2I** — Generate an image from a prompt using a Workers AI text-to-image model via env.AI binding. Stores the result i
  when: you need to wai t2i
  args: $1 | $2
  doc: https://miscsubjects.com/api/dispatch?key=WAI_T2I&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=WAI_T2I&body=%3Carg1%3E%7C%3Carg2%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=WAI_T2I
- **WAI_TRANSLATE** — Translate text between languages using @cf/meta/m2m100-1.2b via env.AI binding. $1=text, $2=source lang code (
  when: you need to wai translate
  args: $1 | $2 | $3
  doc: https://miscsubjects.com/api/dispatch?key=WAI_TRANSLATE&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=WAI_TRANSLATE&body=%3Carg1%3E%7C%3Carg2%3E%7C%3Carg3%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=WAI_TRANSLATE

### Troubleshooting
- If a row's example has placeholders, replace only the placeholder values and preserve separators.
- If a call fails, open its receipt and repair it with POST /api/dispatch {key, body, repairs:'inv_ID'}.
- If token scope denies this system, ask the owner for a row:/rows:/pfx: token scoped to the exact operation set.

Back to the tree: https://miscsubjects.com/api/dispatch?map=1&format=markdown