API endpoint:
https://ai.planr.no/api/v1/images
Request example:
curl --location --request GET 'https://ai.planr.no/api/v1/images' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name. Defaults to: name
.resolution
256x256
for 256×256, 512x512
for 512×512, 1024x1024
for 1024×1024.style
3d_render
for 3D render, abstract
for Abstract, anime
for Anime, art_deco
for Art deco, cartoon
for Cartoon, digital_art
for Digital art, illustration
for Illustration, origami
for Origami, pixel_art
for Pixel art, photography
for Photography, pop_art
for Pop art, retro
for Retro, sketch
for Sketch, vaporwave
for Vaporwave.medium
acrylic
for Acrylic, canvas
for Canvas, chalk
for Chalk, charcoal
for Charcoal, crayon
for Crayon, glass
for Glass, ink
for Ink, pastel
for Pastel, pencil
for Pencil, spray_paint
for Spray paint, watercolor
for Watercolor.filter
grayscale
for Black and white, sepia
for Sepia, invert
for Invert.favorite
sort_by
id
for Date created, name
for Name. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://ai.planr.no/api/v1/images/{id}
Request example:
curl --location --request GET 'https://ai.planr.no/api/v1/images/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://ai.planr.no/api/v1/images
Request example:
curl --location --request POST 'https://ai.planr.no/api/v1/images' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
name
description
resolution
256x256
for 256×256, 512x512
for 512×512, 1024x1024
for 1024×1024.style
3d_render
for 3D render, abstract
for Abstract, anime
for Anime, art_deco
for Art deco, cartoon
for Cartoon, digital_art
for Digital art, illustration
for Illustration, origami
for Origami, pixel_art
for Pixel art, photography
for Photography, pop_art
for Pop art, retro
for Retro, sketch
for Sketch, vaporwave
for Vaporwave.medium
acrylic
for Acrylic, canvas
for Canvas, chalk
for Chalk, charcoal
for Charcoal, crayon
for Crayon, glass
for Glass, ink
for Ink, pastel
for Pastel, pencil
for Pencil, spray_paint
for Spray paint, watercolor
for Watercolor.filter
grayscale
for Black and white, sepia
for Sepia, invert
for Invert.API endpoint:
https://ai.planr.no/api/v1/images/{id}
Request example:
curl --location --request PUT 'https://ai.planr.no/api/v1/images/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
favorite
API endpoint:
https://ai.planr.no/api/v1/images/{id}
Request example:
curl --location --request DELETE 'https://ai.planr.no/api/v1/images/{id}' \ --header 'Authorization: Bearer {api_key}'