/GeminiKMP

Kotlin Multiplatform sample that uses Gemini Generative AI APIs. Runs on Android, iOS, Desktop and Wasm based Compose for Web.

Primary LanguageKotlinApache License 2.0Apache-2.0

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

Screenshot 2024-01-19 at 19 03 52 Screenshot 2024-01-14 at 17 41 26

Wasm based Compose for Web

Screenshot 2023-12-31 at 13 01 02 Screenshot 2024-01-14 at 19 26 05

Full set of Kotlin Multiplatform/Compose/SwiftUI samples