Signup comes with $1 in credit. No subscription needed.Claim your $1

Tools / AI creative / API

Generate a Flux image from a text prompt without a fal account

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.

Real run: 1 record $0.00525 per image creative.image MCP ยท REST ยท CLI

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

What does it return?

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.

1records returned
5.2 sto answer
$0.052charged for the run
modelurlprompt
fal-ai/flux-pro/v1.1https://v3b.fal.media/files/b/0ab39e41/ud2y9dTc47887BzAhjGzA_70d5bf1482a045299ff3005c6403a075.jpgOverhead 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

How do you do it?

  1. Write the prompt

    Describe the scene, the light and what to leave out, such as text or logos.

  2. Pick the Flux model

    Pass model flux-schnell, flux-pro or flux-pro-ultra. Leave it out and flux-schnell runs.

  3. Set the shape

    aspect_ratio takes 1:1, 16:9, 9:16, 4:3 or 3:4. Use count for up to four images in one call.

  4. Store the file

    Download the image from the returned URL. The link expires.

Price

What does it cost?

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.

$0.00525per image
No seatand no monthly plan needed
$0when the call finds nothing

In practice

What do you ask it?

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

How do you connect it?

One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.

MCP server
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
CLI
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"}'
REST
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

What should you know first?

Billed per image

Each model has its own rate, times count. A failed generation is not charged.

Not every Flux variant

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 seed comes back

The result carries the seed used, but the input has no seed field, so the same prompt can return a different image.

FAQ

Questions about flux api

Do I need a Black Forest Labs or fal key?

No. The call runs on fal with RouterGrowth's account and is charged to your wallet.

Which Flux model should I use?

flux-schnell for many cheap drafts, flux-pro for a finished image, flux-pro-ultra when you need up to 4 megapixels.

Can I upload a reference image?

Not in this call. It takes a text prompt only.

What format is the image?

This run returned a JPEG with its width, height and content type. Store it yourself, as the URL is temporary.

More on AI creative

Related pages

Reading this as an agent? This page as markdown: /tools/ai-creative/flux-api.md

One key. Every network.

Connect your agent once. The first calls run on the $1 that comes with signup.