Skip to content

Add an example to store AI generated images on shelby - #11

Merged
0xmaayan merged 3 commits into
mainfrom
ai_image_generation_example
Oct 21, 2025
Merged

0xmaayan merged 3 commits into
mainfrom
ai_image_generation_example

Conversation

@0xmaayan

@0xmaayan 0xmaayan commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

This demo demonstrates how Shelby can serve as the data and provenance layer for AI systems. Every AI inference run produces verifiable, on-chain artifacts that are immutable, attributable, and accessible via Shelby's decentralized network.

Screen.Recording.2025-10-20.at.4.19.52.PM.mov

@0xmaayan
0xmaayan force-pushed the ai_image_generation_example branch from 5ffe01c to 119ec06 Compare October 20, 2025 20:59
@0xmaayan
0xmaayan force-pushed the ai_image_generation_example branch from 119ec06 to 1a14f24 Compare October 20, 2025 21:02
Comment thread apps/ai-image-generation/app/api/generate-image/route.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably add this as part of the new react library cc @GhostWalker562

import { useCallback } from "react";
import { getAptosClient, getShelbyClient } from "@/utils/client";

export const useSubmitCommitmentTransaction = () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hook is a bit more complicated since we take a different approach for Aptos native wallets and cross-chain wallets, so I don’t think the js-pro hooks are needed here.

Comment thread apps/ai-image-generation/package.json Outdated
@0xmaayan
0xmaayan force-pushed the ai_image_generation_example branch from 7395db6 to daed496 Compare October 21, 2025 15:52
@0xmaayan
0xmaayan force-pushed the ai_image_generation_example branch from daed496 to b8525ba Compare October 21, 2025 15:53
@0xmaayan
0xmaayan requested a review from hariria October 21, 2025 18:38
@0xmaayan
0xmaayan merged commit 86f15c9 into main Oct 21, 2025
1 check passed
affinity-matrix pushed a commit that referenced this pull request Oct 29, 2025
* add example to store ai generated images on shelby

* address comments

* fmt
affinity-matrix added a commit that referenced this pull request Oct 29, 2025
* Create list blob example

* [tables] Add list blob example

* Add an example to store AI generated images on shelby (#11)

* add example to store ai generated images on shelby

* address comments

* fmt

---------

Co-authored-by: Maayan <maayan@aptoslabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants