v1.0.11.0 is here: six tools, one workspace.See what's new →

API QR CodeBETA

Scan once
and your phone uses
the AI on this computer

Let phones, tablets and other devices on the same network scan a QR code and use AI through the model loaded on this computer. Any app that supports the OpenAI-compatible API can connect — no typing in addresses, no copying keys.

Your computer
armor-studio.local · 2918
Connected to Armor StudioGive me three weekend plans1. A riverside bike ride and brunch; 2. The city art museum…Answered by the model on your computer

01 — How It Works

One QR code per device

Every QR code is a new connection key. Make one for each device, and later you can revoke any of them without affecting the others.

  1. 1

    Turn on LAN sharing

    Turn it on once in Settings and restart Armor EdgeAI. Devices on the same network can then reach this computer.

  2. 2

    Make a QR code

    In the sidebar, open Advanced → API QR Code, give the device a name (for example "Living room tablet") and make the code.

  3. 3

    Scan it with an app

    An app that supports API QR Code fills in the computer's name, its addresses and a key just for this device.

  4. 4

    Use the loaded model

    Devices use the chat model you loaded on the computer. If you switch models, a device's next request uses the new one.

02 — In The App

Check the status before you make one

The API QR Code page in the app tells you three things first: whether LAN sharing is on, which model is loaded, and the addresses that go into the QR code. Below is an interactive mock-up.

Mock state
Armor EdgeAI — API QR Code
API QR CodeBeta
LAN sharingOnDevices on the same network can reach this computer.
Chat modelQwen 3.8 27B VisionDevices use this model. If you switch models, a device's next request uses the new one.
Addressarmor-studio.local192.168.1.24100.88.12.7VPNPlus 2 more. All of them go into the QR code.
Make a QR codeEach QR code is a new connection key. Make one per device so you can revoke them one at a time.
Your QR code appears here
Devices connected by QR codeDevices: 1
  • Living room tabletCreate 10-21Last used today

Mock-up: the QR code is a decorative pattern and can't actually be scanned; the computer name and addresses are made up. If a device can't connect, allow Armor EdgeAI's connections on private networks in Windows Firewall.

03 — For Developers

Connect your app to API QR Code

The QR code is one line of JSON; once scanned, it's a standard OpenAI-compatible endpoint. The For developers section in the app also gives you a prompt: hand it to an AI coding assistant such as Claude Code, Codex or Cursor, and it adds scanning, connecting and error handling to your app, following the spec.

QR code content · format v1 (example values are made up)
{
  "t": "armor-edgeai/api",
  "v": 1,
  "name": "Armor Studio",
  "hosts": ["armor-studio.local", "192.168.1.24", "100.88.12.7"],
  "port": 2918,
  "key": "armor_sk_…"
}
hosts are tried in order, 3 seconds each; the first to answer wins
.local nameLAN IPv4Other addressesVPN
The .local name keeps working after the computer's IP changes. VPN addresses go last, so devices on the same Wi-Fi don't wait for them to time out.
What the QR code contains
FieldTypeMeaning
tstringAlways armor-edgeai/api
vnumberFormat version, currently 1
namestringThe computer's name, fine to show to the user
hostsstring arrayAddresses to try in order: the .local name first while it's being advertised, then LAN IPv4 addresses, VPN addresses last
portnumberUsually 2918 (may be 2919 or 2920)
keystringAn API key starting with armor_sk_, one per device

One prompt for your AI coding assistant

The prompt has eleven sections, from validating the QR code, storing the key safely, finding the computer, calling the API, streaming, images, error handling and per-platform setup to privacy and automated tests.

The prompt contains no key and no address of this computer, so it's safe to send to developers.

  1. 01What the QR code contains, and how to validate it
  2. 02Saving the connection
  3. 03Finding the PC
  4. 04Calling the API
  5. 05Streaming (optional)
  6. 06Images (optional)
  7. 07Errors
  8. 08Platform setup
  9. 09Privacy and security
  10. 10Tests (with a fake HTTP server)
  11. 11Definition of done

Before you start

The QR code is the key

LAN connections are unencrypted HTTP, so people on the same network may be able to read them. Use this only on a network you trust. Don't photograph or share the QR code; if it gets out, revoke that device in the app.

Devices can't switch models

You can make a QR code now; devices can use it once you load a model. A device can't download or load a model itself.

Revoke anytime

Once revoked, the device that used it can no longer use this computer's model. You can also manage every key on the API Configuration page.

Still in testing

API QR Code is still being tested: the QR code format and this page may change.

Next

Let AI agents use this computer too

AI agent connections (MCP) let tools like Claude Code and Cursor call text recognition and speech transcription.