Crie um WIA Code em uma linha. Dentro do limite gratuito, nenhuma chave é necessária.
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.
O QR booster está sempre incluído. Não há opção de desativá-lo — o mesmo vale para a API, o MCP e o CLI. "Quando o uso acumulado atingir 100 milhões de vezes, o booster se separa e sua própria logo entra no lugar dele" é uma promessa do produto, então não abrimos exceção para nenhum caminho. Os parâmetros de codificação (grid, bpc, bridge) também são fixos no servidor.
npx wiacode "https://wiacode.com" --shape heart
Roda direto no Node 18 ou mais recente, sem instalação. Não tem dependências, então baixar leva só alguns segundos.
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
Três tipos prontos. Você não precisa montar as strings sozinho — envie os campos e o servidor monta o conteúdo padrão de Wi-Fi/vCard/iCalendar, byte a byte idêntico ao que o gerador deste site produz.
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 | obrigatório | opcional |
|---|---|---|
| wifi | ssid, password | security (WPA·WEP·nopass), hidden |
| card | name | org, tel, email |
| event | title, start | end, location, desc |
Os horários são "2026-09-01 19:00". Para uma rede Wi-Fi aberta, envie security=nopass e omita a senha. Campos ausentes ou malformados retornam como HTTP 400 com uma mensagem que nomeia o campo — nenhuma imagem é renderizada, então uma requisição inválida nunca ocupa um slot de renderização.
Uma linha por código. Ao atingir o limite de taxa, ele espera e continua em vez de parar no meio, e relata as linhas com falha com seus números de linha reais.
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
A resposta é image/png. Adicione ?format=json para receber base64 e metadados em JSON.
curl -X POST 'https://wiacode.com/api/v1/code?format=json' \
-H 'Content-Type: application/json' \
-d '{"text":"https://wiacode.com","shape":"square"}'
Você pode chamá-lo diretamente de um aplicativo web em qualquer origem. É uma API pública que não usa cookies, então o CORS está aberto.
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
| nome | obrigatório | descrição |
|---|---|---|
| text | ✓ | O texto ou URL a codificar. URLs longas é melhor encurtar antes. |
| type | — | wifi · card · event. Usado em vez de text — o servidor monta a string padrão a partir dos campos. Veja a seção Tipos acima. |
| shape | — | Silhueta (padrão heart). Veja a tabela abaixo. |
| cellPx | — | Pixels por célula (3–20, padrão 8). Quanto maior, maior a imagem. |
| label | — | Um rótulo mantido nos metadados. Não é desenhado na imagem. |
Cada silhueta comporta uma quantidade diferente (bytes UTF-8). Use square para conteúdo longo; qualquer forma serve para links curtos.
| shape | bytes | shape | bytes |
|---|---|---|---|
| square | 1450 | rose | 586 |
| round | 1093 | clover | 521 |
| hex | 861 | star | 386 |
| heart | 854 | boomerang | 386 |
Conecte a um cliente de IA como o Claude e os códigos são criados direto na conversa. O endpoint é https://mcp.wiacode.com/mcp e não exige chave.
{
"mcpServers": {
"wiacode": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.wiacode.com/mcp"]
}
}
}
Se o seu cliente suportar Streamable HTTP diretamente, basta informar essa URL.
| ferramenta | o que faz |
|---|---|
| get_wia_code_info | Explica o que é um WIA Code, como ele difere de um código QR e a capacidade de cada silhueta. Chamar isso primeiro reduz falhas. |
| generate_wia_code | Transforma texto em uma imagem de código. Se exceder a capacidade, informa quais silhuetas caberiam. |
| generate_wia_code_wifi | Credenciais de Wi-Fi — escanear conecta à rede sem digitar a senha. |
| generate_wia_code_card | Um contato como vCard padrão — escanear oferece salvá-lo nos contatos do telefone. |
| generate_wia_code_event | Um evento como iCalendar padrão — escanear o adiciona ao calendário. |
503. Basta tentar de novo em instantes.429 junto com quantos segundos esperar.Se precisar de mais — para emissão em massa, parcerias ou uso comercial, envie um e-mail. Vamos te dar uma chave que aumenta o limite. 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 é um produto da SmileStory Co., Ltd. O QR booster é um guia que ajuda quem não tem o leitor dedicado a também conseguir ler.