Astro + Stable Difussion (via Replicate)
🚀 Getting Started
- Clone this repository and install dependencies with
npm install
. - Create a Replicate free account and get your API token from https://replicate.com/account.
- Copy
.env.example
as.env
and paste your Replicate API token there. - Start the project locally with
npm run dev
, or deploy it to your favorite server. - Have fun! ✨
🧞 Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro preview |
npm run astro --help |
Get help using the Astro CLI |
👀 Want to learn more?
Feel free to check Astro's documentation or jump into their Discord server. You can also follow Maxi on Twitter.