Agħmel WIA Code b'linja waħda. Ma teħtieġx ċavetta fil-limitu b'xejn.
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.
Il-booster QR dejjem inkluż. M'hemmx għażla biex titfih — l-istess japplika għall-API, MCP u CLI. "Meta l-użu kumulattiv jilħaq 100 miljun darba, il-booster jinfired u l-logo tiegħek stess tidħol floku" hija wegħda tal-prodott, għalhekk ma għamilniex eċċezzjoni għal ebda triq. Il-parametri tal-kodifikazzjoni (grid, bpc, bridge) huma ffissati wkoll fuq is-server.
npx wiacode "https://wiacode.com" --shape heart
Jaħdem minnufih fuq Node 18 jew aktar reċenti, mingħajr installazzjoni. M'għandu ebda dipendenza, għalhekk il-ġbid jieħu ftit sekondi.
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
Tliet tipi lesti. M'għandekx bżonn tibni l-istrings int stess — għaddi l-oqsma u s-server jibni kontenut Wi-Fi / vCard / iCalendar standard, identiku bajt għal bajt ma' dak li jipproduċi l-ġeneratur f'dan is-sit.
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 | meħtieġ | fakultattiv |
|---|---|---|
| wifi | ssid, password | security (WPA·WEP·nopass), hidden |
| card | name | org, tel, email |
| event | title, start | end, location, desc |
Il-ħinijiet huma bħal "2026-09-01 19:00". Għal netwerk Wi-Fi miftuħ, għaddi security=nopass u ħalli l-password barra. Oqsma neqsin jew ifformattjati ħażin jirritornaw bħala HTTP 400 b'messaġġ li jsemmi l-qasam — l-ebda immaġni ma tiġi rrenderjata, għalhekk talba ħażina qatt ma tokkupa slot ta' rendering.
Linja waħda għal kull kodiċi. Meta jintlaħaq limitu tar-rata, jistenna u jkompli minflok ma jieqaf f'nofs it-triq, u jirrapporta l-linji li fallew bin-numri reali tal-linja tagħhom.
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
It-tweġiba hija image/png. Żid ?format=json biex tikseb base64 u metadata bħala JSON.
curl -X POST 'https://wiacode.com/api/v1/code?format=json' \
-H 'Content-Type: application/json' \
-d '{"text":"https://wiacode.com","shape":"square"}'
Tista' ssejjaħha direttament minn applikazzjoni web fuq kwalunkwe origin. Hija API pubblika li ma tuża l-ebda cookie, għalhekk is-CORS hija miftuħa.
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
| isem | meħtieġ | deskrizzjoni |
|---|---|---|
| text | ✓ | It-test jew URL li għandu jiġi kodifikat. URLs twal aħjar jitqassru l-ewwel. |
| type | — | wifi · card · event. Mogħti minflok text — is-server jibni l-string standard mill-oqsma. Ara t-taqsima Tipi hawn fuq. |
| shape | — | Siluetta (default heart). Ara t-tabella hawn taħt. |
| cellPx | — | Pixels għal kull ċellula (3–20, default 8). Aktar kbir ifisser stampa akbar. |
| label | — | Tikketta miżmuma fil-metadata. Ma tinġibidx fuq l-istampa. |
Kull siluetta żżomm ammont differenti (bytes UTF-8). Uża square għal kontenut twil; kwalunkwe forma taħdem għal links qosra.
| shape | bytes | shape | bytes |
|---|---|---|---|
| square | 1450 | rose | 586 |
| round | 1093 | clover | 521 |
| hex | 861 | star | 386 |
| heart | 854 | boomerang | 386 |
Qabbdu ma' client tal-AI bħal Claude u l-kodiċijiet jinħolqu direttament fil-konversazzjoni. L-endpoint huwa https://mcp.wiacode.com/mcp u ma tinħtieġ ebda ċavetta.
{
"mcpServers": {
"wiacode": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.wiacode.com/mcp"]
}
}
}
Jekk il-client tiegħek jappoġġja Streamable HTTP direttament, biżżejjed tagħti dan l-URL.
| għodda | x'tagħmel |
|---|---|
| get_wia_code_info | Jispjega x'inhu WIA Code, kif jiddifferixxi minn kodiċi QR, u l-kapaċità ta' kull siluetta. Jekk issejjaħ dan l-ewwel, jitnaqqsu l-fallimenti. |
| generate_wia_code | Ibiddel test f'immaġni ta' kodiċi. Jekk jaqbeż il-kapaċità, jgħidlek liema siluetti jaqblu. |
| generate_wia_code_wifi | Kredenzjali Wi-Fi — l-iskennjar jingħaqad man-netwerk mingħajr ma tikteb il-password. |
| generate_wia_code_card | Kuntatt bħala vCard standard — l-iskennjar joffri li jsalvah fil-kuntatti tat-telefon. |
| generate_wia_code_event | Avveniment bħala iCalendar standard — l-iskennjar iżidu mal-kalendarju. |
503. Sempliċement erġa' pprova ftit wara.429 flimkien ma' kemm sekondi trid tistenna.Jekk teħtieġ aktar — għal ħruġ bl-ingrossa, sħubijiet jew użu kummerċjali, ibgħatilna email. Nagħtuk ċavetta li tgħolli l-limitu. 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 huwa prodott ta' SmileStory Co., Ltd. Il-booster QR huwa gwida li tgħin ukoll lil dawk mingħajr scanner dedikat jaqrawh.