/api/image/generate - arweave upload

Merged
SW
1y ago
+357-22

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.