Build a Wi-Fi QR
qr_build_wifiEncode Wi-Fi credentials into a scannable QR code to share network access without typing passwords. Returns a WIFI: payload string and generated QR image.
Instructions
Encode Wi-Fi credentials (SSID, password, auth type, hidden flag) into a scannable Wi-Fi QR. Returns both the WIFI:... payload string and a generated QR image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssid | Yes | The Wi-Fi network name (SSID). | |
| hidden | No | Set true if the SSID is hidden (not broadcast). Defaults to false. | |
| authType | No | Authentication type. Defaults to "WPA". Use "nopass" for open networks. | |
| password | No | Network password. Required unless authType is "nopass". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | File format the engine rendered: png, svg, jpg, webp or pdf. | |
| payload | Yes | The payload string the engine built and the QR encodes (WIFI:..., BEGIN:VCARD..., geo:...). | |
| filePath | No | PDF in the stdio package only: local temp file the PDF was written to. | |
| mimeType | No | MIME type of the rendered file (the engine's contentType). | |
| sizeBytes | No | Size of the rendered file in bytes, as reported by the engine. | |
| resourceUri | No | PDF on the remote server only: URI of the embedded resource block that carries the file. |