Skip to main content
Every Spatius API request must carry two headers: Both values come from your application in Spatius Studio, the same credentials you use for SPATIUS_APP_ID and SPATIUS_API_KEY. The pair must match exactly: the API key must be the one bound to the given App ID, and the application’s owner account must be active. Avatar API and Video API access are enabled separately for the account. Each API can allow reads while creation is paused. Apps owned by one account share its jobs and limits.
Call the Spatius API from your backend only. Never embed the API key in client-side code, mobile apps, or public repositories.

Example

Authentication failures

Authentication failures return the standard error envelope. A 401 response does not reveal which part of the credential pair was wrong — verify both values in Studio before retrying.

Next steps

Create an Avatar

Errors and Limits