This is a monorepo for Flux AI Components. It includes components to drop right into your NextJS or React project for both FluxGPT (chat) and FluxONE (image).
You will need a FluxAI api key and url to use these components, which can be obtained by creating an account on FluxAI.
Please see the .example.env file for the environment variables you will need to set before starting the project.
Simply add the components and api routes to your project and use them like any other React component.
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!