logo
Custom Server Environment

Astria

Setting Up Astria

Astria is the AI service that powers headshot generation in ProShot. It handles model training and image inference.

Create an Astria Account

Head over to astria.ai and sign up for an account. You will need this to access the API.

Get Your API Key

Once logged in, navigate to the API settings page and copy your API key.

Update Your .env File

Open your .env file and replace the placeholder with your actual API key:

ASTRIA_API_KEY=your-actual-astria-api-key

The ASTRIA_WEBHOOK_URL should be set to your server domain without https://. For example, if your server is accessible at https://your-domain.com, set it to:

ASTRIA_WEBHOOK_URL=your-domain.com

Make sure your server is publicly accessible so Astria can send webhook callbacks when model training and headshot generation complete.

Astria does not offer a free tier. Model training starts at approximately $0.10 for 8 headshots, which makes it extremely affordable to get started and test with real results.