---
title: "Generate an AI QR code for the link"
method: POST
path: "/links/qr/{linkIdString}/ai"
tags: ["Link Management"]
---

# Generate an AI QR code for the link

`POST /links/qr/{linkIdString}/ai`

## Request

- Base URL: `https://api.short.io`
- URL: `https://api.short.io/links/qr/{linkIdString}/ai`
- Auth: API key in header `Authorization`

## Path parameters

- `linkIdString` string, required

## Request body

- object
  - `prompt` string, required: Description of the artwork to generate
  - `negativePrompt` string: Extra things to avoid in the artwork
  - `seed` integer: Seed for a reproducible composition

## Other responses

- `400`: Default Response
- `402`: Default Response
- `403`: Default Response
- `404`: Default Response
- `500`: Default Response
- `503`: Default Response

---

[API](https://skmtc.dev/short/apis/short-io-api-2.md) · [All operations](https://skmtc.dev/short/apis/short-io-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/short/apis/short-io-api-2/revisions/9e4e60c560b1?raw)
