ဒီဗလိုပါများ — API · MCP · CLI

WIA Code ကို တစ်ကြောင်းတည်းနဲ့ ဖန်တီးပါ။ အခမဲ့ ကန့်သတ်ချက်အတွင်းမှာ key မလိုအပ်ပါ။

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.

booster QR ကို အမြဲတမ်း ထည့်သွင်းထားပါတယ်။ ပိတ်ဖို့ ရွေးချယ်စရာ မရှိပါ — API၊ MCP နဲ့ CLI အားလုံးမှာလည်း အတူတူပါပဲ။ "စုစုပေါင်းအသုံးပြုမှု ၁၀၀ သန်းရောက်တဲ့အခါ booster ခွဲထွက်ပြီး သင့်ရဲ့ ကိုယ်ပိုင် လိုဂို ကနေ အစားထိုးလိမ့်မယ်" ဆိုတာ ကတိတစ်ခုဖြစ်လို့ ဘယ်လမ်းကြောင်းကိုမှ ခြွင်းချက်မထားပါ။ Encoding parameters (grid, bpc, bridge) တွေကိုလည်း server ပေါ်မှာ သတ်မှတ်ထားပါတယ်။

CLI — install မလိုပဲ တစ်ကြောင်းတည်း

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

Node 18 (သို့) ပိုအသစ်ပေါ်မှာ install မလိုပဲ ချက်ချင်း အလုပ်လုပ်ပါတယ်။ dependency မရှိလို့ ရယူဖို့ စက္ကန့်အနည်းငယ်သာ ကြာပါတယ်။

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

အမျိုးအစားများ — Wi-Fi၊ အဆက်အသွယ်ကတ်၊ ပွဲ

အသင့်ပြင်ဆင်ထားသော အမျိုးအစားသုံးမျိုး။ စာကြောင်းများကို သင့်ဘာသာ တည်ဆောက်စရာမလိုပါ — ကွက်လပ်များကိုပေးလိုက်ရုံဖြင့် ဆာဗာက စံ Wi-Fi / vCard / iCalendar အကြောင်းအရာကို ဤဆိုက်ရှိ ဂျင်နရေတာ ထုတ်လုပ်သည့်အရာနှင့် ဘိုက်ချင်း အတိအကျတူညီအောင် တည်ဆောက်ပေးသည်။

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

ကွက်လပ်များ

typeလိုအပ်ရွေးချယ်နိုင်
wifissid, passwordsecurity (WPA·WEP·nopass), hidden
cardnameorg, tel, email
eventtitle, startend, location, desc

အချိန်များကို "2026-09-01 19:00" ပုံစံဖြင့် ဖော်ပြသည်။ ပွင့်လင်း Wi-Fi ကွန်ရက်အတွက် security=nopass ကိုပေးပို့ပြီး စကားဝှက်ကို ချန်ထားပါ။ ကွက်လပ်များ ပျောက်နေခြင်း သို့မဟုတ် ပုံစံမမှန်ကန်ခြင်းရှိပါက ထိုကွက်လပ်၏အမည်ကို ဖော်ပြသည့် စာသားနှင့်အတူ HTTP 400 ပြန်ရမည် — ပုံရိပ်ကို ထုတ်ပေးမည်မဟုတ်သဖြင့် မှားယွင်းသော တောင်းဆိုမှုသည် ထုတ်လုပ်ရန်နေရာကို မည်သည့်အခါမျှ မယူပါ။

တစ်ခါတည်း အများကြီး

ကုဒ်တစ်ခုစီအတွက် စာကြောင်းတစ်ကြောင်း။ နှုန်းကန့်သတ်ချက်ရောက်လျှင် လမ်းတစ်ဝက်တွင် ရပ်တန့်မည့်အစား စောင့်ဆိုင်းပြီး ဆက်လုပ်သွားပြီး၊ မအောင်မြင်သော စာကြောင်းများကို ၎င်းတို့၏ အမှန်တကယ် စာကြောင်းနံပါတ်များနှင့်အတူ အစီရင်ခံပါသည်။

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

အဖြေက image/png ဖြစ်ပါတယ်။ base64 နဲ့ metadata ကို JSON အနေနဲ့ ရချင်ရင် ?format=json ကို ထည့်ပါ။

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

ဘရောက်ဇာမှ ခေါ်ခြင်း

မည်သည့် origin ပေါ်ရှိ web app မှမဆို တိုက်ရိုက်ခေါ်နိုင်ပါသည်။ ၎င်းသည် cookie မသုံးသော အများသုံး API ဖြစ်သောကြောင့် CORS ကို ဖွင့်ထားပါသည်။

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

Parameters

အမည်လိုအပ်ဖော်ပြချက်
textencode လုပ်မယ့် စာသား (သို့) URL။ URL ရှည်ရှည်ကို အရင်ဆုံး တိုစေတာက ပိုကောင်းပါတယ်။
typewifi · card · eventtext အစား ပေးသည် — ဆာဗာက ကွက်လပ်များမှ စံစာကြောင်းကို တည်ဆောက်သည်။ အထက်ပါ အမျိုးအစားများ အပိုင်းကို ကြည့်ပါ။
shapeSilhouette (မူလ heart)။ အောက်က ဇယားကို ကြည့်ပါ။
cellPxCell တစ်ခုစီရဲ့ pixel (3–20, မူလ 8)။ ပိုကြီးရင် ပုံက ပိုကြီးပါတယ်။
labelmetadata ထဲမှာ သိမ်းထားတဲ့ label တစ်ခု။ ပုံပေါ်မှာ ဆွဲမထားပါ။

Silhouettes နဲ့ ဇမ်းဖိုင် (capacity)

Silhouette တစ်ခုစီက ကွဲပြားတဲ့ ပမာဏ (UTF-8 bytes) ကို ဆောင်ပါတယ်။ အကြောင်းအရာ ရှည်ရင် square ကို သုံးပါ; link တိုတိုအတွက်တော့ ပုံစံ ဘယ်ဟာမဆို ရပါတယ်။

shapebytesshapebytes
square1450rose586
round1093clover521
hex861star386
heart854boomerang386

MCP — AI ကို ဖန်တီးခိုင်းပါ

Claude လို AI client တစ်ခုနဲ့ ချိတ်ဆက်ရင် စကားပြောနေစဉ်ထဲမှာပဲ code တွေ ဖန်တီးပေးပါတယ်။ endpoint က https://mcp.wiacode.com/mcp ဖြစ်ပြီး key မလိုအပ်ပါ။

Claude Desktop ချိတ်ဆက်နည်း

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

သင့် client က Streamable HTTP ကို တိုက်ရိုက် support လုပ်ရင် ဒီ URL ကိုပဲ ပေးလိုက်ပါ။

Tools

ကိရိယာလုပ်ဆောင်ချက်
get_wia_code_infoWIA Code ဆိုတာ ဘာလဲ၊ QR code နဲ့ ဘယ်လို ကွဲပြားလဲ၊ silhouette တစ်ခုစီရဲ့ capacity ဘယ်လောက်ရှိလဲ ရှင်းပြပါတယ်။ ဒါကို အရင်ဆုံး ခေါ်ခြင်းက အမှားကို လျှော့ချပေးပါတယ်။
generate_wia_codeစာသားကို code ပုံအဖြစ် ပြောင်းပေးပါတယ်။ capacity ကျော်သွားရင် ဘယ် silhouette တွေ ဝင်မလဲ ပြောပြပါတယ်။
generate_wia_code_wifiWi-Fi အထောက်အထားများ — စကန်ဖတ်လိုက်ရုံဖြင့် စကားဝှက်ကို ရိုက်ထည့်စရာမလိုဘဲ ကွန်ရက်သို့ ဝင်ရောက်နိုင်သည်။
generate_wia_code_cardအဆက်အသွယ်တစ်ခုကို စံ vCard အနေဖြင့် — စကန်ဖတ်လိုက်ရုံဖြင့် ဖုန်း၏ အဆက်အသွယ်များထဲသို့ သိမ်းဆည်းရန် အဆိုပြုသည်။
generate_wia_code_eventပွဲတစ်ခုကို စံ iCalendar အနေဖြင့် — စကန်ဖတ်လိုက်ရုံဖြင့် ပြက္ခဒိန်ထဲသို့ ထည့်ပေးသည်။

အခမဲ့ ကန့်သတ်ချက်များ

ပိုလိုအပ်ရင် — အများအပြား ထုတ်ပေးခြင်း၊ ပါတနာလုပ်ခြင်း (သို့) စီးပွားရေးအသုံးချရန်အတွက် ကျွန်ုပ်တို့ကို email ပို့ပါ။ ကန့်သတ်ချက် တိုးပေးမယ့် key ကို ပေးပါမယ်။ 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.

ထပ်ဆောင်း

Generator ကို ဖွင့်ပါ →

WIA Code သည် SmileStory Co., Ltd. ၏ ထုတ်ကုန်တစ်ခု ဖြစ်ပါတယ်။ booster QR သည် သီးသန့် scanner မရှိသူများပါ ဖတ်နိုင်စေရန် အထောက်အကူပြု လမ်းညွှန်တစ်ခု ဖြစ်ပါတယ်။