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.
- User provided input images, consisting of a face image and a style.
- Using InsighFace for face detection and verification.
- CodeFormer for face restoration.
- Stable Diffusion 1.5 as the base model.
- IP-Adapter to maintain face consistency during the swap process.
- Hosting AI pipeline on Runpod Serverless.
- IPFS Storacha: More scalable and decentralized file storage
- Canister Stable Memory: Stable memory for internal data storage.
- Plug Wallet: Wallet based authentication and transaction signing.
- Internet Identity: Passwordless, privacy-preserving identity system.
- DyahAI Token (ICRC-1): Credit payment system.
- NFT (ICRC-7): Creating and managing NFT collections.
- ReactJS.
- Tailwind CSS.
- Vite.
- Rust.
- Vercel.
- Runpod.
- Diffusers Huggingface.
- ICP Ledger.
Install WSL on PowerShell
wsl --installOpen WSL, and install dfx.
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"- Clone the repository using PowerShell
git clone https://github.com/WAW1311/dyahai-2.0.git-
Rename
.env.exampleto.env -
Copy
STORACHA_API_KEYandSTORACHA_PROOFlinks below and paste them into the.envfile
https://pastelink.net/2i6qrerr -
Copy your dfx identity principal
MINTER_PRINCIPAL_IDfrom the command below and paste it into the.envfile
dfx identity get-principal- Install all dependencies
npm install- Run deployment using bash script
bash deploy.sh-
Open the
deploy.shfile and add the--network icflag to every command starting withdfx(exceptdfx start)
e.g., changedfx deploy backendtodfx 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.


