Home

Awesome

kotlin-version

Kotlin/Compose Multiplatform sample to demonstrate Gemini Generative AI APIs (text and image based queries). Uses Generative AI SDK.

Running on

Set your Gemini API key (gemini_api_key) in local.properties

Related posts:

Screenshots

iOS

Simulator Screenshot - iPhone 15 Pro - 2024-01-19 at 19 15 53

Android

Screenshot_1705691519

Compose for Desktop

<img width="815" alt="Screenshot 2024-01-19 at 19 03 52" src="https://github.com/joreilly/GeminiKMP/assets/6302/7435e8c4-7e1f-4851-91b5-52db90a39d46"> <img width="815" alt="Screenshot 2024-01-14 at 17 41 26" src="https://github.com/joreilly/GeminiKMP/assets/6302/22176939-80a1-45df-878c-c75807f85a10">

Wasm based Compose for Web

<img width="815" alt="Screenshot 2023-12-31 at 13 01 02" src="https://github.com/joreilly/GeminiKMP/assets/6302/f128bf8f-499b-40e9-a4bd-0674aa0f9240"> <img width="815" alt="Screenshot 2024-01-14 at 19 26 05" src="https://github.com/joreilly/GeminiKMP/assets/6302/4fd5adda-c9c4-42c3-970c-d1a8cda05b0a">

Full set of Kotlin Multiplatform/Compose/SwiftUI samples