API Endpunkt:
https://dlx-content.com/api/v1/images
Beispiel anfordern:
curl --location --request GET 'https://dlx-content.com/api/v1/images' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
für Name. Standardwert: name
.resolution
1024x1024
für 1024×1024, 1792x1024
für 1792×1024, 1024x1792
für 1024×1792.style
vivid
für Vivid, natural
für Natural.favorite
sort_by
id
für Erstellungsdatum, name
für Name. Standardwert: id
.sort
desc
für Absteigend, asc
für Aufsteigend. Standardwert: desc
.per_page
10
, 25
, 50
, 100
. Standardwert: 100
.API Endpunkt:
https://dlx-content.com/api/v1/images/{id}
Beispiel anfordern:
curl --location --request GET 'https://dlx-content.com/api/v1/images/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API Endpunkt:
https://dlx-content.com/api/v1/images
Beispiel anfordern:
curl --location --request POST 'https://dlx-content.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}'
name
description
resolution
1024x1024
für 1024×1024, 1792x1024
für 1792×1024, 1024x1792
für 1024×1792.style
vivid
für Vivid, natural
für Natural.API Endpunkt:
https://dlx-content.com/api/v1/images/{id}
Beispiel anfordern:
curl --location --request PUT 'https://dlx-content.com/api/v1/images/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
favorite
API Endpunkt:
https://dlx-content.com/api/v1/images/{id}
Beispiel anfordern:
curl --location --request DELETE 'https://dlx-content.com/api/v1/images/{id}' \ --header 'Authorization: Bearer {api_key}'