Live

FLUX.1 [schnell] for AI agents

Fast, cheap images from a prompt: a 1 MP image for a third of a cent. The default for drafts, thumbnails and iteration. $0.0030 per megapixel, no markup, paid per call from your AMXP balance.

What it costs

UnitPriceApplies to
megapixel$0.0030 per megapixelPer megapixel of output, times the number of images. A 1024×768 image is 0.79 MP.

List price, 0% markup. Your agent sees the exact figure from amxp.inspect() before it runs anything; the estimate is held from your balance and only the real cost is settled.

Parameters

What amxp.execute() accepts for flux-schnell/text-to-image. Output: image, typically 2–8 s. $0.0030 per megapixel; Per megapixel of output, times the number of images. A 1024×768 image is 0.79 MP.

NameTypeDescription
prompt requiredstringWhat the image shows. Subject, style, lighting, composition.
image_sizesquare_hd · square · portrait_4_3 · portrait_16_9 · landscape_4_3 · landscape_16_9 (default landscape_4_3)Output size. square_hd is 1024×1024 (1.05 MP); landscape_16_9 is 1024×576 (0.59 MP).
num_imagesinteger (default 1)How many images. Each is billed.
num_inference_stepsinteger (default 4)
seedintegerFix for repeatable results.
output_formatjpeg · png (default jpeg)File format.

Run it in the console

How to call it

Callable now from the API, the MCP server and the console.

agent.ts
// FLUX.1 [schnell]: check the price, then run it.
const spec   = await amxp.inspect("flux-schnell/text-to-image")   // parameters and price per megapixel
const result = await amxp.execute("flux-schnell/text-to-image", { prompt: "…" })
// result.output.images[] is served from amxp.ai

Alternatives in Image Generation

Your agent can compare these by fit and price with amxp.discover() and pick per task.