Get code for a given prompt in more than a dozen coding languages.
Code generation
Multiple Programming language
Co-piolet
Programming Pair
You can get started directly by fetching the base url given below + the model name you want to use and your query ex: ?q="Write fizzbuzz in python, along with its explanation in comments.", Base URL: https://freeaiapi.vercel.app/api/
However, if you want to see your API history and get optimized server response while traffic you can sign in to get a APIKEY and pass it as a last parameter (key).URL : BASEURL + CodeGenerator + ?query="Write fizzbuzz in python, along with its explanation in comments."&key="KEY(optional)"
const fetchData = async () => {
const URL = Your URL;
const response = await fetch(url);
const data = await response.json();
return data;
};