Tools / AI creative / API
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.
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
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.
| model | width | height | content_type |
|---|---|---|---|
| fal-ai/flux/schnell | 1024 | 1024 | image/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
Describe the subject, the setting and the light, and say what you do not want.
flux-schnell is for fast drafts; move to another model for the final. Ratios include 1:1, 16:9 and 9:16.
POST to /v1/run with capability creative.image, or ask your agent through MCP. count asks for 1 to 4 images.
Read images[].url and store the files. The URLs are temporary.
Price
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.
In practice
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
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": "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"}'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
The quote depends on the model and on count, and the catalog lists each model's price. A failed call is not charged.
It makes new images from text. It takes no source image, and background removal is its own call.
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
No. You use one RouterGrowth key and wallet.
The catalog notes nano-banana as strong on text rendering.
recraft-v3 takes a style input, including vector_illustration.
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
Reading this as an agent? This page as markdown: /tools/ai-creative/ai-image-generation-api.md
Connect your agent once. The first calls run on the $1 that comes with signup.