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

Tools / AI creative / API

Generate an image from a prompt, and switch models with one input

Send a prompt to creative.image with an aspect ratio and a model, and get back a temporary link to each image with its size and type. The model input takes flux-schnell, flux-pro, flux-pro-ultra, nano-banana or recraft-v3, so testing a second model means changing one value. It runs through fal; RouterGrowth is independent of the model makers.

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

Ask your agent

Make four square drafts of this product shot with flux-schnell, then remake my favourite 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 2, 2026. These are the first rows it returned; fields that name a person are masked.

1records returned
2.9 sto answer
$0.006292charged for the run
modelwidthheightcontent_type
fal-ai/flux/schnell10241024image/jpeg

One flux-schnell image of a generic mug came back as a 1024 by 1024 JPEG in 2.9 seconds; the link to the file is temporary, so it is not shown.

Step by step

How do you do it?

  1. Write the prompt

    Describe the subject, the setting and the light, and say what you do not want.

  2. Pick a model and ratio

    flux-schnell is for fast drafts; move to another model for the final. Ratios include 1:1, 16:9 and 9:16.

  3. Call the API

    POST to /v1/run with capability creative.image, or ask your agent through MCP. count asks for 1 to 4 images.

  4. Save the images

    Read images[].url and store the files. The URLs are temporary.

Price

What does it cost?

List prices on this call, 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 four square drafts of this product shot with flux-schnell, then remake my favourite with flux-pro.

Generate a product photo of a ceramic mug and cut it out onto a transparent background.

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": "Studio product photo of a plain matte sage green ceramic travel mug on a light grey seamless background, soft daylight from the left, no text, no logo", "aspect_ratio": "1:1", "model": "flux-schnell"}'
REST
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "creative.image", "input": {"prompt": "Studio product photo of a plain matte sage green ceramic travel mug on a light grey seamless background, soft daylight from the left, no text, no logo", "aspect_ratio": "1:1", "model": "flux-schnell"}}'

Worth knowing

What should you know first?

Charged per image, by model

The quote depends on the model and on count, and the catalog lists each model's price. A failed call is not charged.

No editing in this call

It makes new images from text. It takes no source image, and background removal is its own call.

Check rights and likeness

Do not ask for a real person or a brand's logo without the right to use them. The example asks for a generic product.

FAQ

Questions about ai image generation api

Do I need a fal or Flux account?

No. You use one RouterGrowth key and wallet.

Which model handles text in the image?

The catalog notes nano-banana as strong on text rendering.

Can I get vector art?

recraft-v3 takes a style input, including vector_illustration.

Can I reproduce an image?

The result of this run included a seed, but the input has no seed field, so you cannot pass it back through this call.

More on AI creative

Related pages

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

One key. Every network.

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