Вот тут все про генеративный AI от Google https://developers.generativeai.google/ Там и про PaLM-2, и про API к нему