Authentication
After you create your account you will be able to generate your API-Key in your dashboard
Provide your API key in the Authorization header (e.g. "API-Key": "j1ah8p**************"
).
API requests must be made over HTTPS. Calls made over plain HTTP will fail. Requests without authentication will also fail. You also need to add the authentication to fetch generated images.
You will need to keep the API key a secret. If you believe your API key has been leaked, please hit reset to generate a new API key for your user account. It is good practice to reset your API key at periodic intervals.
If you are an Enterprise user, you will also receive a server ID once you have subscribed to the Enterprise plan. You have to pass "server-id": "your-server-id"
to access your dedicated GPU server.