Skip to main content
GET
/
api
/
v1
/
gradient
Gradient QR
curl --request GET \
  --url https://qr.spoo.me/api/v1/gradient
{
  "error": "<string>",
  "code": "<string>",
  "field": "<string>",
  "details": null
}

Query Parameters

content
string
required

Text or URL to encode

start
string
default:#6a1a4c

Gradient start color (hex, name, or RGB)

end
string
default:#40353c

Gradient end color (hex, name, or RGB)

background
string
default:#ffffff

Background color

size
integer | null

Output size in pixels

Required range: 10 <= x <= 1000
style
enum<string>
default:square

Module drawing style

Available options:
rounded,
square,
circle,
gapped,
horizontal_bars,
vertical_bars
direction
enum<string>
default:vertical

Gradient direction

Available options:
vertical,
horizontal,
radial,
square
output
enum<string>
default:png

Output format (PNG only for gradient)

Available options:
png,
svg

Response

Successful Response