Android image generation app for GPT Image and compatible relay APIs.
- Text-to-image and image-reference generation
- Size, quality, format, compression, moderation, and count options
- Task history and result preview
- Local API profile storage
- Simplified Chinese, Traditional Chinese, and English
Requirements:
- JDK 17
- Android SDK API 35
.\gradlew.bat clean test assembleReleasePackage name:
com.shj56166androidimage2.app
- Kotlin and Gradle Kotlin DSL
- Jetpack Compose with Material 3
- AndroidX Lifecycle, DataStore, Security Crypto, WorkManager
- Room database with KSP
- OkHttp, Retrofit, kotlinx.serialization
- Coil for image loading
ui: Compose screens, app root, theme, and view modelsdata: Room entities and DAO, repositories, network models, provider mapping, local storagedomain: image execution engine contractworker: background image task executionutil: app language and locale helpers
The app keeps API profiles, task records, sessions, drafts, and generated image metadata on the device. Network execution is routed through an image engine that supports OpenAI-compatible /responses, /images/generations, /images/edits, fal.ai-style endpoints, and custom provider mappings.
MIT
Inspired by CookSleep/gpt_image_playground.

