logo
Production 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 production domain without https://. For example, if your app is deployed at https://myapp.vercel.app, set it to:

ASTRIA_WEBHOOK_URL=myapp.vercel.app

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.