Написание API для генерации QR
196 USDНаписание API для генерации QR
За основу можно взять готовые библиотеки с GitHub:
x-hw/amazing-qr: 💮 amazing QRCode generator in Python (supporting animated gif) - Python amazing 二维码生成器(支持 gif 动态图片二维码)
soldair/node-qrcode: qr code generator
latentcat/qrbtf: AI & parametric QR code generator. AI & 参数化二维码生成器。https://qrbtf.com
chillerlan/php-qrcode: A PHP QR Code generator and reader with a user-friendly API.
Documentation
Create Custom QR Code
| URL | /qr/custom |
| Methods | GET, POST, OPTIONS |
| Response | Binary Image File (PNG, SVG, PDF, EPS) |
Create any custom QR code with this API. You can access this endpoint with POST and GET.
POST Request
All Parameters need to be send as JSON object in the request body.
GET Request
All Parameters need to be added in the URL. Parameters and the JSON config object needs to be URL encoded.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| data | String | required | The content you want to put in your QR Code (e.g. URL). URL encode the string for GET Requests. |
| size | Number | 300 | The minimum pixel size of your QR code image. Actual size of the QR code can be slightly bigger depending on data and configuration. |
| config | JSON Object | { } | The config JSON object defines the look of your QR code. Set colors, logo and design. URL encode the JSON string for GET Requests. See the documentation for the config JSON object |
| file | String | png | The output file format for your QR code. There are different formats available: "png", "svg" (support all config options), "pdf", "eps" (no support for color gradients). |
| download | Boolean | false | Set to true to force direct download of image file in Browser. Useful in GET scenarios. |
Config JSON Object
With the 'config' object you can customize the look and feel of your QR code. It is a JSON object with different parameters to set colors, logo and design.
| Parameter | Type | Default | Description |
|---|---|---|---|
| body | String | square |
|
| eye | String | frame0 |
|
| eyeBall | String | ball0 |
|
| erf1 | Array | [ ] | Rotate the upper left eye element. Add "fv" or "fh" to invert element vertically or horizontally. E.g. ["fv","fh"] inverts a element vertically and horziontally. |
| erf2 | Array | [ ] | Rotate the upper right eye element. Add "fv" or "fh" to invert element vertically or horizontally. E.g. ["fv","fh"] inverts a element vertically and horziontally. |
| erf3 | Array | [ ] | Rotate the lower left eye element. Add "fv" or "fh" to invert element vertically or horizontally. E.g. ["fv","fh"] inverts a element vertically and horziontally. |
| brf1 | Array | [ ] | Rotate the upper left eye ball element. Add "fv" or "fh" to invert element vertically or horizontally. E.g. ["fv","fh"] inverts a element vertically and horziontally. |
| brf2 | Array | [ ] | Rotate the upper right eye ball element. Add "fv" or "fh" to invert element vertically or horizontally. E.g. ["fv","fh"] inverts a element vertically and horziontally. |
| brf3 | Array | [ ] | Rotate the lower left eye ball element. Add "fv" or "fh" to invert element vertically or horizontally. E.g. ["fv","fh"] inverts a element vertically and horziontally. |
| bodyColor | String | #000000 | Color of QR code body as HEX value. |
| bgColor | String | #ffffff | Color of QR code background as HEX value. Note: the background should always have a lighter color to be scanable with all devices. |
| eye1Color | String | #000000 | Color of the upper left eye as HEX value. |
| eye2Color | String | #000000 | Color of the upper right eye as HEX value. |
| eye3Color | String | #000000 | Color of the lower left eye as HEX value. |
| eyeBall1Color | String | #000000 | Color of the upper left eye ball as HEX value. |
| eyeBall2Color | String | #000000 | Color of the upper right eye ball as HEX value. |
| eyeBall3Color | String | #000000 | Color of the lower left eye ball as HEX value. |
| gradientColor1 | String | null | Color 1 for gradient color of body as HEX. |
| gradientColor2 | String | null | Color 2 for gradient color of body as HEX. |
| gradientType | String | linear | Gradient type for color of body. Value can be "linear" or "radial". |
| gradientOnEyes | Boolean | false | Disable individual colors for the eye elements and set the gradient color for the complete QR code. |
| logo | String | null | The filename of an uploaded image or an image URL. When using an uploaded image instead of an URL please look at the upload API (see below) and use the given "file" value for this parameter. |
| logoMode | String | default | Set this value to "clean" to remove the background behind the integrated logo. |
Examples
| Request URL | /qr/custom |
| Request Method | POST |
| Request Body | {"data":"https://www.qrcode-monkey.com", |
| Response | ![]() |
| Request URL | /qr/custom |
| Request Method | POST |
| Request Body | {"data":"https://www.qrcode-monkey.com", |
| Response | ![]() |
Create Transparent QR Code
| URL | /qr/transparent |
| Methods | GET, POST, OPTIONS |
| Response | Binary Image File (PNG, SVG, PDF, EPS) |
Create a transparent QR code with this API. You can access this endpoint with POST and GET.
POST Request
All Parameters need to be send as JSON object in the request body.
GET Request
All Parameters need to be added in the URL. Parameters need to be URL encoded.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| data | String | required | The content you want to put in your QR Code (e.g. URL). URL encode the string for GET Requests. Try to keep this as short as possible for transparent QR code designs. For larger strings use custom QR codes. |
| image | String | null | The filename of the uploaded image or an image URL. This image is the background and canvas for your QR code. Png and jpg images are allowed. You can ignore this parameter if you only want the transparent QR code without background. |
| size | Number | 300 | The width and height of the QR code displayed on your image. |
| x | Number | 0 | The x position of your QR code in your image canvas. |
| y | Number | 0 | The y position of your QR code in your image canvas. |
| crop | Boolean | false | Return only the QR code without the surrounding image. |
-
I understand you need an API for generating QR codes, which involves integrating existing libraries to customize the output format and design. The main challenge lies in ensuring all the required parameters are handled properly and the output is flexible enough to cater to various use cases like PNG, SVG, and PDF formats. Additionally, we'll need to focus on the customization options, such as colors and logo integration, to provide a comprehensive solution for users.
To tackle this, I propose leveraging libraries like 'amazing-qr' for its robust feature set and simplicity while also reviewing alternatives to ensure we pick the best solution. The implementation will involve setting up endpoints for both GET and POST requests, ensuring proper encoding and response handling, and including detailed documentation for easy use.
A key risk here is managing the diverse range of parameters for customization while ensuring they are user-friendly. It would be helpful to clarify what specific customization features you prioritize and if there are any specific libraries you prefer. I'll also allocate time for thorough testing to ensure the API is reliable.
Let’s discuss the details further and finalize the plan to get started. I’m looking forward to working together on this project.
-
Hello!
We are dZENcode – a full-cycle digital solutions development company: from design and programming to integrations and post-release support. We take on projects from scratch and also engage in the improvement of existing solutions.
We can create an API for generating QR codes for this task.
Do you need the generation of only standard QR codes or with custom design as well? What response formats are most important first?
You can find detailed information about our services and rates on our website:Freelancehunt
… Take a look – after that we can discuss the details and agree on the next step.
⚠️ After clarifying all the details, we will determine the scope, the suitable format of cooperation: task-based, outsourcing, or outstaffing, and the final cost.
Why projects with us are guaranteed to reach release:
💎 10+ years providing IT services;
🔥 90+ in-house specialists;
🚀 250+ public reviews since 2015;
⚙️ We support the product according to SLA after launch;
✅ We work under NDA and a contract with the company!
-
Good afternoon
I am ready to discuss the details in private messages.
---------------------------------
-
I will create a QR API with two endpoints, /qr/custom and /qr/transparent. FastAPI, matrix through python-qrcode, custom SVG render for 20+ body/eye styles (each style as a set of SVG path templates). PNG conversion through cairosvg, PDF/EPS similarly. In the documentation, there is a link to the upload API for logos, but the endpoint itself is not described. Do you plan to accept logos only via URL or do you need upload with file storage on the server?
-
513 3 0 Good day, I can do it quickly and efficiently, if there are any questions - I will help. Write to me in private messages.
-
13013 67 0 Hello! I will complete your task quickly and efficiently.
My recent works
https://florist-map.vercel.app
https://indexfast.pp.ua
https://monitortest.pp.ua
https://mamamia.pp.ua
My portfolio: https://freelancehunt.com/ua/freelancer/romas6ka.html#portfolio
… Write to me, I will start working today. I will be happy to collaborate with you!
-
3273 52 0 Good day, Andriy.
Write, I will do it.
...........................
-
4031 11 0 2 Hello.
I am ready to complete a project in Python: to create a QR code generator with support for the specified parameters:
data — text/URL for the QR code;
image — background from a file or by URL;
size — size of the QR code;
x / y — position of the QR code on the image;
crop — return only the QR code or the full image with the background.
I can implement it in the form of:
a Python script for local execution.
… an API on FastAPI, where parameters are passed and a ready image is returned as output.
Processing of PNG/JPG, loading images by URL, generating transparent QR codes, overlaying on the background, and saving the result.
I will also add basic parameter validation, error handling, and a short instruction for execution.
-
1318 2 0 The support for animated GIF QR codes in the task description immediately caught my attention. Last month, I created a similar Python API that generates over 200,000 QR codes a day for a retail chain loyalty app - based on FastAPI and the qrcode library with Pillow for image compositing. You mentioned GET and POST with a JSON config. Do you need the API to accept parameters for generating the animated GIF directly in this config object, or will the client upload a ready-made GIF?
-
1567 5 0 Hello.
I am ready to implement an API for generating QR codes. I have experience working with backend APIs and integrating third-party libraries. I can quickly deploy a solution using a ready-made library, configure QR generation (PNG/SVG), add parameters (size, color, content), and if necessary, expand functionality (saving, history, access via API).
-
94294 1269 1 10 Hello. I am ready to implement the backend on Nest.js. Feel free to contact me.
-
6538 229 4 7 Hello
I am ready to work on a convenient library.
A lot of experience
Write to me in private messages.
-
234 Hello, we have reviewed your request for an API for generating QR codes – we have 4 years of experience in IT and work as a duo, which allows us to quickly implement both the Backend logic and the optimal architecture of the API – we can build a REST API in Node.js or Python using ready-made libraries like node-qrcode / amazing-qr / qrbtf, implement the generation of custom QR codes in formats PNG, SVG, PDF, EPS, support for styles, gradients, logos, and transparent QR, as well as prepare clean documentation and a scalable structure for further expansion – we have experience working with APIs and media generation services, examples of our work: apple-family.com.ua/uk, 3magency.co
-
436 1 0 Hello! I have reviewed the technical assignment and the provided documentation. The task is clear: it is necessary to create an API that will process a complex JSON configuration for customizing each element of the QR code (body, eyes, pupils, gradients, and logos).
I have experience with image generation and processing SVG/PNG on the server side. For implementation, I suggest using Python (FastAPI/Flask) and the segno or qrcode library in conjunction with Pillow for fine-tuning the design, or Node.js with canvas if that stack is more familiar to you.
What I will do:
1. Implement GET and POST endpoints according to your specifications.
2. Set up support for all types of shapes (body, eye, eyeBall) and the logic for their transformation (erf, brf).
3. Implement gradient overlay and logo insertion (including "clean" mode).
4. Support export to PNG, SVG, PDF, and EPS.
…
I am ready to discuss the details and architecture of the solution.
-
10063 117 0 Hello.
I am a NodeJS developer. I am ready to take on the task. Write to me, we will discuss.
-
231 Are we correctly understanding the requirements: two endpoints are needed — for custom QR (/qr/custom) and transparent QR (/qr/transparent) with support for GET/POST, formats PNG/SVG/PDF/EPS, options from the example, and, if necessary, logos/animated GIFs? Is authorization (API key) required, are there request limits, and do you have hosting, or will we set up the Docker deployment?
We will create a thoughtful REST API in Python (FastAPI/Flask): validation of config JSON, URL encoding for GET, returning binary files, Redis caching, logging, Swagger/OpenAPI, examples for Postman/cURL. We can use amazing-qr (GIF) or node-qrcode — based on your priorities. We will add logo uploads, unit tests, and Docker-compose.
We are ready to start immediately and show the first working endpoint by the end of the first day. Please let us know which styles/examples of QR and formats are mandatory — let's get started.
Current freelance projects in the category Web Programming
n8n specialist for automation setup + training (coaching format)I'm looking for an experienced specialist in n8n and AI (LLM API) to set up recruitment automation. Main condition: work in the format of coaching/mentoring. I need not a "black box", but training: we will have calls, you explain the logic — I set everything up myself under your… AI & Machine Learning, Web Programming ∙ 2 hours 20 minutes back ∙ 4 proposals |
Website creation, blockchain developers
288 USD
Creation of a website with payment and all modern functionalities. A website for my activities related to post-sale cleaning of the area, firewood cutting, and other household tasks. Web Programming, Bot Development ∙ 2 hours 49 minutes back ∙ 25 proposals |
Automation setup: Form on the website → WhatsApp bot → CRM (Make + WATI)Project Description: There is a transportation company website. Clients submit requests through a form on the site — the form is sent to email. We need to set up the following automation:Stage 1 — Form → WhatsApp — When a new request comes to the email from the website, the… Web Programming, Bot Development ∙ 1 day 4 hours back ∙ 38 proposals |
I want to learn how to create websites for CS:GO/CS2I need a mentor who will teach me how to create a CS2/CS:GO server. I want to go through step by step via Discord/Zoom: hosting/VPS, server.cfg, maps, plugins, admin panel, ban system, Discord, website, and statistics. Language: Ukrainian or Russian. HTML & CSS, Web Programming ∙ 1 day 10 hours back ∙ 12 proposals |
Looking for a programmer or vibe coding Automation scraping data 2https://drive.google.com/file/d/14tP5XWJB9acV4gn_cJrFwMpihUj3EbQz/view?usp=sharing I accidentally sent that link Web Programming, Data Parsing ∙ 1 day 13 hours back ∙ 33 proposals |
square
mosaic
dot
circle
circle-zebra
circle-zebra-vertical
circular
edge-cut
edge-cut-smooth
japnese
leaf
pointed
pointed-edge-cut
pointed-in
pointed-in-smooth
pointed-smooth
round
rounded-in
rounded-in-smooth
rounded-pointed
star
diamond
frame0
frame1
frame2
frame3
frame4
frame5
frame6
frame7
frame8
frame10
frame11
frame12
frame13
frame14
frame16
ball0
ball1
ball2
ball3
ball5
ball6
ball7
ball8
ball10
ball11
ball12
ball13
ball14
ball15
ball16
ball17
ball18
ball19
