AI Persistence/build Cloudflare Artifact Store

Use when a Cloudflare Worker needs durable byte storage for TanStack AI generated media (images, audio, video, transcripts) — writes a BlobStore backed by R2 and an ArtifactStore backed by D1, composes them onto the generation persistence so withGenerationPersistence persists artifact bytes, and serves them back from a Worker GET route. Includes one-line sketches for S3, GCS, Vercel Blob, Supabase, and a dev filesystem BlobStore.

TanStack 4f565d9 31.0 KB Updated

File contents

tanstack/ai/tree/main/packages/ai-persistence/skills/ai-persistence/build-cloudflare-artifact-store commit 4f565d9f14

Frequently asked questions

npx skillmds@latest add tanstack/ai-persistence-build-cloudflare-artifact-store