Claude Desktop + Flux MCP: Professional AI Image Generation
Flux is an open-source image generation model developed by the former Stability AI team (Black Forest Labs), excelling in detail restoration, text rendering, and lighting effects. By integrating Flux into Claude Desktop via MCP, you can directly generate images within conversations.
¶ Configuration
Edit the Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
¶ Usage Examples
Logo Design:
Design a logo for a technology company, simple and modern style, blue gradient, a stylized letter A
Product Image:
Generate a product image of a coffee cup, white background, patterned cup body, coffee beans placed beside
Social Media Image:
Generate a food image suitable for Instagram, a bowl of ramen, top-down angle, warm tones
¶ Flux vs Midjourney Comparison
| Feature | Flux | Midjourney |
|---|---|---|
| Text Rendering | Excellent | Average |
| Photorealism | Outstanding | Outstanding |
| Detail Accuracy | Precise | Good |
| Suitable Scenarios | Product images, logos, posters | Artistic creation, concept design |
You can configure both Flux and Midjourney simultaneously, allowing Claude to automatically select the appropriate model based on the scenario.
¶ Obtaining a Token
Visit AceDataCloud platform to register and obtain an API Token.
