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. Spatius API access must also be enabled for the account, and avatar creation can be toggled separately from read access.
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

Submit a source image and queue an avatar creation job.

Errors and Limits

Error envelope, status codes, and rate limits.