Generate QR Art V5

Generate QR Art image with V5 model.

Submit an prediction request

POST https://api.quickqr.art/v1/predictions/queue

Headers

NameTypeDescription

x-api-key*

String

<your-api-key>

Request Body

NameTypeDescription

workflow*

String

Fixed value: generate_qr_art_v5

qrContent*

String

Content of QR (link, text, phone, email, ...).

prompt*

String

The prompt to generate.

negativePrompt

String

The negative prompt (what you don't want to see in the generated images.)

seed

integer

Seed number to create a field of visual noise, similar to television static, as a starting point for generating the initial image grids.

Range: 0-9007199254740991

Default value: random

steps

integer

Balance steps is how many time the image is sampled. More steps maybe more artistic but also reduce the QR scanability .

qrStrength

float

QR Weight determines how much the final image will portray your QR.

Range: 0.0–3.0

cfg

float

How much the image generation process follows the prompt.

model

enum

Available options:

universal

niji

dream

real

batchSize

integer

Num outputs.

enhance

enum

Available options: face

If value is face the model will do additional steps to enhance face quality in the output image and require extra credits.

aspectRatio

enum

Aspect ratio of the outputs. Available options:

1:1

3:4

4:3

9:16

16:9

webhook

String

An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the get prediction operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once.

resolution

enum

Resolution of the outputs.

Available options:

SD

HD

FullHD

UltraHD

Size here

qrCodePartern

enum

The pattern used to generate classic qr code.

Understand pattern here.

Available options:

s1

s2

s3

rd1

rd2

rd3

d1

d2

d3

r1

r2

r3

c1

c2

c3

sq1

sq2

sq3

qrX

integer

X position for QR code.

qrY

integer

Y position for QR code.

qrRatio

float

Ratio of QR code in output.

preset

String

Presets List use for creating QR Art

Available options: here

{
   "success":true,
   "data":{
      "id":"",
      "userId":"",
      "createdAt":"2023-06-21T15:02:34.401Z",
      "startedAt":null,
      "updatedAt":"2023-06-21T15:02:34.401Z",
      "completedAt":null,
      "status":"queued",
      "input":{
         "workflow":"generate_qr_art_v5",
         "qrStrength":0.85,
         "qrSteps":10,
         "seed":1000,
         "qrImage":"",
         "prompt":"a cute cat",
         "negativePrompt":""
      },
      "output":"",
      "error": null,
      "refunded":false,
      "creditType":"API_CREDITS",
      "isScanables": [
            true
        ],
      "credits":1
   }
}

Example curl request:

curl --location 'https://api.quickqr.art/v1/predictions/queue' \
--header 'x-api-key: <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
    "workflow": "generate_qr_art_v5",
    "qrContent": "quickqr.art",
    "prompt": "bird, a wonderful landscape with snowy bird beautiful Christmas theme, lights pine trees decorated white colors enchantment magical dream with bows and colorful Christmas decorations fairytale background clear dream fantasy, enchantment light pink powder white aqua by Mandy jungens Thomas Kinkade Camilla D'\''Errico, on a white background, Mysterious",
    "negativePrompt": "",
    "batchSize": 1,
    "qrCodePartern": "s1",
    "aspectRatio": "16:9",
    "resolution": "FullHD",
    "qrStrength": 1.8
}'

Size corresponds to aspect ratio and resolution

AspectRatioSDHDFullHDUltraHD

1:1

768x768

960x960

1440x1440

2880x2880

3:4

672x896

840x1120

1248x1664

2592x3456

4:3

896x672

1120x840

1664x1248

3456x292

9:16

576x1024

720x1280

1080x1920

2160x3840

16:9

1024x576

1280x720

1920x1080

3840x2160

List Preset

PresetImage

3d-model

analog film

anime

cinematic

comic book

craft clay

digital art

enhance

fantasy art

isometric

line art

lowpoly

neonpunk

origami

photographic

pixel art

texture

ads-advertising

ads-automotive

ads-corporate

ads-fashion editorial

ads-food photography

ads-luxury

ads-real estate

ads-retail

artstyle-abstract

artstyle-art deco

artstyle-art nouveau

artstyle-constructivist

artstyle-cubist

artstyle-expressionist

artstyle-graffiti

artstyle-hyperrealism

artstyle-impressionist

artstyle-pointillism

artstyle-pop art

artstyle-psychedelic

artstyle-renaissance

artstyle-steampunk

artstyle-surrealist

artstyle-typography

artstyle-watercolor

futuristic-biomechanical

futuristic-biomechanical cyberpunk

futuristic-cybernetic

futuristic-cybernetic robot

futuristic-cyberpunk cityscape

futuristic-futuristic

futuristic-retro cyberpunk

futuristic-retro futurism

futuristic-sci-fi

futuristic-vaporwave

game-bubble bobble

game-cyberpunk game

game-fighting game

game-gta

game-mario

game-minecraft

game-pokemon

game-retro arcade

game-retro game

game-rpg fantasy game

game-strategy game

game-streetfighter

game-zelda

papercraft-collage

papercraft-flat papercut

papercraft-kirigami

papercraft-paper mache

papercraft-paper quilling

papercraft-papercut collage

papercraft-papercut shadow box

papercraft-stacked papercut

papercraft-thick layered papercut

photo-alien

photo-film noir

photo-hdr

photo-long exposure

photo-neon noir

photo-silhouette

photo-tilt-shift

misc-architectural

misc-disco

misc-dreamscape

misc-dystopian

misc-fairy tale

misc-gothic

misc-grunge

misc-horror

misc-kawaii

misc-lovecraftian

misc-macabre

misc-manga

misc-metropolis

misc-minimalist

misc-monochrome

misc-nautical

misc-space

misc-stained glass

misc-techwear fashion

misc-tribal

misc-zentangle

Last updated