Methods
Download Image
This function provides a download link for an image. Normally, you can’t download images using public links, but this allows you to generate a downloadable link.
You should initialize InitLummi before using this method.
Props
The ID of the image to download.
Filters for free images only if true
. Includes both free and pro by default.
original
| small
| medium
| large
| xlarge
| ultra
jpg
| png
Return Props
The downloand url of the image if success, otherwise null
.
true
if the request was successful, otherwise false
.
A message describing the result of the request.
200
, 400
, 401
, 403
, 404
, 500
.
Read more about status codes and what they mean.