DyahAI is an AI platform that lets users transform ordinary images into unique works of art with customizable styles. Powered by Web3 technology and smart contracts. DyahAI offers a secure, decentralized, and high-quality experience, producing high-resolution images suitable for various needs.
- High Cost of Digital Art Creation: Creating digital art usually requires expensive software, which many users cannot afford.
- Time-Consuming Process: Manual illustration takes a significant amount of time, which is not practical for users who want quick results.
- Lack of Customization: Offering basic text-to-image generation without the ability to guide pose or style.
- High Hardware Requirements: Running the model locally requires a high-VRAM GPU.
- Free Credits for New Users: Provide free usage quotas for users, with the option to top up without obligation.
- AI-Powered Art Generation: Allows users to generate digital art from photos in just a few seconds using advanced AI models.
- Various Artistic Styles: Can choose from a variety of pre-defined visual styles, without needing prompts.
- Serverless GPU: Providing backend inference through cloud-based GPUs so that users do not need to own dedicated hardware.
DyahAI is the winning project of Hackathon 7.0 organized by ICP Hub Indonesia. At WCHL 2025, DyahAI continued its innovation journey by expanding its capabilities and introducing a range of new features aimed at enhancing user experience, and technological integration.
π°οΈ Old Features | |||
---|---|---|---|
Credits were implemented as an internal balance system stored directly in the canister. |
Payments in the dapp were processed by deducting balances from this internal credit system. |
Users topped up their credits by converting ICP payments into changes on the simulated credit balance. |
Transactions and credit usage were only recorded internally, making them inaccessible for public verification. |
π New Features | |||
DYA tokens are issued following the ICRC ledger standard, ensuring interoperability and security. |
Dapp payments are executed by burning DYA tokens from the userβs balance. |
Users can request new DYA tokens to be minted by depositing a defined amount of ICP. |
All token transfers and activities are publicly available through the DyahAI token ledger explorer. |
Install WSL on PowerShell
wsl --install
Open WSL, and install dfx.
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
- Clone the repository using PowerShell
git clone https://github.com/DyahCode/dyahai.git
-
Rename
.env.example
to.env
-
Copy
STORACHA_API_KEY
andSTORACHA_PROOF
links below and paste them into the.env
file
https://pastelink.net/2i6qrerr -
Run the command below to get your dfx identity principal
dfx identity get-principal
-
Copy the result and paste it into the
MINTER_PRINCIPAL_ID
key in the.env
file. -
Install all dependencies
npm install
- Run deployment using bash script
bash deploy.sh
-
Open the
deploy.sh
file and add the--network ic
flag to every command starting withdfx
(exceptdfx start
)
e.g., changedfx deploy backend
todfx deploy backend --network ic
-
Install Extension Plug Wallet
https://chromewebstore.google.com/detail/cfbfdhimifdmdehjmkdobpcjfefblkjm?utm_source=item-share-cb
- If you deploy locally, make sure to switch Plug Wallet into Dev/Test Mode:
- Open the Plug Wallet extension in your browser.
- Click the three dots icon in the top right corner.
- Select Settings.
- Go to the Developer Zone.
- Enable Test Mode.
- Done β (now your wallet can connect to http://127.0.0.1:5000).
The code of DyahAI is released under the MIT License - see the LICENSE file for details.