ડેવલપર્સ — API · MCP · CLI

એક લાઇનમાં 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 માટે પણ એ જ સાચું છે. "સંચિત ઉપયોગ 10 કરોડ વખત પહોંચે ત્યારે, બૂસ્ટર અલગ થઈ જશે અને તેની જગ્યાએ તમારો પોતાનો લોગો આવશે" એ પ્રોડક્ટનું વચન છે, તેથી અમે કોઈપણ એક પાથ માટે અપવાદ કર્યો નથી. એન્કોડિંગ પરિમાણો (grid, bpc, bridge) પણ સર્વર પર નિશ્ચિત છે.

CLI — એક લાઇન, ઇન્સ્ટોલ વગર

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, કોન્ટેક્ટ કાર્ડ, ઇવેન્ટ

ત્રણ તૈયાર પ્રકારો છે. તમારે જાતે સ્ટ્રિંગ્સ બનાવવાની જરૂર નથી — ફિલ્ડ્સ આપો અને સર્વર પ્રમાણભૂત 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 અને મેટાડેટા 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"}'

બ્રાઉઝરમાંથી કૉલ કરવું

તમે તેને કોઈપણ ઓરિજિનની વેબ ઍપમાંથી સીધું કૉલ કરી શકો છો. તે એક પબ્લિક 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

પરિમાણો

નામજરૂરીવર્ણન
textએન્કોડ કરવાનું ટેક્સ્ટ અથવા URL. લાંબા URL ને પહેલા ટૂંકા કરવા વધુ સારું છે.
typewifi · card · event. text ને બદલે આપવામાં આવે છે — સર્વર ફિલ્ડ્સમાંથી પ્રમાણભૂત સ્ટ્રિંગ બનાવે છે. ઉપર Types વિભાગ જુઓ.
shapeસિલુએટ (ડિફોલ્ટ heart). નીચે આપેલું કોષ્ટક જુઓ.
cellPxદરેક સેલ દીઠ પિક્સેલ (3–20, ડિફોલ્ટ 8). મોટું મૂલ્ય એટલે મોટી ઇમેજ.
labelમેટાડેટામાં રાખવામાં આવતું લેબલ. તે ઇમેજ પર દોરવામાં આવતું નથી.

સિલુએટ્સ અને ક્ષમતા

દરેક સિલુએટ અલગ-અલગ પ્રમાણ સમાવે છે (UTF-8 બાઇટ્સ). લાંબા કન્ટેન્ટ માટે square વાપરો; ટૂંકી લિંક્સ માટે કોઈપણ આકાર ચાલશે.

shapebytesshapebytes
square1450rose586
round1093clover521
hex861star386
heart854boomerang386

MCP — AI ને બનાવવા દો

તેને Claude જેવા AI ક્લાયન્ટ સાથે જોડો અને તે વાતચીતમાં જ કોડ બનાવશે. એન્ડપોઇન્ટ https://mcp.wiacode.com/mcp છે અને કોઈ કીની જરૂર નથી.

Claude Desktop સેટઅપ

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

જો તમારો ક્લાયન્ટ સીધો Streamable HTTP સપોર્ટ કરે છે, તો ફક્ત તેને URL આપો.

ટૂલ્સ

સાધનકાર્ય
get_wia_code_infoWIA Code શું છે, તે QR કોડથી કેવી રીતે અલગ છે, અને દરેક સિલુએટની ક્ષમતા શું છે તે સમજાવે છે. આને પહેલા કૉલ કરવાથી નિષ્ફળતાઓ ઘટે છે.
generate_wia_codeટેક્સ્ટને કોડ ઇમેજમાં ફેરવે છે. જો તે ક્ષમતા કરતાં વધી જાય, તો તે કહે છે કે કયા સિલુએટ્સ બંધબેસશે.
generate_wia_code_wifiWi-Fi ક્રેડેન્શિયલ્સ — સ્કેન કરવાથી પાસવર્ડ ટાઇપ કર્યા વિના નેટવર્કમાં જોડાય છે.
generate_wia_code_cardએક કોન્ટેક્ટ, પ્રમાણભૂત vCard તરીકે — સ્કેન કરવાથી ફોનના કોન્ટેક્ટ્સમાં સેવ કરવાનું સૂચન મળે છે.
generate_wia_code_eventએક ઇવેન્ટ, પ્રમાણભૂત iCalendar તરીકે — સ્કેન કરવાથી તે કેલેન્ડરમાં ઉમેરાય છે.

મફત મર્યાદાઓ

જો તમારે વધુ જોઈએ — બલ્ક ઇશ્યુ, ભાગીદારી અથવા વ્યાવસાયિક ઉપયોગ માટે, અમને ઈમેલ મોકલો. અમે તમને એક કી આપીશું જે મર્યાદા વધારે છે. 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.

વધુ

જનરેટર ખોલો →

WIA Code એ SmileStory Co., Ltd. નું ઉત્પાદન છે. બૂસ્ટર QR એક માર્ગદર્શિકા છે જે સમર્પિત સ્કેનર વગરના લોકોને પણ તેને વાંચવામાં મદદ કરે છે.