Skip to content

Starter project to build a AI platform and charge by number of generations using stripe

License

Notifications You must be signed in to change notification settings

deifos/pay-per-generation

Repository files navigation

Stripe pay per generation or 1 time payment starter.

This is a NextJS starter template for those building AI apps wanting to bill based on number of generations instead of subscription. It was created with 'create-t3-app'.

Make sure to setup your env variables.

Is ready to go with Google login. For database we used supabase but that is up to you.

You can configure the number of free generations before triggering the payment option and the number of paid generations all in the .env file.

Create T3 App

This is a T3 Stack project bootstrapped with create-t3-app.

What's next? How do I make an app with this?

We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.

If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!

How do I deploy this?

Follow our deployment guides for Vercel, Netlify and Docker for more information.

About

Starter project to build a AI platform and charge by number of generations using stripe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published