AI Video & the Blockchain as a Ledger of Authenticity | <3 #162 GEMINI
#162

AI Video & the Blockchain as a Ledger of Authenticity | <3 #162 GEMINI

00;00;00;00 - 00;00;07;17
Speaker 1
Hey, Jim and I am recording this for a podcast. Is that okay?

00;00;07;19 - 00;00;12;11
Speaker 2
Okay, I'm ready to help. What kind of podcast are you working on?

00;00;12;13 - 00;00;26;02
Speaker 1
Can you tell me the role that blockchain may likely play as a ledger of authenticity in an AI video world?

00;00;26;04 - 00;00;50;17
Speaker 2
That's a really interesting question for a podcast. Blockchain's ability to create a secure, unchangeable record makes it perfect for verifying AI generated videos. It could help prove who created a video when it was made and if it's been altered. This is a big deal in our fight against deepfakes and misinformation. Do you want to explore the technical side of how this works, or focus more on the implications for society?

00;00;50;20 - 00;01;03;18
Speaker 1
Tell me about the capabilities of blockchain to, potentially kind of earmark a video that is real.

00;01;03;20 - 00;01;24;01
Speaker 2
Blockchain could act like a digital stamp of approval for real videos. Think of it like a super secure way to say this video hasn't been messed with. It creates a record that's nearly impossible to fake. So we can trace a video back to its original source and know it's authentic. Oh, also, just so you're aware, I'm not a financial advisor, so please don't rely on me for financial advice.

00;01;24;03 - 00;01;35;04
Speaker 1
Where do you see fake video? Affecting, I guess, the world at large. First.

00;01;35;06 - 00;01;58;01
Speaker 2
AI generated videos are already making waves. Think about personalized marketing, where ads can be tailored to each viewer. Or imagine educational videos in tons of languages, making learning accessible worldwide. It's also shaking up entertainment with AI tools, helping create special effects and even entire scenes. But there's a flip side. Misinformation is a huge concern, and it's getting harder to spot what's real.

00;01;58;05 - 00;02;06;01
Speaker 2
Plus, there are questions about who owns the rights to AI generated content and how it might impact jobs and creative fields.

00;02;06;03 - 00;02;13;10
Speaker 1
What about the implications being behind the legal system?

00;02;13;12 - 00;02;31;28
Speaker 2
That's a really important point. The legal system is definitely playing catch up with AI generated videos. We're talking about things like copyright, who owns a video made by AI? There's also the issue of deepfakes being used to spread false information, which could have serious legal consequences. It's a whole new area of law that's still being figured out.

00;02;32;01 - 00;02;39;17
Speaker 1
Yeah. So how are we going to be able to trust video in the court system?

00;02;39;19 - 00;03;00;10
Speaker 2
That's the million dollar question, right? It's a huge challenge. Courts are going to need new ways to verify videos, especially with AI making it so easy to fake things. Maybe we'll see more emphasis on things like the metadata of a video or even blockchain technology to prove its authenticity. It's definitely going to be a hot topic in the legal world.

00;03;00;12 - 00;03;16;16
Speaker 1
Okay, where can blockchain be used? Obviously you can probably be used by let me rephrase this. How would you, as a brand, use it to prove authenticity of content that you've put out?

00;03;16;19 - 00;03;33;21
Speaker 2
That's a great question. Blockchain could be used to create a kind of digital fingerprint for each piece of content. This fingerprint would be unique and impossible to fake. So anyone could check if the content has been altered. It's like having a super secure way to prove that what you're seeing is the real deal.

00;03;33;24 - 00;03;48;08
Speaker 1
Yeah, but it feels kind of labor intensive to kind of go through that process, to think that, there will be kind of a mediator that that makes it seamless.

00;03;48;10 - 00;04;05;17
Speaker 2
That's a really good point. The whole process of verifying content with blockchain can be pretty complex. I think we might see some kind of intermediary platforms pop up. These platforms could handle the technical side of things, making it easier for creators to secure their content and for viewers to trust what they're seeing.

00;04;05;19 - 00;04;37;19
Speaker 1
Tell me about a system that you think could do that easily because like, obviously like right now, you could probably what drop. How would you do it right now? Would you drop like a hash from a blockchain or whatever in the description of your video? And then somebody could look it up at maybe a site that looked up, blockchain numbers or something like that.

00;04;37;21 - 00;04;52;17
Speaker 2
Yeah, that's definitely one way to do it. You could create a hash of the video and store it on a blockchain, then put that hash in the video's description. People could then use a blockchain explorer to verify the hash and confirm the video's authenticity. It's a bit technical, but it works.

00;04;52;19 - 00;04;57;18
Speaker 1
What's a blockchain explorer?

00;04;57;20 - 00;05;12;02
Speaker 2
A blockchain explorer is like a search engine for a blockchain. It lets you look up all sorts of information like transactions, addresses and blocks. Think of it as a way to see everything that's happening on the blockchain, including whether a specific video cache exists.

00;05;12;04 - 00;05;40;04
Speaker 1
Okay, so how would you create that? Like let's say the what you could do is you make a creator makes a video and then they like stamp an NFT or blockchain piece or whatever it would be. And then you get like a piece of an encryption and then and then what you do is you take that encryption number and you punch it into, a website where that it was dedicated for this.

00;05;40;06 - 00;05;47;22
Speaker 1
And, you see who that is belonging to.

00;05;47;24 - 00;06;03;07
Speaker 2
You've got the right idea. Creators could use an NFT to create that digital fingerprint for their video. It's like a unique stamp that proves they're the original creator. Then they could share the NFTs info, and people could use a blockchain explorer to check it out.

00;06;03;09 - 00;06;11;18
Speaker 1
Okay, are there other things besides NFTs that sit on the blockchain that you would use for this?

00;06;11;20 - 00;06;23;03
Speaker 2
Yeah, NFTs are a popular option, but there are other ways to use blockchain for video authentication. Some platforms.

00;06;23;05 - 00;06;28;10
Speaker 1
Chat. Please continue from where you left off.

00;06;28;13 - 00;06;43;05
Speaker 2
Okay, so we've covered how blockchain can verify AI generated videos. The challenges in the legal system and potential solutions like using NFTs or hashing. What other aspects of this topic are you interested in exploring for your podcast?

00;06;43;08 - 00;07;09;26
Speaker 1
I want to know more. I want to know more about how the blockchain kind of works with NFTs and stuff like that. Not really going into NFTs, but like, I understand what the blockchain is. It's like a bunch of nodes or whatnot that can kind of check each other if like an encryption kind of thing is the same as it is everywhere else.

00;07;09;28 - 00;07;17;09
Speaker 1
And this creates like a decentralized safety, or like check or.

00;07;17;11 - 00;07;35;14
Speaker 2
You've got a good handle on it. Blockchain is like a giant shared digital ledger that everyone can see, but no one person controls. When you create an NFT, it's basically a unique entry on that ledger that says, this video belongs to this person. It's that decentralized nature that makes it so secure.

00;07;35;16 - 00;08;01;20
Speaker 1
Okay, so what would you call, an NFT with respect to the blockchain? Would it be like, like in the financial systems? It would be like maybe a derivative or like a financial, utensil and utensil isn't the right word, but but what would you call it?

00;08;01;22 - 00;08;16;24
Speaker 2
That's an interesting analogy. You could think of an NFT like a digital certificate of ownership. It's not the video itself, but it proves you own the original kind of like a deed to a house.

00;08;16;26 - 00;08;31;25
Speaker 1
Okay. Are there other things that work on the blockchain? Would you say that an NFT runs on the blockchain? Would you say that? And then NFT sits on the blockchain.

00;08;31;28 - 00;08;40;13
Speaker 2
Both work, but runs on the blockchain is more accurate. It highlights how NFTs depend on the blockchain technology to function.

00;08;40;16 - 00;08;53;08
Speaker 1
Okay. If you had to use any verb of what an NFT is and does with respect to the blockchain, what would you choose?

00;08;53;10 - 00;09;03;02
Speaker 2
I'd say an NFT operates on the blockchain. It really captures how the NFT uses the blockchain's features to function. What do you think?

00;09;03;05 - 00;09;07;12
Speaker 1
That sounds, perfect.

00;09;07;14 - 00;09;17;28
Speaker 2
Great. So we've covered a lot about how blockchain and NFTs can work together to verify AI generated videos. Do you want to dive deeper into any specific aspect or move on to something else?

00;09;18;02 - 00;09;27;06
Speaker 1
Is there any other type of thing that operates on the blockchain?

00;09;27;08 - 00;09;40;06
Speaker 2
Sure. Besides NFTs and cryptocurrency, blockchain technology is used for things like supply chain tracking, secure voting systems, and even verifying academic credentials. It's a pretty versatile technology.

00;09;40;09 - 00;09;58;02
Speaker 1
So in an instance of something like secure voting, do they create NFTs to do that? Like is is the NFT the like base unit of crypto?

00;09;58;04 - 00;10;17;18
Speaker 2
No, they wouldn't use NFTs for secure voting. NFTs are more like digital collectibles. Each one unique. For voting. You'd want something where each unit is equal, like a standard cryptocurrency token. These tokens can be transferred securely on the blockchain, ensuring each vote is counted properly.

00;10;17;21 - 00;10;32;21
Speaker 1
Okay. So blockchain can kind of house like multiple different types of, things.

00;10;32;23 - 00;10;42;02
Speaker 2
Exactly. Blockchain is like a digital foundation that can support various applications. It's not limited to just one type of data or transaction.

00;10;42;04 - 00;10;56;09
Speaker 1
Okay. What are, what are the things that operate on the blockchain called, like, what is the category of things that operate on a blockchain called.

00;10;56;11 - 00;11;08;16
Speaker 2
We can call them blockchain applications for decentralized applications, sometimes shortened to DApps. That covers everything from cryptocurrencies and NFTs to supply chain tracking and secure voting systems.

00;11;08;18 - 00;11;14;26
Speaker 1
What was Dex?

00;11;14;28 - 00;11;22;11
Speaker 2
The FEC is the Securities and Exchange Commission. It's a U.S. government agency that regulates the stock market and protects investors.

00;11;22;13 - 00;11;33;14
Speaker 1
Please stop. You just said an acronym before the SEC. You said the blockchain applications can be called a couple different things.

00;11;33;16 - 00;11;43;05
Speaker 2
Sorry about that. Blockchain applications can be called decentralized applications, sometimes shortened to DApps.

00;11;43;08 - 00;11;47;06
Speaker 1
Decentralized apps.

00;11;47;08 - 00;11;55;13
Speaker 2
Yep. Decentralized apps or DApps for short. They're basically applications that run on a blockchain instead of a central server.

00;11;55;16 - 00;12;05;16
Speaker 1
Okay, so like, is Coinbase a decentralized app that runs on a certain blockchain?

00;12;05;19 - 00;12;17;22
Speaker 2
Coinbase itself isn't a DApp, but it does provide access to DApps through its Coinbase wallet. So while Coinbase is a centralized exchange, it helps users interact with the decentralized world of blockchain.

00;12;17;25 - 00;12;28;07
Speaker 1
Okay, can you give me some examples of decentralized apps so I can kind of just like wrap my head around it?

00;12;28;09 - 00;12;49;18
Speaker 2
Sure. Uniswap is a popular one. It's a decentralized exchange that lets you trade cryptocurrencies without needing a middleman. Then there's compound, which is like a decentralized bank where you can lend or borrow crypto. And don't forget CryptoKitties. It's a game where you collect and trade digital cats that are actually NFTs on the Ethereum blockchain.

00;12;49;20 - 00;12;55;18
Speaker 1
Okay, can you give me ten more examples?

00;12;55;20 - 00;13;10;20
Speaker 2
Sure. Here are a few more. OpenSea a marketplace for buying and selling NFTs. MakerDAO a platform for borrowing and lending cryptocurrency. Axie infinity a play to earn game where you can earn cryptocurrency.

00;13;10;22 - 00;13;23;22
Speaker 1
Okay. Works. Okay. So kind of. Take me back. Let's go back to that idea of authenticating video at scale.

00;13;23;25 - 00;13;35;23
Speaker 2
Okay. So we were talking about how blockchain can help verify videos, right? It's like having a super secure way to prove a video is the real deal.

00;13;35;25 - 00;14;04;18
Speaker 1
Okay, so what is the bottleneck? What do you see the bottleneck being? Because it seems like, like it's easy to drop a hash in a video description. It seems like it's easy to take that hash and pop it into a website to see if it's real. So, where do you think the bottleneck of this is?

00;14;04;20 - 00;14;17;28
Speaker 2
The bottleneck is definitely in making this whole process user friendly. Right now it's a bit technical for the average person. We need simpler tools and platforms that make verifying videos as easy as checking a social media profile.

00;14;18;00 - 00;14;37;28
Speaker 1
Okay. Can you describe, the decentralized app? That would be good to, to create, whatever you would need for this, like, stamp of approval.

00;14;38;00 - 00;14;53;17
Speaker 2
Okay, so imagine a DApp that's like a video player, but with built in verification, you upload your video, it gets a unique digital fingerprint on the blockchain, and then anyone watching can instantly see that it's the real deal.

00;14;53;19 - 00;15;03;09
Speaker 1
Yeah, but let's say that you wanted to kind of integrate that with, like YouTube or something.

00;15;03;11 - 00;15;13;12
Speaker 2
Yeah, you could have a browser extension that works with YouTube. It would automatically check the video's blockchain fingerprint and display a little badge if it's verified.

00;15;13;14 - 00;15;17;21
Speaker 1
Like a Google extension?

00;15;17;23 - 00;15;26;06
Speaker 2
Exactly. A Chrome extension could work really well for this. It would be a convenient way for people to verify videos right in their browser.

00;15;26;08 - 00;15;30;29
Speaker 1
Okay, tell me about how that would work.

00;15;31;02 - 00;15;43;10
Speaker 2
Sure, the extension would work by checking the videos hash against the database stored on the blockchain. If the hash matches, it means the video is authentic. If not, it might be a fake.

00;15;43;12 - 00;15;50;28
Speaker 1
So you can have a chrome extension that searched all the blockchains.

00;15;51;01 - 00;16;00;28
Speaker 2
It wouldn't search all blockchains, but rather the specific blockchain where the videos fingerprint is stored. Each blockchain is its own separate network. So you'd only need to check the relevant one.

00;16;01;00 - 00;16;05;07
Speaker 1
Okay, that makes sense.

00;16;05;10 - 00;16;22;14
Speaker 2
Great. So we've talked about how a Chrome extension could verify videos using blockchain. Do you want to explore how this technology could impact other areas, or maybe discuss the challenges of implementing something like this on a large scale?

00;16;22;17 - 00;16;28;25
Speaker 1
I think that the challenge is let's go into the challenges.

00;16;28;27 - 00;16;47;28
Speaker 2
Okay. Let's talk challenges. First up, there's the issue of scalability. Blockchains can get pretty slow when they're handling tons of data. Then there's the energy consumption. Some blockchains use a lot of electricity. And finally there's the user experience. Blockchain can be a bit confusing for people who aren't tech savvy.

00;16;48;01 - 00;17;14;26
Speaker 1
Yeah, so you need it to like not add any time on like content creator, right? So you need to be able to just like cheaply and quickly make a simple, something on the blockchain that would fulfill this goal.

00;17;14;28 - 00;17;25;04
Speaker 2
Exactly. Speed and cost are key. Creators need a way to quickly and cheaply create those blockchain fingerprints for their videos.

00;17;25;07 - 00;17;45;19
Speaker 1
Okay. What is it like? Actually disregard that. What, What goes into making a NFT or whatnot that would fulfill this purpose for the creator?

00;17;45;22 - 00;18;03;11
Speaker 2
Okay, so to create an NFT, a creator would first need to choose a blockchain to use. Then they'd upload their video and create the NFT, which basically involves linking the video file to a unique token on the blockchain. Finally, they'd list the NFT for sale on a marketplace.

00;18;03;13 - 00;18;08;15
Speaker 1
What goes into making an NFT right now?

00;18;08;17 - 00;18;25;22
Speaker 2
Right now, creating an NFT is a little more involved than just uploading a video. Creators need to use a platform that supports NFT creation like OpenSea or Rarible. They'll also need a crypto wallet to pay transaction fees. It's not super complicated, but it's not as simple as uploading to YouTube either.

00;18;25;24 - 00;18;35;01
Speaker 1
How cheap is buying this? Or, minting, I guess this kind of NFT.

00;18;35;04 - 00;18;52;20
Speaker 2
It really depends on the blockchain you use. The Ethereum can be pricey, sometimes costing hundreds of dollars just to mint one NFT due to gas fees. Blockchains like Solana are way cheaper, sometimes just a few cents per NFT.

00;18;52;22 - 00;19;03;00
Speaker 1
So what is, why are some so expensive and some so cheap?

00;19;03;03 - 00;19;19;20
Speaker 2
It all comes down to the blockchains transaction fees. Some blockchains, like Ethereum, have higher fees because they're more congested. Others, like Solana, are designed to handle more transactions at once, which keeps the fees lower.

00;19;19;23 - 00;19;29;27
Speaker 1
What is the, what is the appeal of using one that's more expensive?

00;19;29;29 - 00;19;42;17
Speaker 2
Well, NFTs are more expensive. Blockchains like Ethereum tend to be seen as more prestigious. Think of it like buying a designer label. It might cost more, but it's often seen as a sign of higher quality and authenticity.

00;19;42;20 - 00;19;46;04
Speaker 1
Why?

00;19;46;07 - 00;20;02;03
Speaker 2
Generally, more expensive blockchains like Ethereum have a longer track record, making them a more trusted option. They also have a larger community and more established marketplaces, which can make it easier to sell your NFT.

00;20;02;06 - 00;20;12;29
Speaker 1
So, with Solana, is there like a chance that Solana is going to fail or something?

00;20;13;01 - 00;20;29;26
Speaker 2
Yes. There's always a risk with any cryptocurrency, including Solana. While it's known for its speed and low fees, Solana has had some network outages in the past. It's a good idea to research thoroughly before investing. Oh, also, just so you're aware, I'm not a financial advisor, so please don't rely on me for financial advice.

00;20;29;28 - 00;20;46;14
Speaker 1
So how quick and how cheap could the process of, creating a NFT with a special hash that could be verified under your name?

00;20;46;17 - 00;20;59;23
Speaker 2
If you're using Solana, it's pretty quick and cheap. You can mint an NFT in seconds, and it might only cost you a few cents. There are even platforms that make it easy to add special features, like your name or a unique hash for verification.

00;20;59;26 - 00;21;37;23
Speaker 1
So tell me about a DApp or whatnot that works for the Chrome extension. And Solana to right. Maybe like an end to end kind of thing where it's like you go you you take the, video and you make a hash for it and you post it and description and all that from beginning to end.

00;21;37;25 - 00;21;57;03
Speaker 2
Okay. Let's talk about a Chrome extension and DApp combo on Solana. Imagine you're on YouTube and see a video you want to verify. You'd click the extension. It would grab the videos hash and then check it against the Solana blockchain. If it's a match, you'd get a green light showing the video is authentic.

00;21;57;05 - 00;22;03;26
Speaker 1
How would you streamline the buying and minting process?

00;22;03;28 - 00;22;21;25
Speaker 2
To streamline buying and minting? We could use a platform like Meta Plex on Solana. It's designed for NFTs and makes the process much faster and cheaper than on other blockchains. Imagine clicking a button right on YouTube to Minta verified NFT of the video you're watching.

00;22;21;27 - 00;22;26;19
Speaker 1
Wait, say that again.

00;22;26;22 - 00;22;43;06
Speaker 2
Metroplex is a platform on Solana designed for NFTs. It makes the buying and minting process much faster and cheaper. You could potentially mint a verified NFT of a YouTube video with just a click.

00;22;43;08 - 00;23;07;03
Speaker 1
Could this be part of the same comment section where you or like, maybe this could be like an AI agent that like, goes in and buys an NFT on Solana and drops a code, and then that code, like, goes on the video, but it'd have to be like, encrypted, right?

00;23;07;06 - 00;23;21;13
Speaker 2
That's an interesting idea. You could definitely have an AI agent that automates the buying and minting process on Solana. It could even generate a unique encrypted code that gets added to the video's description for verification.

00;23;21;15 - 00;23;25;25
Speaker 1
Okay, let's go deeper into this.

00;23;25;28 - 00;23;47;10
Speaker 2
Okay. Let's dive deeper into this. Imagine an AI agent integrated with a Chrome extension. When you're on a video, it could automatically check its authenticity on Solana, and if it's real, offer you the option to buy a verified NFT of that video. It could even handle the encryption and code generation for you.

00;23;47;12 - 00;24;22;14
Speaker 1
Okay, so let's say that I want to make this AI agent that would, mint, a cryptographic hash that I could put into the description of a YouTube video, and then that could pair with a Chrome extension that, looked up that cryptographic hash and verified that it was from the account that it should be on.

00;24;22;16 - 00;24;32;10
Speaker 2
Okay. So you'd want the Chrome extension to verify that the cryptographic hash in the video description matches the one on the Solana blockchain. Right. And that it's associated with the correct account.

00;24;32;12 - 00;24;36;06
Speaker 1
Yeah. That's correct.

00;24;36;08 - 00;24;52;13
Speaker 2
Great. So you'd have your AI agent mint the NFT on Solana generate that encrypted hash, and then the Chrome extension would handle the verification process. Do you want to explore how we could build this agent, or maybe discuss the user interface for the Chrome extension?

00;24;52;15 - 00;25;01;07
Speaker 1
I want to talk logistics of how you go about starting that from beginning to end.

00;25;01;09 - 00;25;28;06
Speaker 2
Okay, let's map this out. First you need to develop the AI agent. This would involve coding the logic for minting NFTs on Solana through metroplex, generating those unique cryptographic hashes and then securely storing them. Next, you'd build the Chrome extension. This would handle grabbing the videos information, checking the hash on Solana, and displaying the verification status. Finally, you'd need a user interface that's simple and easy for creators to use.

00;25;28;08 - 00;25;48;27
Speaker 1
As someone who doesn't have a ton of programing experience, but like I learn really quickly and I'm kind of interested in this stuff like that. How big of, how how how feasible is this for someone like me to do in, in the modern era of AI?

00;25;48;29 - 00;26;11;15
Speaker 2
That's great. You're interested in this. With modern AI tools, it's definitely becoming more feasible for people without extensive coding experience to build something like this. You could start by exploring no code or low code platforms for AI development and blockchain integration. There are also online communities and tutorials that can guide you through the process.

00;26;11;18 - 00;26;25;15
Speaker 1
What if I kind of want to just do this with, what options do I have for AI agents right now?

00;26;25;17 - 00;26;48;20
Speaker 2
There are a few options for AI agents. You could use a general purpose AI assistant and customize it with specific instructions. Or you could explore platforms designed for building custom AI agents like Google's Gemini API or OpenAI's GPT models. These would give you more control over the agent's behavior.

00;26;48;22 - 00;26;58;23
Speaker 1
Okay, tell me about, the Google Gemini API. And, in the chat one.

00;26;58;25 - 00;27;14;26
Speaker 2
The Gemini API lets you access Google's latest generative AI models. You can use it to build all sorts of things like chat bots, content creation tools, or even something that analyzes images. It's designed to be pretty flexible so you can integrate it into different applications.

00;27;14;28 - 00;27;20;21
Speaker 1
Could I build an AI agent that could do what we're talking about?

00;27;20;24 - 00;27;38;19
Speaker 2
Yes, you could definitely build an AI agent for this. You'd use the Gemini API to handle the AI logic, and then integrate it with Solana's blockchain through metroplex. The agent could automate the NFT, minting, cash generation, and even the verification process.

00;27;38;21 - 00;27;51;14
Speaker 1
Okay. Can you walk me through that from like, from, like a non-technical person point of view, just slowly.

00;27;51;16 - 00;28;08;17
Speaker 2
Okay, let's break it down. First, you use the Gemini API to create the AI part of your agent. Think of it like teaching a smart assistant how to work with videos and Solana. Then you use Metal Plex, which is like a toolkit for building things on Solana to connect your AI agent to the blockchain. This lets it create and manage the NFTs.

00;28;08;19 - 00;28;18;02
Speaker 2
Finally, you design a simple button or interface for your Chrome extension so people can easily use your AI agent to verify videos.

00;28;18;05 - 00;28;27;17
Speaker 1
Okay, so I can use the Gemini API. What do I what do I do in the Gemini API?

00;28;27;20 - 00;28;43;06
Speaker 2
In the Gemini API, you'd basically create a set of instructions for your agent. These instructions would tell it how to interact with videos, generate those cryptographic hashes, and then use Metroplex on Solana to mint the NFTs. Think of it like giving your agent a step by step guide.

00;28;43;08 - 00;28;49;24
Speaker 1
Okay, what language would those instructions be in?

00;28;49;26 - 00;29;02;04
Speaker 2
You can give instructions to the Gemini API in natural language like English. It's designed to understand what you want it to do.

00;29;02;07 - 00;29;25;17
Speaker 1
Okay. So I'm going to have to experiment with that a little bit. Could I just be like, hey, can you create me an agent that will mint, low price NFTs with a cryptographic hash on metroplex using Solana?

00;29;25;19 - 00;29;43;15
Speaker 2
Yes. You could start with something like that. You then refine the instructions based on how the agent responds, adding details about the encryption, the Chrome extension interaction, and any other specific features you want.

00;29;43;18 - 00;29;55;05
Speaker 1
Okay. Do people usually use stuff like Python or anything with the Gemini API, or is just totally natural language?

00;29;55;07 - 00;30;07;13
Speaker 2
You can definitely use Python with the Gemini API. It's a popular choice for working with AI and machine learning. There are libraries that make it easy to send your instructions to Gemini and get responses back.

00;30;07;15 - 00;30;11;15
Speaker 1
Or I can just talk to it.

00;30;11;17 - 00;30;24;07
Speaker 2
Yes, you can interact with the Gemini API using natural language like we're doing now. You can also use programing languages like Python if you want to automate things or build more complex features.

00;30;24;09 - 00;30;32;21
Speaker 1
Okay, so what about, OpenAI ChatGPT version of this?

00;30;32;23 - 00;30;49;23
Speaker 2
ChatGPT is great for brainstorming ideas and outlining the steps for a project like this. It can help you figure out the best way to structure your code, or even suggest different ways to approach the problem. You could use it to generate examples of how to interact with the Solana blockchain, or to come up with different designs for your Chrome Extensions user interface.

00;30;49;25 - 00;31;00;05
Speaker 1
Okay, I think one thing that I'm a little confused about is like, where does this AI agent that is making decisions live?

00;31;00;08 - 00;31;22;02
Speaker 2
That's a great question. The AI agent itself would live on Google's servers or wherever you're running the Gemini API from. Your Chrome extension would then communicate with this agent over the internet, sending it information about the video and receiving back the verification result.

00;31;22;05 - 00;31;37;07
Speaker 1
Okay. What are some potential like, problems that you would foresee doing this?

00;31;37;10 - 00;31;59;18
Speaker 2
One potential problem is making sure the AI agent can accurately identify and verify videos, especially if there are slight variations or edits. You also need to consider how to handle cases where the video has been re-uploaded or shared on multiple platforms. And of course, there's always the challenge of keeping up with changes to the Solana blockchain and meta Plex.

00;31;59;21 - 00;32;02;04
Speaker 2
So.

00;32;02;06 - 00;32;11;20
Speaker 1
But once I create that like cryptographic hash, it's not going to change on my NFT or whatnot, right?

00;32;11;22 - 00;32;33;21
Speaker 2
That's right. Once the cryptographic hash is created and linked to your NFT on the film, on a blockchain, it's permanent. It acts like a digital fingerprint that can't be changed. Ensuring the nft's authenticity. Oh, also, just so you're aware. I'm not a financial advisor, so please don't rely on me for financial advice.

00;32;33;23 - 00;33;07;25
Speaker 1
Okay. So I would like you to step into my shoes and kind of go from like the first person perspective. Let's say that you are instructing the Gemini API on how to create an agent that could, mint NFTs and place whatever kind of hash necessary to link to the video.

00;33;07;27 - 00;33;34;09
Speaker 2
Okay. Here's how you could phrase it for the Gemini API. Hey, Gemini, I need you to create an agent that can mint NFTs for YouTube videos. It should generate a unique cryptographic hash for each video and include that hash in the Nft's metadata. The agent should also be able to interact with the Solana blockchain via metroplex to handle the minting process.

00;33;34;11 - 00;33;48;07
Speaker 1
Okay. Is there anything else that you would add to clarify any things that you expected to kind of mess up with?

00;33;48;09 - 00;34;03;17
Speaker 2
Yes. You could add that the agent should prioritize low cost minting options on Solana to keep things affordable. You might also specify that the cryptographic hash needs to be compatible with your Chrome extensions verification process.

00;34;03;20 - 00;34;18;27
Speaker 1
Okay, that's getting pretty complicated. What are, If you were to if you were to make something like this, what would be like the first steps you really took?

00;34;18;29 - 00;34;46;06
Speaker 2
If you were building this? You'd probably start by setting up your development environment and getting familiar with the Gemini API. Then you'd move on to coding the AI agent's logic, focusing on how it interacts with videos, and generates those cryptographic hashes. Next, you'd tackle the Solana integration using Meta Plex to handle the NFT minting. Finally, you'd work on the Chrome extension, making sure it can communicate with your AI agent and display the verification results.

00;34;46;08 - 00;34;57;15
Speaker 1
This, this seems doable. A bit of a project, but, pretty doable.

00;34;57;17 - 00;35;08;29
Speaker 2
Yes, it's definitely a doable project, especially with the tools available today. It might take some time and effort to learn the technologies and put everything together, but it's a great way to explore the world of AI and blockchain.

00;35;09;02 - 00;35;21;22
Speaker 1
So people who are already verifying their videos on the blockchain, are they putting videos on the blockchain? Are they what are they doing?

00;35;21;25 - 00;35;45;19
Speaker 2
That's a great question. People verifying their videos on the blockchain aren't actually putting the video files themselves on there. That would take up way too much space. Instead, they're creating a kind of digital fingerprint of the video called a hash. Think of it like a unique code that represents the video. This hash is then stored on the blockchain, and it can be used to prove that the video hasn't been tampered with.

00;35;45;21 - 00;35;51;17
Speaker 1
And then where do they put that hash?

00;35;51;19 - 00;36;04;07
Speaker 2
The hash itself is stored on the blockchain, which is like a giant public ledger. People can then access the blockchain to compare the hash of a video with the one stored there, confirming if it's the original or not.

00;36;04;09 - 00;36;09;28
Speaker 1
Where does where does the hash of the video live?

00;36;10;00 - 00;36;22;03
Speaker 2
The hash itself is stored on the blockchain, which is like a giant public ledger. People can then access the blockchain to compare the hash of a video with the one stored there, confirming if it's the original or not.

00;36;22;05 - 00;36;30;18
Speaker 1
No, but where is the hash stored? That's not on the blockchain?

00;36;30;20 - 00;36;45;08
Speaker 2
Okay, so the actual hash of the video is stored on the blockchain itself. Think of the blockchain like a giant public database where everyone can see the records. The hash is stored as a transaction on this database. And that transaction acts as proof that the video existed at a certain point in time.

00;36;45;10 - 00;36;58;02
Speaker 1
Okay, I think I'm misunderstanding what, hash is completely. How does it verify that that video is that video?

00;36;58;05 - 00;37;14;09
Speaker 2
Okay, let's try this. Think of a hash like a digital fingerprint for your video. It's a unique string of characters that's generated from the video's data. If even a tiny part of the video changes, the hash changes completely. So when you want to verify a video, you can compare its current hash to the one stored on the blockchain.

00;37;14;11 - 00;37;20;28
Speaker 2
If they match, you know it's the original. If they don't, something's been altered. Does that make sense?

00;37;21;00 - 00;37;34;11
Speaker 1
Yeah. So I would like you to go into the concept of it being a unique string generated from the data in the video.

00;37;34;14 - 00;37;51;18
Speaker 2
Okay. So imagine your video is like a really long book. The hash is like a super short summary of that book, but with a twist. It's completely unique. If you change even a comma in the book, the summary changes completely. That's how a hash works with your videos. Data.

00;37;51;21 - 00;38;01;11
Speaker 1
And so how does it turn a video into a hash?

00;38;01;13 - 00;38;20;00
Speaker 2
Okay, so there are special computer programs called hashing algorithms that take your video file and turn it into that unique string of characters. It's kind of like a mathematical recipe that scrambles the video's data in a specific way. The cool thing is, even if you slightly change the video, the recipe produces a completely different result.

00;38;20;02 - 00;38;28;06
Speaker 1
Okay, so, when you say videos data, what do you mean?

00;38;28;09 - 00;38;46;25
Speaker 2
Okay, so your video is made up of a bunch of tiny pieces of information, the colors of each pixel, the sounds and how they all change over time. Hashing algorithms take all that information and turn it into a unique, shorter code.

00;38;46;27 - 00;39;00;06
Speaker 1
So even if one frame in a video that is an hour long had been changed, to be able to tell.

00;39;00;08 - 00;39;11;17
Speaker 2
Exactly. Even if just one frame and a whole hour long video is changed, the hash will be completely different. It's a really sensitive way to detect if a video has been tampered with.

00;39;11;19 - 00;39;25;22
Speaker 1
Okay, so does it take data from every frame or how does it make this hash? Like how do these algorithms compute this unique hash?

00;39;25;24 - 00;39;42;21
Speaker 2
Hashing algorithms work by taking the data from every single frame of your video and running it through a series of mathematical operations. It's kind of like mixing all the colors and sounds together in a very specific way to create a unique code.

00;39;42;23 - 00;39;54;11
Speaker 1
It's probably too complicated to, like, discuss. But can you kind of, like, give me generally what goes into it?

00;39;54;13 - 00;40;09;12
Speaker 2
Sure. Hashing algorithms use a bunch of math tricks to scramble the video's data. They take all the info from the video, like the colors and sounds, and mix them up in a really specific way. It's designed so that even a tiny change in the video will make a completely different hash.

00;40;09;14 - 00;40;19;05
Speaker 1
If you knew the algorithm, could you break the code and replicate? Like a fake video?

00;40;19;07 - 00;40;38;15
Speaker 2
Yes. If someone knew the exact algorithm, they could theoretically create a fake video with the same hash. However, hashing algorithms are designed to be one way functions. This means that while it's easy to create a hash from a video, it's virtually impossible to recreate the original video from the hash alone.

00;40;38;17 - 00;40;44;26
Speaker 1
Okay, yeah, that makes sense. Do you think I would be able to do it?

00;40;44;28 - 00;41;03;14
Speaker 2
That's a really interesting question. AI is getting incredibly good at creating realistic videos, so it's definitely possible they could generate something that fools most people. However, the unique hash would still be different, so it wouldn't pass a blockchain verification.

00;41;03;17 - 00;41;11;11
Speaker 1
Is this how people who are doing this right now are doing it?

00;41;11;13 - 00;41;25;24
Speaker 2
Yeah, that's exactly how it works. People who want to verify their videos, create a hash of the original video and store it on the blockchain. Then anyone can compare the hash of a potentially altered video to the original hash on the blockchain to see if they match.

00;41;25;26 - 00;41;36;12
Speaker 1
So do these hashing algorithms to do this. Is this a service that costs money?

00;41;36;15 - 00;41;49;13
Speaker 2
Hashing algorithms themselves are usually free as they're just mathematical functions. However, there might be costs associated with storing the hashes on the blockchain or using specific services that help with the verification process.

00;41;49;16 - 00;42;20;13
Speaker 1
No, I mean, like, I can't just look at a video and be like, okay, this that's that hash. Like, I obviously have to punch that video in somewhere. Do I just go to, just do I just go to like, an open source browser site and like, put the URL of my video or like, or like the MP4, and it just pumps out a cryptographic hash.

00;42;20;15 - 00;42;22;23
Speaker 1
Or.

00;42;22;26 - 00;42;35;09
Speaker 2
You'd need special software to calculate the hash of a video. There are open source libraries and command line tools that can do this. You wouldn't just paste the video's URL into a website.

00;42;35;12 - 00;42;40;26
Speaker 1
Can you tell me about these softwares?

00;42;40;29 - 00;42;57;14
Speaker 2
There are a few different options. Some popular open source libraries are FFmpeg and OpenCV. They can handle video processing and have hashing algorithms built in. There are also command line tools like Hash Deep that can calculate hashes for files, including videos.

00;42;57;16 - 00;43;02;20
Speaker 1
And these are open source and cost money.

00;43;02;23 - 00;43;13;03
Speaker 2
Yes, FFmpeg, OpenCV and Hash deep are all open source, so they're free to use. You can download them from their websites and use them without paying anything.

00;43;13;06 - 00;43;22;09
Speaker 1
Okay, say those one more time, but slower so I can note them down.

00;43;22;12 - 00;43;31;26
Speaker 2
I'd be happy to. The names of the software are FFmpeg, OpenCV, and hash. Deep.

00;43;31;28 - 00;43;39;13
Speaker 1
Hash deep. What was the middle one? Open something.

00;43;39;16 - 00;43;47;20
Speaker 2
Right. It's OpenCV. It's short for open source computer vision library. It's a really powerful tool for working with images and videos.

00;43;47;22 - 00;43;56;29
Speaker 1
And the first was f MPC or s MPC.

00;43;57;01 - 00;44;07;00
Speaker 2
It's ffmpeg. It's a really powerful and versatile tool that can handle pretty much any video or audio format you can throw at it.

00;44;07;02 - 00;44;17;25
Speaker 1
And is just something I could download and put on my computer and then like upload an mp4 to it and it'll dump me out a hash.

00;44;17;28 - 00;44;33;04
Speaker 2
Yes, you can download ffmpeg and OpenCV onto your computer. Your command line tools. So you'd use them by typing commands into your terminal or command prompt. You can then point them to your MP4 video file, and they'll output the hash for you.

00;44;33;06 - 00;44;52;27
Speaker 1
Okay, but if this like f, MPE, g goes out of business and disappears or something like that, is that possible? And would my algorithm just be like unknown?

00;44;53;00 - 00;45;07;12
Speaker 2
That's a good question. Another FFmpeg is open source, so even if the project itself were to disappear, the code would still be available. The algorithm that uses are well-established and wouldn't suddenly become invalid. You'd still be able to verify your videos.

00;45;07;14 - 00;45;20;18
Speaker 1
Okay, that's good to know. Anything else you think that you'd like me to know about? Kind of what we talked about today.

00;45;20;21 - 00;45;43;23
Speaker 2
We've covered a lot about verifying videos on the blockchain. You learn how hashes act like digital fingerprints, how they're stored on the blockchain, and the tools you can use to generate them. We also talked about the importance of using reliable open source software like FFmpeg. Is there anything else you'd like to explore about this process?

00;45;43;25 - 00;45;52;28
Speaker 1
Mia, is this, I want you to give me some critical feedback.

00;45;53;00 - 00;46;09;04
Speaker 2
Okay, so you might want to explore the different hashing algorithms available and which ones are most secure for video verification. Also, consider the storage costs associated with keeping those hashes on the blockchain. Finally, think about how you'll make it easy for people to use your Chrome extension to verify videos.

00;46;09;07 - 00;46;19;00
Speaker 1
What do you mean storage process or storage costs? On the blockchain.

00;46;19;02 - 00;46;36;16
Speaker 2
Storing data on a blockchain isn't free. You have to pay transaction fees to write information onto the blockchain. And those fees can vary depending on the blockchain. You use. It's like paying for storage space on a hard drive, but instead of a one time fee you pay each time you add something new.

00;46;36;18 - 00;46;43;08
Speaker 1
Okay, but it's not like a rent or anything like that. Or it's like monthly.

00;46;43;11 - 00;46;54;22
Speaker 2
No, it's not like a monthly rent. You pay a fee each time you want to store something new on the blockchain. It's more like paying for a stamp every time you mail a letter. Rather than paying rent for a mailbox.

00;46;54;24 - 00;47;12;20
Speaker 1
Okay, what about some other critical feedback? Of either like the Chrome extension for or using the Gemini API, or just developing an AI agent.

00;47;12;22 - 00;47;28;19
Speaker 2
For the Chrome extension, you'll need to think about how you want users to interact with it. Will it be a simple button that verifies the video they're watching? Or will it have more advanced features? You also need to consider the user interface and how to display the verification results in a clear and easy to understand way. When it comes to the Gemini API.

00;47;28;22 - 00;47;46;08
Speaker 2
You'll want to explore its capabilities and limitations. How accurate is it at identifying videos and how well does it handle different video formats and resolutions? You might also want to research best practices for using the API to ensure you're getting the most out of it. Finally, for the AI agent itself, you'll need to consider its performance and efficiency.

00;47;46;11 - 00;48;01;21
Speaker 2
How quickly can a generate hashes and verify videos? How much processing power does it require? You might want to experiment with different algorithms and optimization techniques to find the best balance between speed and accuracy.

00;48;01;23 - 00;48;21;12
Speaker 1
What do you think about that third one? Like reasonably like for an early model, how quickly and cheaply do you think you could, set like a verification or a single YouTube video?

00;48;21;15 - 00;48;40;11
Speaker 2
That's a bit tricky to estimate without knowing the exact specs of your model, but for a single YouTube video, you'd probably be looking at anywhere from a few seconds to a minute for the AI to process it and give you a verification result. Keep in mind that longer videos or more complex algorithms could take more time.

00;48;40;14 - 00;48;54;25
Speaker 1
Okay. Thanks, Gemini. I really appreciate your help and, knowledge on these subjects. Yeah.

00;48;54;27 - 00;49;06;10
Speaker 2
You're very welcome. I'm glad I could help you explore the world of blockchain verification. It's a fascinating field with a lot of potential. If you have any more questions in the future, feel free to ask these.