/api/image/generate - arweave upload
Merged
SW
1y ago+357+357+012345678901234567890123456789-22-22-01234567890123456789
Summary by CodeRabbit
- New Features
- Generated images are now automatically uploaded and exposed via a public fetchable URL; API responses include imageUrl and Arweave transaction details.
- Added utilities to detect, normalize, and convert Arweave/IPFS URLs into fetchable gateway URLs.
- Refactor
- Image output schema flattened and now surfaces usage, imageUrl, and arweaveResult at the top level.
✏️ Tip: You can customize this high-level summary in your review settings.