Flux AI for developers and agents

Flux AI Developer Resources

Build programmatic workflows for FluxAIPro and Flux AI image generation: product photos, ecommerce visuals, ad creatives, brand images, and agent-driven creative operations.

API reference

Public API for AI image generation workflows

Create product photos

Submit text-to-image or image-to-image generation tasks for ecommerce PDPs, marketplace images, and catalog refreshes.

Automate ad creatives

Generate campaign variations from a brand prompt, then poll task status or receive callback updates from your pipeline.

Connect AI agents

Use the OpenAPI document or Flux AI MCP server so assistants can discover models, create tasks, and fetch results.

Auth and access

API key authentication for agents

Flux AI uses bearer API keys for server-side integrations. Create an API key from your account, then pass it as Authorization: Bearer <key> when calling REST endpoints or the MCP server.

Webhooks and callbacks

Callback-ready generation tasks

For long-running product photo and ecommerce image jobs, set invokeType to callback and provide a secure callback URL. Agents can also use polling with the generation task endpoints documented in the OpenAPI spec.

Predictable URLs for discovery

OpenAPI: https://fluxaipro.art/openapi.json, MCP manifest: https://fluxaipro.art/mcp.json, MCP endpoint: https://fluxaipro.art/mcp, MCP Apps UI: ui://flux-ai/generation-panel.html, full agent index: https://fluxaipro.art/llms-full.txt