Quick QR Art
  • Getting Started
    • Quick Start
    • Community Guidelines
    • Community Showcase - Week 1
    • Community Showcase - Week 2
    • Community Showcase - Week 3
    • Community Showcase - Week 4
  • User Guide
    • Command List
      • /blend
      • /redeem
      • /quickqrart
      • /imagine
    • Parameter List
      • --qrw (QR Weight)
      • --blend
      • --iw (Image Weight)
      • --version
      • --padding
      • --enhance
      • --rawurl
      • --ar (Aspect Ratio)
      • --pos (QR postion)
      • --qrratio (QR Ratio)
    • LoRA
    • QR Pattern List
    • Presets List
    • Other Guides
    • Improve the readability of the QR Code Art
    • Any purpose QR Code Arts
  • Subscriptions
    • Subscription plans
    • Affiliate program 💵
  • Redeem Code
    • Redeem a Promo Code on iPhone
    • Redeem a Promo Code on Android
  • Using Discord
    • Direct Messages
    • Bot Channels
    • Discord Interface
  • APIs
    • Pricing
    • HTTP API reference
      • Predictions
        • Outpainting
        • Generate QR Art V5
        • Generate QR Art V5s
      • Rate limits
  • Policies
    • Anti-Spam Policy
    • Terms of Service
    • Privacy Policy
Powered by GitBook
On this page
  1. APIs
  2. HTTP API reference
  3. Predictions

Outpainting

Allowing users to expand the boundaries of their images seamlessly.

Submit an outpainting request

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

Headers

Name
Type
Description

x-api-key*

String

<your-api-key>

Request Body

Name
Type
Description

workflow*

String

Fixed value: outpainting

image*

String

The url to origin image to paint out.

prompt

String

The prompt to generate. If not provided, we will generate a summary of your image by our AI model.

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

image_width*

integer

The width of original image. We will use it to resize the input image before paint.

image_height*

integer

The height of original image. We will use it to resize the input image before paint.

padding_left*

interger

Padding left.

padding_bottom*

interger

Padding bottom.

padding_top*

interger

Padding top.

padding_right*

interger

Padding right.

type*

String

There are 2 types:

one_shot: do less steps, cheaper.

multi_shots: do more steps, expensiver.

webhook

String

Example curl request:

curl --location 'https://api.quickqr.art/v1/predictions/queue' \
--header 'x-api-key: <Insert your api key>' \
--header 'Content-Type: application/json' \
--data '{
    "workflow": "outpainting",
    "image": "https://delivery.quickqr.art/qr-v4/a80203d68e4248699de3592ca2ef62fc-20231203103444.png",
    "prompt": "best quality, masterpiece, depth of field, beautiful woman, big dress, trees, flowers, sky, water",
    "negativePrompt": "",
    "seed": 2800163943969242,
    "image_width": 512,
    "image_height": 512,
    "padding_left": 512,
    "padding_right": 512,
    "padding_top": 512,
    "padding_bottom": 512,
    "type": "multi_shots"
}
'
PreviousPredictionsNextGenerate QR Art V5

Last updated 1 year ago

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 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.

get prediction