🌟 Inspiration
With the advent of digitization, accessing digital content has become incredibly convenient, transforming media consumption. However, this ease of access has introduced significant challenges in safeguarding the intellectual property rights of digital content creators and distributors.
Inspired by Nightshade's popularity among artists for protecting digital artworks from AI scraping by rendering image data useless for AI training, we developed a two-pronged solution to preserve content authenticity.
🔍 What it does
We add artwork images to the blockchain to create an immutable record such that any member of the public can trace the origin owner which assists in legal disputes and prevents poisoning unlicensed images
Our 2-prong solution includes:
- Minting on Ethereum Blockchain: We mint AI-generated content as NFTs on the Ethereum blockchain, creating a secure and immutable record of ownership and authenticity.
- Image Poisoning API: We implement an image poisoning API to embed subtle alterations into images, making them resistant to unauthorized AI reproduction and manipulation.
🛠️ How we built it
Our development involved many steps:
1. Conceptualization and Planning
We began by identifying the key issues faced by digital content creators, particularly the challenges related to intellectual property rights and unauthorized AI reproduction. This led to the development of our two-pronged solution: minting NFTs on the blockchain and implementing an image poisoning API.
2. Tech Stack Selection
We carefully selected a tech stack that would allow us to build a robust and scalable platform:
- Frontend: ReactJS and TypeScript were chosen for their powerful capabilities in building dynamic and interactive user interfaces. ShadCN was utilized for styling, ensuring a modern and user-friendly design.
- Backend: Flask was selected as our backend framework due to its simplicity and flexibility, which allowed us to rapidly develop and deploy our APIs.
- Blockchain Integration: Ethereum blockchain was chosen for its widespread adoption and strong support for NFT standards.
3. Blockchain Integration
We integrated blockchain technology to create a secure and immutable record of ownership and authenticity for digital content:
- Smart Contract Development: We developed smart contracts using Solidity to mint NFTs on the Ethereum blockchain. These smart contracts handle the creation, transfer, and verification of ownership for digital artworks.
- NFT Minting: We implemented the minting process, allowing users to create NFTs representing their digital artworks. Each NFT contains metadata that includes the artwork’s details and proof of ownership.
4. Image Poisoning API Development
To protect images from unauthorized AI reproduction, we developed an image poisoning API:
- Algorithm Design: We researched and designed algorithms that embed subtle, imperceptible alterations into images. These alterations are designed to confuse AI models, rendering the images less useful for training purposes.
- API Implementation: Using Flask, we built an API that allows users to upload images and receive poisoned versions in return. The API processes the images, applies the poisoning algorithm, and returns the protected images to the user.
Tech Stack
Our project is built using:
- Frontend: ReactJS, TypeScript, ShadCN
- Backend: Flask
- Blockchain Integration: Ethereum Blockchain
🚧 Challenges we ran into
- Time Constraints and Idea Pivot: Our initial concept had to be adjusted to fit the hackathon timeline.
- Learning Web3 Concepts: We faced challenges in understanding Web3 concepts, particularly blockchain technology and its various applications such as minting and decentralized systems.
- Image Poisoning Implementation: It was difficult to generate poisoned images within the limited time available, as this process required complex algorithms and precise execution.
🏆 Accomplishments that we're proud of
We overcame the steep learning curve associated with Web3 concepts and successfully implemented blockchain technology, including minting NFTs on the Ethereum blockchain
📚 What we learned
Web3 Integration: Whilst developing Aivy, we delved deep into blockchain technology, gaining a solid understanding of its mechanisms and applications. We successfully implemented blockchain-based solutions, including minting NFTs on the Ethereum blockchain. This allowed us to create a secure and immutable record of ownership and authenticity for digital content, showcasing the potential of blockchain to revolutionize digital rights management.
🔮 What's next for AiVY
There are many future approaches that we can use to improve AiVY.
- Enhance Image Poisoning Algorithms We aim to refine and enhance our image-poisoning algorithms to ensure even greater resistance against unauthorized AI reproduction. Integrating more sophisticated techniques can make our images more robust while preserving their visual quality.
- Expanding Blockchain Integration and Introduction to zk-SNARKs We plan to explore additional blockchain platforms to mint the NFTs, ensuring our solution remains adaptable and versatile. Incorporating zk-SNARKs into AiVY will significantly enhance the privacy of our users. When verifying ownership of digital artwork on the blockchain, zk-SNARKs can provide proof of ownership without disclosing any sensitive details. This ensures that the verification process is secure and private, protecting the identities and privacy of our users.
How does your hack answer the problem statement
The hack addresses the problem statement by providing a comprehensive solution to strengthen Digital Rights Management (DRM) and protect the intellectual property rights of digital content creators and distributors. Here's how:
Blockchain-based NFT Minting: By minting AI-generated content as Non-Fungible Tokens (NFTs) on the Ethereum blockchain, the hack creates a secure and immutable record of ownership and authenticity. This ensures that the digital content is uniquely owned and cannot be duplicated or distributed without authorization. Each NFT contains metadata that includes the artwork's details and proof of ownership, allowing creators to assert their rights over their work.
Image Poisoning API: The implementation of an image poisoning API adds an additional layer of protection against unauthorized reproduction and manipulation of digital images. By embedding subtle alterations into images, the API makes them resistant to AI-based scraping and reproduction. This helps prevent unauthorized access and distribution of digital content by rendering the images less useful for training AI models or creating derivative works.
Overall, the combination of blockchain-based NFT minting and image poisoning technology provides a robust DRM solution that addresses the challenges of unauthorized access, distribution, and reproduction of digital content in today's digitized world. It empowers content creators and distributors to assert control over their intellectual property rights and safeguard their digital assets effectively.
Built With
- blockchain
- etherium
- flask
- metamask
- pinata
- react
- solidity
- tensorflow
- vite
- web3
Log in or sign up for Devpost to join the conversation.