# Using the new Google Gen AI SDK for Kotlin

DevFeed: [Using the new Google Gen AI SDK for Kotlin](<https://devfeed.tech/articles/using-the-new-google-gen-ai-sdk-for-kotlin-25196.md>)

Original publisher: [Read original article](<https://johnoreilly.dev/posts/genai-kotlin-sdk/>)

Published: 2026-09-04T23:00:00Z

Content type: tutorial

Language: en

Sources: [John O'Reilly](<https://devfeed.tech/sources/john-o-reilly.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Google](<https://devfeed.tech/topics/google.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [apis](<https://devfeed.tech/tags/apis.md>), [google](<https://devfeed.tech/tags/google.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

## AI overview

This tutorial shows how to replace hand-written Gemini REST calls with Google's version 1.0 Gen AI SDK for Kotlin. It covers the SDK's coroutine- and Flow-based client, video and text requests, and structured JSON output.

## Source excerpt

Google have just released version 1.0 of the Gen AI SDK for Kotlin, an idiomatic Kotlin client for the Gemini APIs. Up to now, calling Gemini from Kotlin has generally meant use of one of the Firebase SDKs, a community wrapper, an agent framework like Koog, or (as in the code below) just talking to the REST endpoint yourself. This is Google's own Kotlin library for it, built around coroutines and Flow.