{"category":"generate","endpoint":"https://setget.net/v1/tools/qr-export","examples":[{"input":{"format":"pdf","preset":"ocean","print_size":40,"text":"https://setget.net"},"title":"A 40 mm wide PDF for print"},{"input":{"format":"png","logo":"sample-logo.png","size":2048,"text":"https://setget.net"},"title":"A 2048 pixel PNG with a logo"},{"input":{"effect":"sparkle","format":"gif","preset":"candy","repeat":"loop","size":480,"text":"https://setget.net"},"title":"A looping GIF of the code sparkling in"}],"input_schema":{"additionalProperties":false,"properties":{"background":{"description":"Color behind the code: hex, a basic name, \"transparent\", or a CSS gradient. Left out: white.","maxLength":200,"type":"string"},"background_image":{"description":"A photo to show behind the code. Large photos are shrunk.","format":"setget-file","type":"string","x-accept":["image"]},"background_image_wash":{"description":"How much the photo is lightened, from 0 to 0.9. Left out: 0.35.","maximum":0.9,"minimum":0,"type":"number"},"corner_radius":{"description":"Rounds the corners of the background, as a fraction of its side.","maximum":0.5,"minimum":0,"type":"number"},"dot_scale":{"description":"Size of each dot within its square, from 0.5 to 1. Thin shapes need more, such as diamond 0.7 and star 0.95 (the error names the least); liquid always fills its square.","maximum":1,"minimum":0.5,"type":"number"},"dot_style":{"description":"Shape of the small squares (modules). Left out: square.","enum":["square","rounded","liquid","dots","diamond","star","vertical","horizontal","leaf","mosaic","plus","hexagon","heart","maze"],"type":"string"},"dpi":{"default":300,"description":"Dots per inch for pictures made at a print size.","maximum":1200,"minimum":72,"type":"integer"},"duration":{"default":1.8,"description":"Animated files: how long the code takes to appear, in seconds. The finished code then stays for two more.","maximum":6.0,"minimum":0.5,"type":"number"},"effect":{"default":"center","description":"Animated files: how the code appears. Outward from the center, wiped across, sparkling in dot by dot, the three eyes first, or raining down.","enum":["center","wipe","sparkle","eyes","rain"],"type":"string"},"error_correction":{"description":"How much damage the code survives: L about 7%, M 15%, Q 25%, H 30%. Higher levels hold less. Left out: M, or H when there is a logo.","enum":["L","M","Q","H"],"type":"string"},"eye_ball_colour":{"description":"Color of the middle of the eyes. Left out: the eye ring color.","maxLength":200,"type":"string"},"eye_ball_style":{"description":"Shape of the solid middle of the three corner eyes.","enum":["square","rounded","circle","diamond","leaf","octagon"],"type":"string"},"eye_colour":{"description":"Color of the eye rings. Left out: the dot color.","maxLength":200,"type":"string"},"eye_colours":{"description":"A color for each eye, separated by commas, in the order top-left, top-right, bottom-left: for instance \"#b91c1c, #1d4ed8, #15803d\". Plain colors only. An eye left out, or left empty between commas, keeps eye_colour.","maxLength":120,"type":"string"},"eye_frame_style":{"description":"Shape of the outer ring of the three corner eyes.","enum":["square","rounded","extra-rounded","circle","leaf","dotted"],"type":"string"},"foreground":{"description":"Color of the dots: hex such as #000000, a basic color name, or a CSS linear-gradient(...) or radial-gradient(...). Left out: black.","maxLength":200,"type":"string"},"format":{"default":"png","description":"File to make: png, jpeg or webp pictures; svg, pdf or eps for print and design programs; gif, apng (animated PNG) or mp4 for a code that draws itself.","enum":["png","jpeg","webp","svg","pdf","eps","gif","apng","mp4"],"type":"string"},"frame":{"description":"A border with a short call to action under (or above) the code.","enum":["none","label","banner","banner-top","rounded"],"type":"string"},"frame_colour":{"description":"Color of the frame. Left out: the dot color.","maxLength":200,"type":"string"},"frame_font":{"description":"Letter style of the frame text.","enum":["sans","mono"],"type":"string"},"frame_text":{"description":"The words in the frame. Left out: SCAN ME.","maxLength":40,"type":"string"},"frame_text_colour":{"description":"Color of the frame text. Left out: whichever of dark or light reads best.","format":"color","maxLength":40,"type":"string"},"logo":{"description":"A picture for the middle of the code: PNG, JPEG, WebP, GIF or SVG. Large pictures are shrunk.","format":"setget-file","type":"string","x-accept":["image"]},"logo_background":{"description":"Color of the clear area behind the logo. Left out: the background color.","format":"color","maxLength":40,"type":"string"},"logo_colour":{"description":"Color of the center text or symbol. Left out: the eye color.","format":"color","maxLength":40,"type":"string"},"logo_icon":{"description":"A small symbol for the middle of the code in place of a picture.","enum":["heart","star","wifi","phone","mail","link","home","pin","cart","bag","camera","music","calendar","person","globe","lock","gift","cup","bolt","chat","play","info","tag","book"],"type":"string"},"logo_padding":{"description":"Clear space around the logo, in modules. Left out: 1.","maximum":3,"minimum":0,"type":"number"},"logo_shape":{"description":"Shape of the clear area behind the logo. \"none\" leaves the background showing.","enum":["none","square","rounded","circle"],"type":"string"},"logo_size":{"description":"Largest logo width as a fraction of the code, from 0.1 to 0.4. It is made smaller when the code would not scan. Left out: 0.22.","maximum":0.4,"minimum":0.1,"type":"number"},"logo_text":{"description":"One to four characters for the middle of the code in place of a picture, such as initials. Drawn as outlines in the frame font, so they look the same everywhere.","maxLength":12,"type":"string"},"margin":{"default":4,"description":"Blank quiet zone around the code, in modules. Scanners expect at least 4.","maximum":20,"minimum":0,"type":"integer"},"module_size":{"default":8,"description":"Width of one small square (module) in pixels.","maximum":40,"minimum":1,"type":"integer"},"preset":{"description":"A ready-made look. Any style input you set yourself wins over the preset.","enum":["classic","rounded","liquid","dots","ocean","sunset","forest","grape","candy","ink","gold","midnight"],"type":"string"},"print_size":{"description":"Printed width, in the unit below. Sets the page size of pdf, eps and svg files, and the pixel width of pictures together with dpi.","examples":[30],"maximum":2000,"minimum":0.5,"type":"number"},"repeat":{"default":"once","description":"gif and apng: play once and stay finished, or loop. A looping gif starts on the finished code.","enum":["once","loop"],"type":"string"},"shape":{"description":"Outline of the whole code: square, or a silhouette such as circle or heart. The code itself stays a complete square inside it, behind a clear ring as wide as margin, and matching dots fill the rest of the outline. Left out: square.","enum":["square","circle","squircle","octagon","hexagon","shield","bubble","heart"],"type":"string"},"size":{"default":1024,"description":"Width in pixels for png, jpeg and webp when no print size is given, and for animated files (up to 1,200).","maximum":8000,"minimum":64,"type":"integer"},"text":{"description":"The exact text the code holds (the \"text\" of any QR tool's result).","examples":["https://setget.net"],"maxLength":3000,"type":"string"},"unit":{"default":"mm","description":"Unit of print_size.","enum":["mm","cm","in"],"type":"string"},"verify":{"default":true,"description":"Read the finished code back with a decoder before returning it.","type":"boolean"}},"required":["text"],"type":"object"},"keywords":["qr code pdf","qr code eps","qr code print","high resolution qr code","qr code vector","qr code png","qr code 300 dpi","print ready qr code","qr code gif","animated qr code gif","qr code mp4","qr code video"],"related":["qr-generate","qr-animate","qr-batch","qr-decode","svg-to-png"],"slug":"qr-export","summary":"Export a styled QR code as PNG, JPEG, WebP, SVG, PDF or EPS at any pixel or print size, or as an animated GIF, APNG or MP4, checked by a decoder.","tier":"job","timeout_seconds":180,"title":"QR code export (PNG, PDF, EPS, GIF, MP4, print size)","url":"https://setget.net/tools/qr-export"}
