OpenAI Dall•E Application Build With Kotlin MVVM (Model - View - ViewModel) Clean Architecture, Beautiful Design UI, Smooth Animations
Using Tools And Components Supported By Google And By Most Of The Android Development Community
Try latest Random User App apk from below 👇
Live API URL Check from blow 👇 , This project is not affiliated with nor endorsed by OpenAI.
https://openai.com/api
DALL·E preview app. (Web Version)
- Step 1. Get An API Key
You can get API key from here https://beta.openai.com/account/api-keys.
- Step 2. Add it in your project
Add the API Key in your project Constants file
Root : common/Constants
object Constants {
...
const val TOKEN = "Place Your Token Here"
...
}
Image Generation
The Images API provides three methods for interacting with images:
- Creating images from scratch based on a text prompt (This Project Contain Just This For a While...)
- Creating edits of an existing image based on a new text prompt
- Creating variations of an existing image
Check the link for your usage https://beta.openai.com/account/usage
Check the link for current prices https://openai.com/api/pricing
This API Gives you $18.00 for Free trial usage
After that you have to pay as much as you use
RESOLUTION | PRICE |
---|---|
1024×1024 | $0.020 / image |
512×512 | $0.018 / image |
256×256 | $0.016 / image |
Contributions are welcome, use the pull request
- MVVM (Model - View - ViewModel)
- Dependency Injection (Dagger Hilt)
- Flow
- Clean Arhitecture
- Use Case
- Live Data
- Glide
- Shimmer Effect
- Retrofit2
- Coroutines
- Navigation Component
- JSON Parsing Gson
Murat ÖZTÜRK
MIT License
Copyright (c) 2022 Murat ÖZTÜRK
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.