Hi,
I just fine tuned a model, and now i want to test it with an interface. So I created an API key. After creation, i get a permission denied error.
However, when i test the key using the base model (using the code below as per the documentation), it works fine.
API_KEY="YOUR_API_KEY"
curl -H 'Content-Type: application/json' \ -d '{"contents":[ {"role": "user", "parts":[{"text": "Give me five subcategories of jazz?"}]}]}' \ "https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent?key=${API_KEY}"