Skip to main content
すべての投稿
Feature

AI Built Into Your Stack

Cloudflare Workers AI and Fal.ai powered AI capabilities, ready out of the box.

TanStarter ships with production-ready AI capabilities powered by Cloudflare Workers AI and TanStack AI. No GPU setup, no separate infrastructure — just server functions that call AI models directly from your deployment.

Cloudflare Workers AI at the Edge

Cloudflare Workers AI runs inference on hardware across 200+ data centers. Your requests route to the nearest instance — milliseconds latency, pay-per-request pricing.

Text processing — summarization and translation across 10 languages.

Text-to-speech — 12 voices with cost preview before synthesis.

Image captioning — LLaVA 1.5 handles image-to-text with preset or custom prompts.

Image generation — Flux.1 Schnell, SDXL Lightning, and DreamShaper 8 LCM at the edge.

TanStack AI + Fal.ai for Premium Images

For higher quality output, the template integrates @tanstack/ai with the Fal.ai adapter:

  • Gemini 2.5 Flash — Google's latest image model
  • Flux Schnell — Fast and affordable
  • GPT Image 2 — OpenAI's latest with sharp text rendering

Image editing — upload a portrait, apply styles like Pixar 3D or Anime Portrait.

Ready to Ship

Three environment variables activate everything:

VariablePurpose
CLOUDFLARE_ACCOUNT_IDWorkers AI access
CLOUDFLARE_API_TOKENWorkers AI authorization
FAL_KEYFal.ai image generation

Set them with wrangler secret put. The AI features are part of your Cloudflare Workers deployment.