Belgeler

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://ai.dijivasyon.com/api/v1/images

Request example:

curl --location --request GET 'https://ai.dijivasyon.com/api/v1/images' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Tanım
search
optional string
The search query.
search_by
optional string
Arayan. Possible values are: name için İsim. Defaults to: name.
resolution
optional string
Filter by resolution. Possible values are: 256x256 için 256×256, 512x512 için 512×512, 1024x1024 için 1024×1024.
style
optional string
Filter by style. Possible values are: 3d_render için 3D render, abstract için Abstract, anime için Anime, art_deco için Art deco, cartoon için Cartoon, digital_art için Digital art, illustration için Illustration, origami için Origami, pixel_art için Pixel art, photography için Photography, pop_art için Pop art, retro için Retro, sketch için Sketch, vaporwave için Vaporwave.
medium
optional string
Filter by medium. Possible values are: acrylic için Acrylic, canvas için Canvas, chalk için Chalk, charcoal için Charcoal, crayon için Crayon, glass için Glass, ink için Ink, pastel için Pastel, pencil için Pencil, spray_paint için Spray paint, watercolor için Watercolor.
filter
optional string
Filter by filter. Possible values are: grayscale için Black and white, sepia için Sepia, invert için Invert.
favorite
optional boolean
Filter by favorite.
sort_by
optional string
Sort by. Possible values are: id için Date created, name için İsim. Defaults to: id.
sort
optional string
Sort. Possible values are: desc için Azalan, asc için Artan. Defaults to: desc.
per_page
optional int
Sayfa Başına Sonuç. Possible values are: 10, 25, 50, 100. Defaults to: 10.
Show

API endpoint:

GET
https://ai.dijivasyon.com/api/v1/images/{id}

Request example:

curl --location --request GET 'https://ai.dijivasyon.com/api/v1/images/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API endpoint:

POST
https://ai.dijivasyon.com/api/v1/images

Request example:

curl --location --request POST 'https://ai.dijivasyon.com/api/v1/images' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}' \
--data-urlencode 'description={description}'
Parameter
Type
Tanım
name
required string
The template name.
description
required string
The image description for the AI.
resolution
required string
The resolution of the image. Possible values are: 256x256 için 256×256, 512x512 için 512×512, 1024x1024 için 1024×1024.
style
optional string
The style of the image. Possible values are: 3d_render için 3D render, abstract için Abstract, anime için Anime, art_deco için Art deco, cartoon için Cartoon, digital_art için Digital art, illustration için Illustration, origami için Origami, pixel_art için Pixel art, photography için Photography, pop_art için Pop art, retro için Retro, sketch için Sketch, vaporwave için Vaporwave.
medium
optional string
The medium of the image. Possible values are: acrylic için Acrylic, canvas için Canvas, chalk için Chalk, charcoal için Charcoal, crayon için Crayon, glass için Glass, ink için Ink, pastel için Pastel, pencil için Pencil, spray_paint için Spray paint, watercolor için Watercolor.
filter
optional string
The filter of the image. Possible values are: grayscale için Black and white, sepia için Sepia, invert için Invert.
Update

API endpoint:

PUT PATCH
https://ai.dijivasyon.com/api/v1/images/{id}

Request example:

curl --location --request PUT 'https://ai.dijivasyon.com/api/v1/images/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Tanım
name
optional string
The template name.
results
required array
The document result.
favorite
required boolean
Whether the document is favorite or not.
Sil

API endpoint:

DELETE
https://ai.dijivasyon.com/api/v1/images/{id}

Request example:

curl --location --request DELETE 'https://ai.dijivasyon.com/api/v1/images/{id}' \
--header 'Authorization: Bearer {api_key}'