This is a Next.js API bootstrapped with create-next-app and using the OpenAI API.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
https://2023-br-hacks-project.vercel.app/api/copywriterPOST endpoint that uses AI to write advertisementshttps://2023-br-hacks-project.vercel.app/api/discord-bioPOST endpoint that uses AI to write discord bioshttps://2023-br-hacks-project.vercel.app/api/email-writerPOST endpoint that uses AI to write emailshttps://2023-br-hacks-project.vercel.appapi/summarizerPOST endpoint that uses AI to write summaries of passageshttps://2023-br-hacks-project.vercel.app/api/regex-writerPOST endpoint that uses AI to write regex expressionshttps://2023-br-hacks-project.vercel.app/api/shell-writerPOST endpoint that uses AI to write shell scriptshttps://2023-br-hacks-project.vercel.app/api/code-vulnerabilityPOST endpoint that uses AI to find vulnerabilities in codehttps://2023-br-hacks-project.vercel.app/api/test-writerPOST endpoint that uses AI to find vulnerabilities in codehttps://2023-br-hacks-project.vercel.app/api/tagline-writerPOST endpoint that uses AI to make a business tagline.
Input data format: {"prompt": "Your prompt"}
Example curl command: curl -X POST https://2023-br-hacks-project.vercel.app/api/regex-writer -d '{"prompt":"Check for vallid phone numbers"}'