Tools / AI creative / API
Send a prompt, an aspect ratio and a Flux model to creative.image and get back the image URL, its size and the seed. flux-schnell is for fast drafts, flux-pro for the final shot and flux-pro-ultra for up to 4 megapixels. The call runs on fal, so there is no fal key or account to manage. Image URLs are temporary: download what you keep.
Ask your agent
Make three 9:16 flux-schnell drafts of a breakfast table scene for a story ad, then redo the one I pick with flux-pro.
Connect RouterGrowth once, then ask in plain words. New workspaces start with $1 of credit. Get a key or read the setup guide.
A real run
One call to creative.image (image generation), run through RouterGrowth on November 23, 2026. These are the first rows it returned; fields that name a person are masked.
| model | url | prompt |
|---|---|---|
| fal-ai/flux-pro/v1.1 | https://v3b.fal.media/files/b/0ab39e41/ud2y9dTc47887BzAhjGzA_70d5bf1482a045299ff3005c6403a075.jpg | Overhead photo of a wooden breakfast table with a white ceramic bowl of granola, fresh blueberries and a glass of orange juice, softโฆ |
One flux-pro image in 4:3 came back as a 1024 by 768 JPEG in 5.2 seconds, with the seed returned; the link is temporary and may no longer open.
Step by step
Describe the scene, the light and what to leave out, such as text or logos.
Pass model flux-schnell, flux-pro or flux-pro-ultra. Leave it out and flux-schnell runs.
aspect_ratio takes 1:1, 16:9, 9:16, 4:3 or 3:4. Use count for up to four images in one call.
Download the image from the returned URL. The link expires.
Price
List prices on flux-pro, read from the catalog when this page was built. The exact figure is quoted before every run, and a monthly plan lowers it.
In practice
You describe the job; the agent picks the calls, shows the price and runs them.
Make three 9:16 flux-schnell drafts of a breakfast table scene for a story ad, then redo the one I pick with flux-pro.
Generate a 1:1 flux-pro photo of a granola bowl on a plain background and cut the bowl out onto a transparent PNG.
Connect
One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
npm install -g routergrowth && routergrowth setup
routergrowth run -c creative.image -i '{"prompt": "Overhead photo of a wooden breakfast table with a white ceramic bowl of granola, fresh blueberries and a glass of orange juice, soft morning window light, no text, no logo", "aspect_ratio": "4:3", "model": "flux-pro"}'curl -X POST https://api.routergrowth.com/v1/run \
-H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
-d '{"capability": "creative.image", "input": {"prompt": "Overhead photo of a wooden breakfast table with a white ceramic bowl of granola, fresh blueberries and a glass of orange juice, soft morning window light, no text, no logo", "aspect_ratio": "4:3", "model": "flux-pro"}}'Worth knowing
Each model has its own rate, times count. A failed generation is not charged.
The call takes flux-schnell, flux-pro and flux-pro-ultra. Flux dev, LoRAs and image to image inputs are not part of it.
The result carries the seed used, but the input has no seed field, so the same prompt can return a different image.
FAQ
No. The call runs on fal with RouterGrowth's account and is charged to your wallet.
flux-schnell for many cheap drafts, flux-pro for a finished image, flux-pro-ultra when you need up to 4 megapixels.
Not in this call. It takes a text prompt only.
This run returned a JPEG with its width, height and content type. Store it yourself, as the URL is temporary.
More on AI creative
Reading this as an agent? This page as markdown: /tools/ai-creative/flux-api.md
Connect your agent once. The first calls run on the $1 that comes with signup.