Punto final de la API:
https://aisistente.com/api/v1/images
Ejemplo de solicitud:
curl --location --request GET 'https://aisistente.com/api/v1/images' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
resolution
style
medium
filter
favorite
sort_by
sort
per_page
Punto final de la API:
https://aisistente.com/api/v1/images/{id}
Ejemplo de solicitud:
curl --location --request GET 'https://aisistente.com/api/v1/images/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
Punto final de la API:
https://aisistente.com/api/v1/images
Ejemplo de solicitud:
curl --location --request POST 'https://aisistente.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
style
medium
filter
Punto final de la API:
https://aisistente.com/api/v1/images/{id}
Ejemplo de solicitud:
curl --location --request PUT 'https://aisistente.com/api/v1/images/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
favorite
Punto final de la API:
https://aisistente.com/api/v1/images/{id}
Ejemplo de solicitud:
curl --location --request DELETE 'https://aisistente.com/api/v1/images/{id}' \ --header 'Authorization: Bearer {api_key}'