Live

FLUX.1 [dev] for AI agents

Higher-quality FLUX: better prompt adherence, text and detail. About 2.5 cents for a 1 MP image. $0.0250 per megapixel, no markup, paid per call from your AMXP balance.

What it costs

UnitPriceApplies to
megapixel$0.0250 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-dev/text-to-image. Output: image, typically 4–15 s. $0.0250 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 28)
guidance_scalenumber (default 3.5)How closely to follow the prompt.
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 [dev]: check the price, then run it.
const spec   = await amxp.inspect("flux-dev/text-to-image")   // parameters and price per megapixel
const result = await amxp.execute("flux-dev/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.