# 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.

HTML page: https://www.routergrowth.com/tools/ai-creative/flux-api
Part of: [AI creative tools](https://www.routergrowth.com/tools/ai-creative.md)

## The call

[`creative.image`](https://www.routergrowth.com/catalog/creative.image): Ad creatives, social visuals and thumbnails from a text prompt.

Price on this network: $0.00525 per image. The exact quote is shown before every run.

## What a real run returned

Run on 2026-11-23: 1 records in 5.2 s for $0.052. Personal fields are masked. 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.

| 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… |

## How to 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.

## Ask it like this

- 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. (`creative.image`)
- Generate a 1:1 flux-pro photo of a granola bowl on a plain background and cut the bowl out onto a transparent PNG. (`creative.image`, `creative.remove_background`)

## Connect

MCP server: `https://api.routergrowth.com/mcp`

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
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"}'
```

```bash
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

- **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.

## Questions

### 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.

## Related

- [Turn a short script into an MP3 with one call and one key](https://www.routergrowth.com/tools/ai-creative/text-to-speech-api.md)
- [Generate a voiceover from a Python script, with word timings for captions](https://www.routergrowth.com/tools/ai-creative/text-to-speech-api-python.md)
- [Send an image URL and get back the subject on a transparent PNG](https://www.routergrowth.com/tools/ai-creative/background-removal-api.md)
- [Generate an image from a prompt, and switch models with one input](https://www.routergrowth.com/tools/ai-creative/ai-image-generation-api.md)
