This is demo instance of Gemini ➜ OpenAI API transforming proxy! Running serverless on Vercel.
You can try it with:
curl https://my-openai-gemini-demo.vercel.app/v1/chat/completions \ -H "Authorization: Bearer $YOUR_GEMINI_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "model": "gemini-1.5-pro-latest", "messages": [{"role": "user", "content": "Hello"}], "temperature": 0.7 }'
Please deploy your own instance, for free! This way, you can keep your API key secure.