Unable to access gemini-1.5-flash-001-tuning using Gen AI SDK

I tuned gemini-1.5-flash-001 model for my task. I installed gen AI SDK to use model from my local system and it worked. Today I am trying to access it, but I get request timeout error every time i try to generate content. Is there a solution for this.

I know gemini-1.5-flash is discontinuing from May 27, 2025, but it should work till this date.

Well hell there, have your used the test script ? To test your call to the model? For example curl “https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=GEMINI_API_KEY
-H ‘Content-Type: application/json’
-X POST
-d ‘{
“contents”: [{
“parts”:[{“text”: “Explain how AI works”}]
}]
}’

Or do you mean running a model locally while offline ?

I would like a little bit more context please first we have to determine the cause of the error whether it is localized or serverside

I have same issue. Gemini tells me in order to complete this I need the model name, which isn’t available under “Get Code”. Specifically Gemini says I need to “find the correct way to identify your tuned model in the REST API call.” Thoughts?

I’m trying to do an API call in Google Scripts to a tuned model in Google AI Studio. I have an Api Key and a precisely tuned model.