Ndị Mmepe — API · MCP · CLI

Mepụta WIA Code n'ahịrị ọ bụ otu. Ọ dịghị mkpa igodo n'ime oke efu.

Building an AI or vision system? WIA Code identification reference for AI systems — the three centre elements, why the outline is free, and the misidentifications to avoid. Plain-text counterpart: /llms.txt.

A na-etinye booster QR mgbe niile. Enweghị nhọrọ iji gbanyụọ ya — otu ihe ahụ metụtara API, MCP na CLI. "Mgbe ojiji kpokọtara ruru nde 100, booster ga-ekewapụ, akara gị onwe gị ga-anọkwa n'ọnọdụ ya" bụ nkwa ngwaahịa, ya mere anyị emeghị ka ọ bụrụ ihe mmemme n'ụzọ ọ bụla. A na-edobekwa parametas ndekọ (grid, bpc, bridge) na sava.

CLI — otu ahịrị, enweghị nrụnye

npx wiacode "https://wiacode.com" --shape heart

Ọ na-agba ọsọ ozugbo na Node 18 ma ọ bụ nke ka ọhụrụ, na-enweghị nrụnye. Ọ nweghị ndabere, ya mere ịnata ya na-ewe naanị sekọnd ole na ole.

npx wiacode --list-shapes              # silhouettes and capacity
npx wiacode "Hello" --shape square -o hello.png
npx wiacode "a link" --shape heart --json    # print metadata only
npx wiacode card --name "Jane Doe" --tel "+82-10-1234-5678"   # wifi / card / event

Ụdị — Wi-Fi, kaadị kọntaktị, mmemme

Ụdị atọ akwadolarị. Ị chọghị ịkpụkọta eriri ndị a n'onwe gị — nyefee ubi ndị ahụ, sava wee wuo ọdịnaya Wi-Fi / vCard / iCalendar ọkọlọtọ, nke dabara byte na byte n'ihe ọ na-emepụta bụ nke ihe mmepụta dị na saịtị a na-emepụta.

CLI

npx wiacode wifi  --ssid "MyNet" --password "secret"
npx wiacode wifi  --ssid "Cafe" --security nopass          # open network
npx wiacode card  --name "Jane Doe" --org "SmileStory" --tel "+82-10-1234-5678" --email "a@b.c"
npx wiacode event --title "Launch party" --start "2026-09-01 19:00" --end "2026-09-01 21:00" --location "Seoul"

REST

curl -X POST https://wiacode.com/api/v1/code \
  -H 'Content-Type: application/json' \
  -d '{"type":"card","name":"Jane Doe","tel":"+82-10-1234-5678","shape":"square"}' \
  -o card.png

Ubi

typeachọrọnhọrọ
wifissid, passwordsecurity (WPA·WEP·nopass), hidden
cardnameorg, tel, email
eventtitle, startend, location, desc

A na-edepụta oge dị ka "2026-09-01 19:00". Maka netwọk Wi-Fi mepere emepe, nyefee security=nopass wee hapụ paswọọdụ. Ubi na-efu efu ma ọ bụ nke na-adabaghị adaba ga-alaghachi dị ka HTTP 400 nwere ozi na-akpọ aha ubi ahụ — a naghị emepụta onyonyo, yabụ arịrịọ ọjọọ anaghị ewere ohere ndaba mgbe ọ bụla.

Ọtụtụ n'otu oge

Otu ahịrị maka koodu ọ bụla. Mgbe oke ọsọ ruru, ọ na-eche wee gaa n'ihu kama ịkwụsị n'etiti, ma na-akọwapụta ahịrị ndị dara ada ya na ọnụọgụgụ ahịrị ha n'ezie.

npx wiacode batch people.jsonl --out-dir codes

# people.jsonl
{"type":"card","name":"Jane Doe","tel":"+82-10-1234-5678","out":"jane.png"}
{"type":"wifi","ssid":"Cafe WIA","security":"nopass"}
{"text":"https://wiacode.com","shape":"star"}

REST API

POST /api/v1/code

curl -X POST https://wiacode.com/api/v1/code \
  -H 'Content-Type: application/json' \
  -d '{"text":"https://wiacode.com","shape":"heart"}' \
  -o wiacode.png

Nzaghachi bụ image/png. Tinye ?format=json iji nweta base64 na metadata dị ka JSON.

curl -X POST 'https://wiacode.com/api/v1/code?format=json' \
  -H 'Content-Type: application/json' \
  -d '{"text":"https://wiacode.com","shape":"square"}'

Ịkpọ ya site na Browser

Ị nwere ike ịkpọ ya kpọmkwem site na ngwa weebụ dị na origin ọ bụla. Ọ bụ public API na-adịghị eji cookie, ya mere CORS mepere emepe.

const r = await fetch('https://wiacode.com/api/v1/code?format=json', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ text: 'https://wiacode.com', shape: 'heart' })
});
const { image, meta } = await r.json();
document.querySelector('img').src = image;   // data:image/png;base64,...

GET /api/v1/shapes

curl https://wiacode.com/api/v1/shapes

Paramita

ahaachọrọnkọwa
textEderede ma ọ bụ URL a ga-edekọ. Ọ ka mma ka e mee ka URL ndị dị ogologo dị mkpumkpu tupu.
typewifi · card · event. A na-enye ya kama text — sava na-esite na ubi ndị ahụ wuo eriri ọkọlọtọ ahụ. Lee ngalaba Types dị n'elu.
shapeOnyonyo (ndabara heart). Lee tebụl dị n'okpuru.
cellPxPikselụ kwa cell (3–20, ndabara 8). Nnukwu ọnụọgụ pụtara nnukwu foto.
labelAkara e debere na metadata. Anaghị ese ya na foto.

Onyonyo na ike ọ na-ebu

Onyonyo ọ bụla na-ebu ọnụọgụ dị iche (UTF-8 byte). Jiri square maka ọdịnaya toro ogologo; ụdị ọ bụla dabara maka njikọ mkpirisi.

shapebytesshapebytes
square1450rose586
round1093clover521
hex861star386
heart854boomerang386

MCP — kwe ka AI mepụta ya

Jikọọ ya na ngwa AI dị ka Claude, ọ na-emepụta koodu ozugbo n'ime mkparịta ụka. Njedebe ya bụ https://mcp.wiacode.com/mcp, enweghịkwa mkpa igodo.

Ntọlite Claude Desktop

{
  "mcpServers": {
    "wiacode": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.wiacode.com/mcp"]
    }
  }
}

Ọ bụrụ na onye ahịa gị na-akwado Streamable HTTP kpọmkwem, naanị nye ya URL ahụ.

Ngwaọrụ

ngwá ọrụihe ọ na-eme
get_wia_code_infoNa-akọwa ihe WIA Code bụ, otú o si dị iche na koodu QR, na ike onyonyo ọ bụla na-ebu. Ịkpọ nke a mbụ na-ebelata ọdịda.
generate_wia_codeNa-agbanwe ederede ka ọ bụrụ foto koodu. Ọ bụrụ na ọ karịrị ike ya, ọ na-agwa gị onyonyo ndị ga-adaba.
generate_wia_code_wifiIhe ịnweta Wi-Fi — nyocha na-eme ka ị sonye na netwọk ahụ na-etinyeghị paswọọdụ.
generate_wia_code_cardOnye kọntaktị dị ka vCard ọkọlọtọ — nyocha na-akwado ichekwa ya na kọntaktị ekwentị.
generate_wia_code_eventMmemme dị ka iCalendar ọkọlọtọ — nyocha na-agbakwunye ya na kalenda.

Oke efu

Ọ bụrụ na ị chọrọ karịa — maka mwepụta n'ọtụtụ, mmekọrịta, ma ọ bụ ojiji azụmahịa, zitere anyị email. Anyị ga-enye gị igodo nke ga-ebuli oke ahụ elu. wiasoom@smilestory.ai

WIA Stream — when one code isn't enough

A single WIA Code holds up to 1,450 bytes. When the payload is larger — a document, a book chapter, an audio clip — Stream splits it across many frames. A screen plays them in sequence, a camera collects them, and the scanner reassembles the file. No internet, no server. It already ships in the generator.

What matters here is not speed — it is whether the transfer finishes at all. Stream needs every frame. A frame that fails to read must wait for the next pass, and may fail again. So a per-frame reading gap does not average out; it multiplies into the completion time. In our degradation sweep at matched physical size (1064 vs 1088 px, n=17, QR read with ZBar), a high-version QR frame read 52.9% of the time while a WIA frame read 17 of 17. Feeding those rates into a cyclic-broadcast model, a 286-frame QR transfer needs about 8 passes to complete while a 155-frame WIA transfer needs about one.

Read this honestly: n = 17 is a small sample. By the rule of three, "17 of 17" should be read as ≥ 82% with 95% confidence, and the 52.9% figure carries a 29–77% interval. Taking the least favourable end of both, the completion-time gap is still about 2.4×. Screen-to-camera capture on real handsets and printed output have not been measured yet. And QR wins on blur resistance at equal frame size — we only pull ahead once capacity is matched.

Ihe ọzọ

Meghee generator →

WIA Code bụ ngwaahịa nke SmileStory Co., Ltd. Booster QR bụ ntuziaka na-enyere ndị na-enweghị igwe nyocha akọwapụtara aka ka ha nwekwuo ike ịgụ ya.