Add Genbase to x402 ecosystem
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
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
✅ Heimdall Review Status
| Requirement | Status | More Info | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Reviews |
✅
1/1
|
Denominator calculation
|
@fib57gz4y is attempting to deploy a commit to the Coinbase Team on Vercel.
A member of the Team first needs to authorize it.
@apmcdermott-cb Can you check this.
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
wallet: 0xabf01df9428ead5418473a7c91244826a3af23b3
transaction hash: 0xdc89b3dadf1e9dddfecbc1b7e3aa1201efc066705e245afb4dfd73ff2fdcd6f1
https://basescan.org/tx/0xdc89b3dadf1e9dddfecbc1b7e3aa1201efc066705e245afb4dfd73ff2fdcd6f1
veo3-fast-frames:1762393680-A3tEA136ut
There is a temporary issue with the veo3 model provider, causing video generation to fail.
0xabf01df9428ead5418473a7c91244826a3af23b3
@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.
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
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!