Awesome
Kotlin/Compose Multiplatform sample to demonstrate Gemini Generative AI APIs (text and image based queries). Uses Generative AI SDK.
Running on
- iOS
- Android
- Wear OS (contributed by https://github.com/yschimke)
- Desktop
- Web (Wasm)
Set your Gemini API key (gemini_api_key
) in local.properties
Related posts:
Screenshots
iOS
Android
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
- PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
- GalwayBus (https://github.com/joreilly/GalwayBus)
- Confetti (https://github.com/joreilly/Confetti)
- BikeShare (https://github.com/joreilly/BikeShare)
- FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
- ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
- GeminiKMP (https://github.com/joreilly/GeminiKMP)
- MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
- StarWars (https://github.com/joreilly/StarWars)
- WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
- Chip-8 (https://github.com/joreilly/chip-8)