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 Navn. Vanlig: name
.resolution
256x256
for 256×256, 512x512
for 512×512, 1024x1024
for 1024×1024.style
3d_render
for 3D generer, abstract
for Abstrakt, anime
for Anime, art_deco
for Art deco, cartoon
for Tegneserie, digital_art
for Digital kunst, illustration
for Illustrasjon, origami
for Origami, pixel_art
for Pixel kunst, photography
for Fotografi, pop_art
for Pop art, retro
for Retro, sketch
for Skisse, vaporwave
for Vaporwave.medium
acrylic
for Akryl, canvas
for Canvas, chalk
for Kalk, charcoal
for Kull, crayon
for Fargestift, glass
for Glass, ink
for Blekk, pastel
for Pastel, pencil
for Blyant, spray_paint
for Spraymaling, watercolor
for Akvarell.filter
grayscale
for Svart og hvit, sepia
for Sepia, invert
for Invertert.favorite
sort_by
id
for Date created, name
for Navn. Vanlig: id
.sort
desc
for Descending, asc
for Ascending. Vanlig: desc
.per_page
10
, 25
, 50
, 100
. Vanlig: 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 generer, abstract
for Abstrakt, anime
for Anime, art_deco
for Art deco, cartoon
for Tegneserie, digital_art
for Digital kunst, illustration
for Illustrasjon, origami
for Origami, pixel_art
for Pixel kunst, photography
for Fotografi, pop_art
for Pop art, retro
for Retro, sketch
for Skisse, vaporwave
for Vaporwave.medium
acrylic
for Akryl, canvas
for Canvas, chalk
for Kalk, charcoal
for Kull, crayon
for Fargestift, glass
for Glass, ink
for Blekk, pastel
for Pastel, pencil
for Blyant, spray_paint
for Spraymaling, watercolor
for Akvarell.filter
grayscale
for Svart og hvit, sepia
for Sepia, invert
for Invertert.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}'