{"repo":"louisbrulenaudet/genai-api","free":true,"listed":false,"github":"https://github.com/louisbrulenaudet/genai-api","clone":"git clone https://github.com/louisbrulenaudet/genai-api.git","description":"Supercharge your applications using Cloudflare Workers and Gemini within minutes (and for free, up to hundreds of requests per day) ☁️✨","language":"TypeScript","stars":110,"topics":["ai","ai-gateway","ai-studio","api","cloudflare","cloudflare-workers","genai","generative-ai","google-ai-studio","hono"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Supercharge your applications using Cloudflare Worker and Gemini within minutes ☁️✨ This TypeScript API built with Hono, OpenAI, and deployed as a Cloudflare Worker aims originally to boost the performance of Apple's Shortcuts by providing a seamless integration with generative AI capabilities, allowing users to create more powerful and intelligent shortcuts and leveraging the full potential of information extraction provided by the Apple ecosystem. Nowadays, it can now be used to supercharge any application by providing a seamless integration with generative AI capabilities. The objective of this repo is to provide a very simple and easy-to-use API for developers to integrate generative AI capabilities into their shortcuts in a minute. You just have to download this repository, slightly edit the configuration files, notably the wrangler.jsonc file, and run make init (eventually make update ), then: Wrangler will prompt you to enter your API key, which will be securely stored as a secret environment variable in your Cloudflare Worker. If you don't have an API key yet, you can get one from the Google AI Studio. Then, you need to put a bearer token for security reasons: Once you have set up the secrets, you can deploy the API to Cloudflare Workers using: Here you go! Your API is now deployed and ready to use. You can test it by sending requests to the Cloudflare Workers URL provided in the output. The completion endpoint must be accessible pinging something like https://your-cl","default_branch":null,"files":null,"tree":[],"storefront":"/r/louisbrulenaudet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/louisbrulenaudet/genai-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}