Our AI image generation API is a fast and efficient API that allows you to create beautiful assets (images, icons, illustrations) in a wide range of styles suitable for websites, print and marketing

1: Generate an API Key

  • Create a starryai developer account by visiting https://api.starryai.com/
  • Copy your API key (This will be used for authentication). Remember to store it securely.

2: Make your first HTTP Call

📘

Authentication

Use the following header for each API request: X-API-Key: YOUR_API_KEY, where YOUR_API_KEY is the API key you generated in Step 1.

curl --request GET \
     --url https://api.starryai.com/user/ \
     --header 'X-API-Key: ************************************' \
     --header 'accept: application/json'

For more details, visit the API playground to experiment with all the available parameters.