Partnering with Black Forest Labs to bring FLUX.2 -dev- to Cloudflare Workers AI
Nov 25, 2025Michelle Chen, David Liu

Summary
This post introduces the FLUX.2 [dev] model to Cloudflare Workers AI, detailing its capabilities for photorealistic image generation, character consistency through multi-reference inputs, and granular controls like JSON prompting and hex code color specification. It provides code examples for using the model via curl and Workers AI Binding, highlighting its use cases for ad variations, product shots, and dynamic editorials. The post also mentions the underlying technical implementation of multipart form data for image inputs and output.
More from the Artificial Intelligence Integration & Impact trail
- Introducing Clef-omni with full multimodality, plus a faster Clef and a cheaper Clef-flash
- Introducing Web Search API via AI Gateway
- Introducing Clef: our open-source decision models, and new RL fine-tuning platform
- One year later: Sovereign AI and the fight for choice
- AI Search is now generally available