EventPics QR Codes
Cria códigos QR para qualquer link ou texto, incluindo um design em formato de coração, e retorna links permanentes para PNG e SVG. Servidor remoto em https://mcp.event.pics/qr, sem necessidade de login.
Servidor MCP hospedado
npx add-mcp 'https://mcp.event.pics/qr'Instala no Claude Code, Codex, Cursor e outros
Documentação
QR code image API
One URL, one picture. Put your link after data= and you get a QR code back as PNG or SVG, rendered the moment you ask for it. Free, no API key, no sign-up.
This page is in English. A short version in your language: Deutsch · Español · Français · Italiano · Português
https://event.pics/qr.png?data=https://example.com

Standard design https://event.pics/qr.png?data=https://event.pics

Heart design https://event.pics/qr.png?data=https://event.pics&design=heart

Your own shapes and colour https://event.pics/qr.png?data=https://event.pics&dots=dots&eyes=dot&fg=003366
Quick start
Use the address wherever an image address fits: an <img> tag, a spreadsheet, a newsletter, a Markdown file, a print layout tool. Only data is needed; every other parameter has a sensible default.
<img src="https://event.pics/qr.svg?data=https%3A%2F%2Fexample.com&design=heart"
alt="QR code" width="200" height="200">

curl -o qr.png "https://event.pics/qr.png?data=https%3A%2F%2Fexample.com&size=2000"
/qr.png returns a PNG, /qr.svg the same code as SVG. SVG stays sharp at any print size, PNG works everywhere.
Parameters
| Name | What it does | Default |
|---|---|---|
data | The text or link to encode, up to 1200 characters. Encode it with encodeURIComponent when it contains &, # or + (see below). | https://event.pics |
design | standard heart. heart is a real QR code shaped like a heart: the module grid is turned into a diamond and framed by two lobes. It always uses error correction H. | standard |
dots | square dots rounded extra-rounded classy classy-rounded | rounded |
eyes | Shape of the three large corner squares: square dot extra-rounded rounded dots | extra-rounded |
eyesInner | Shape of the dot inside each corner square: square dot extra-rounded rounded dots | extra-rounded |
fg | Colour of the code: #rrggbb, rrggbb, #rgb or a basic colour name such as navy. Without the # you do not have to encode it. | 000000, heart c1272d |
bg | Background colour, same spellings, or transparent. | ffffff |
ecl | Error correction L M Q H. Higher levels survive more damage but need more modules. | Q |
size | Edge length of the picture in pixels, 100 to 3000. In an SVG this is only the display size; the drawing stays sharp at any size. | 1024 PNG, 512 SVG |
margin | Empty border around the code, counted in modules (the small squares the code is made of), 0 to 20. Scanners need this border to find the code; the QR specification asks for 4. 0 draws the code edge to edge. The heart never goes below 2, because its lobes sit in that border. | 4, heart 2 |
download | 1 adds a Content-Disposition: attachment header, so a browser saves the file instead of showing it. | off |
Unknown parameters are ignored. Several common spellings are understood too, for example url or text for data, color for fg and eyes-inner for eyesInner.
Links that have their own? and &
If the link you want to encode has parameters of its own, encode it first. Otherwise its & splits it into separate parameters, a # cuts it off, and a + may turn into a space.
const link = 'https://shop.example/?ref=flyer&utm_source=print';
const src = 'https://event.pics/qr.png?data=' + encodeURIComponent(link);
When you forget, the API repairs the common case: parts after an unencoded link that are not API parameters are joined back into the link, and the x-ep-qr-notes header says so. It cannot repair a part whose name is also an API parameter, such as size, and it never sees anything after a #, because browsers do not send it.
How it behaves
- Never a 400. A value that cannot be used is clamped or replaced by the default, and you still get a picture. What was changed is listed in the
x-ep-qr-notesresponse header, together with parameter names that were not recognised. - Cached for a year. The same request always returns the same picture, so responses carry
Cache-Control: immutableand anETag.HEADandIf-None-Matchwork. - Open CORS.
Access-Control-Allow-Origin: *, so scripts on any site can fetch the pictures. - Fair use. Pictures served from the cache are unlimited. Pictures that have to be drawn fresh are limited to 60 per minute and IP address; above that you get a 429 with
Retry-After. - Nothing is recorded. Query strings are not logged, so we do not know what you encode. Details in the privacy policy, section 10.6.
- Permanent addresses. There is no version in the path, and the URL pattern will not be versioned away. A code you embed today keeps working.
What it deliberately does not do
- No logo inside the code. The API would have to download a foreign image for that. The QR code generator adds logos in your browser, where the image never leaves your device.
- No short links and no redirects. The code contains exactly what you put into
data, so it keeps working even if EventPics ever disappears. - No tracking of scans. Nobody is counted when the code is scanned.
Use it from Claude, ChatGPT and other AI assistants
The API is also an MCP server, so an assistant can make QR codes for you in the chat: ask for a heart shaped QR code for our wedding album and you get the picture plus a permanent link. No sign-in, no key.
Server address: https://mcp.event.pics/qr
- Claude (claude.ai and the desktop app): add a custom connector and paste the address. Claude Code:
claude mcp add --transport http eventpics-qr https://mcp.event.pics/qr - ChatGPT: in developer mode, create a connector with the address and choose no authentication.
- Other clients: Streamable HTTP transport, no authentication. One tool,
create_qr_code, with the same options as the parameters above.
The server answers with the same links this page describes, so whatever the assistant hands you keeps working without it. In ChatGPT and Claude the code appears right in the chat, with buttons for the download, the PNG and the SVG.
For developers and AI agents
- MCP server (Streamable HTTP, no sign-in):
https://mcp.event.pics/qr, see above - OpenAPI description: event.pics/openapi.json
- Examples and
server.jsonon GitHub: eventpics/qr-code-api - Directory listings: official MCP registry (
pics.event/qr), Glama, mcp.so - Plain-text manual:
curl https://event.pics/qr - Site overview for language models: event.pics/llms.txt
Looking for a way to upload photos into your EventPics albums automatically? That is a different API, with a key for your account: upload API documentation, openapi.yaml.
Prefer clicking?
The QR code generator builds the same codes with a preview, a logo option and print templates: English · Deutsch · Español · Français · Italiano · Português.
EventPics itself is a photo sharing app for weddings and parties: guests scan a QR code and every photo ends up in one shared album. See how it works.