x402 icon indicating copy to clipboard operation
x402 copied to clipboard

Add Genbase to x402 ecosystem

Open fib57gz4y opened this issue 2 months ago • 8 comments

Genbase - AI Video Generator with x402

This guide will help you understand Genbase, an AI video generation platform powered by x402 open payment standard for programmatic payments.

This application showcases x402, the open payment standard that enables services to charge for access to their APIs directly over HTTP. It uses the HTTP 402 Payment Required status code to allow clients to programmatically pay for video generation without accounts, sessions, or credential management. Link: https://www.genbase.fun Documentation: https://www.genbase.fun/docs e1eef04992a11e1a8445580908a95037

Tests

Checklist

  • [x] I have formatted and linted my code
  • [x] All new and existing tests pass
  • [x] My commits are signed (required for merge) -- you may need to rebase if you initially pushed unsigned commits

fib57gz4y avatar Oct 27 '25 15:10 fib57gz4y

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

cb-heimdall avatar Oct 27 '25 15:10 cb-heimdall

@fib57gz4y is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 27 '25 15:10 vercel[bot]

@apmcdermott-cb Can you check this.

fib57gz4y avatar Oct 28 '25 01:10 fib57gz4y

Hi there, I tested the product before adding it to ecosystem and it charged me but failed to generate a video I gave it a few minutes and checked back and it just says 'Video generation failed'

task id: veo3-fast-frames:1762393680-A3tEA136ut Screenshot 2025-11-05 at 5 50 35 PM wallet: 0xabf01df9428ead5418473a7c91244826a3af23b3 transaction hash: 0xdc89b3dadf1e9dddfecbc1b7e3aa1201efc066705e245afb4dfd73ff2fdcd6f1 Screenshot 2025-11-05 at 5 52 42 PM

https://basescan.org/tx/0xdc89b3dadf1e9dddfecbc1b7e3aa1201efc066705e245afb4dfd73ff2fdcd6f1

Must-be-Ash avatar Nov 06 '25 01:11 Must-be-Ash

veo3-fast-frames:1762393680-A3tEA136ut

There is a temporary issue with the veo3 model provider, causing video generation to fail.

fib57gz4y avatar Nov 06 '25 02:11 fib57gz4y

0xabf01df9428ead5418473a7c91244826a3af23b3

image The funds have been refunded. Please try more prompts for testing. I will fix this bug soon. If no video is generated, the funds will be refunded to the user.

fib57gz4y avatar Nov 06 '25 02:11 fib57gz4y

@Must-be-Ash I believe the x402 protocol needs deferred payment and escrow mechanisms. This would allow for timely refunds to users in case of upstream service failures. Without these, developers would need to manually record user information and process refunds, hindering rapid development.

fib57gz4y avatar Nov 06 '25 02:11 fib57gz4y

Could look into this please? I tried to make a video but didn't receive the video and I think it didn't log the task ID cause I can't find it but it charge me: TX: 0x5471826836a4010ce9aff3d3196de24a1be4022e59633d8b1fd61b07b64d5f09 Wallet: 0xeDeE7Ee27e99953ee3E99acE79a6fbc037E31C0D

ps. I merged this in just waiting on team to deploy to Vercel

Must-be-Ash avatar Nov 10 '25 23:11 Must-be-Ash

Just pining you incase you missed the last message @fib57gz4y merged this in but it'd be great to get some better error handling. thanks!

Must-be-Ash avatar Nov 11 '25 17:11 Must-be-Ash