Стварыце WIA Code адным радком. У межах бясплатных лімітаў ключ не патрэбны.
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.
Бустэр QR заўсёды ўключаны. Няма магчымасці яго адключыць — тое ж самае датычыцца API, MCP і CLI. «Калі сукупнае выкарыстанне дасягне 100 мільёнаў разоў, бустэр адасобіцца, і на яго месца стане ваш уласны лагатып» — гэта абяцанне прадукту, таму мы не рабілі выключэння ні для аднаго шляху. Параметры кадавання (grid, bpc, bridge) таксама зафіксаваны на серверы.
npx wiacode "https://wiacode.com" --shape heart
Адразу працуе на Node 18 ці навей, без усталёўкі. У яго няма залежнасцяў, таму загрузка займае некалькі секунд.
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 / vCard / iCalendar, байт у байт ідэнтычны таму, што стварае генератар на гэтым сайце.
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"
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 | абавязкова | неабавязкова |
|---|---|---|
| wifi | ssid, password | security (WPA·WEP·nopass), hidden |
| card | name | org, tel, email |
| event | title, start | end, 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"}
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. Дадайце ?format=json, каб атрымаць base64 і метаданыя ў фармаце JSON.
curl -X POST 'https://wiacode.com/api/v1/code?format=json' \
-H 'Content-Type: application/json' \
-d '{"text":"https://wiacode.com","shape":"square"}'
Вы можаце выклікаць яго непасрэдна з вэб-праграмы з любога паходжання. Гэта публічны API, які не выкарыстоўвае файлы cookie, таму 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,...
curl https://wiacode.com/api/v1/shapes
| назва | абавязкова | апісанне |
|---|---|---|
| text | ✓ | Тэкст або URL для кадавання. Доўгія URL лепш спачатку скараціць. |
| type | — | wifi · card · event. Перадаецца замест text — сервер збірае стандартны радок з палёў. Гл. раздзел «Тыпы» вышэй. |
| shape | — | Сілуэт (стандартна heart). Гл. табліцу ніжэй. |
| cellPx | — | Пікселяў на клетку (3–20, стандартна 8). Большае значэнне азначае большы малюнак. |
| label | — | Метка, якая захоўваецца ў метаданых. Яна не малюецца на выяве. |
Кожны сілуэт утрымлівае розную колькасць (байты UTF-8). Для доўгага змесціва выкарыстоўвайце square; для кароткіх спасылак падыдзе любая форма.
| shape | bytes | shape | bytes |
|---|---|---|---|
| square | 1450 | rose | 586 |
| round | 1093 | clover | 521 |
| hex | 861 | star | 386 |
| heart | 854 | boomerang | 386 |
Падключыце да ІІ-кліента накшталт Claude, і ён будзе ствараць коды проста ў размове. Канчатковая кропка — https://mcp.wiacode.com/mcp, ключ не патрэбны.
{
"mcpServers": {
"wiacode": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.wiacode.com/mcp"]
}
}
}
Калі ваш кліент падтрымлівае Streamable HTTP непасрэдна, проста дайце яму гэты URL.
| інструмент | што робіць |
|---|---|
| get_wia_code_info | Тлумачыць, што такое WIA Code, чым ён адрозніваецца ад QR-кода, і ёмістасць кожнага сілуэта. Выклік гэтага спачатку зніжае колькасць памылак. |
| generate_wia_code | Ператварае тэкст у выяву кода. Калі перавышана ёмістасць, паведамляе, якія сілуэты падышлі б. |
| generate_wia_code_wifi | Уліковыя дадзеныя Wi-Fi — сканіраванне падключае да сеткі без уводу пароля. |
| generate_wia_code_card | Кантакт як стандартная vCard — сканіраванне прапануе захаваць яго ў кантактах тэлефона. |
| generate_wia_code_event | Падзея як стандартны iCalendar — сканіраванне дадае яе ў каляндар. |
503. Проста паспрабуйце зноў крыху пазней.429 разам з колькасцю секунд, якія трэба пачакаць.Калі патрэбна больш — для масавай выдачы, партнёрства ці камерцыйнага выкарыстання, напішыце нам на пошту. Мы дадзім ключ, які павышае ліміт. wiasoom@smilestory.ai
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.
WIA Code — прадукт SmileStory Co., Ltd. Бустэр QR — гэта дапаможнік, які дазваляе прачытаць код і тым, у каго няма спецыяльнага сканера.