Note: i am not expert here but sharing what i have learnt in last couple of years.
When I get started with automation, i could not fined any vid on free ai APIs. Yet after months of expermenting with different tools, i satated noticing free limit LLM models one of them was Gemini. and here is how you can use it.