Image generation API for AI agents

Scrollport gives AI agents 4 tools to generate images, from Black Forest Labs, MiniMax and xAI, through one connection. Prices are per megapixel or image, depending on the tool, paid per use from one prepaid wallet with no subscription, provider accounts or API keys. Agents use them over MCP, the CLI or the HTTP API.

Updated

Generate images with Scrollport

Use verified tools with pay-per-use pricing. Provider access is included. Tools that work in your own apps ask you to connect that account.

Connect your first agent to receive $1 trial credit.

Compare Image generation API tools

Prices are per megapixel or image, depending on the tool, so compare what each tool returns and a typical run's cost before choosing.

ToolProviderWhat it returnsPrice
FLUX.1 schnellBlack Forest LabsGenerate images from text prompts with configurable size, inference steps and output count.$0.0042/megapixel
MiniMax Image-01MiniMaxGenerate images from text prompts with configurable aspect ratio and output count.$0.0049/image
Grok Imagine ImagexAIGenerate or edit images from text prompts with aspect-ratio and output-format controls.$0.0280/image
FLUX.2 ProBlack Forest LabsGenerate images from text prompts with configurable aspect ratio, resolution and output format.$0.0420/megapixel

4 available tools

Generate images

$0.0042/megapixel

FLUX.1 schnell

Generate images from text prompts with configurable size, inference steps and output count.

Black Forest Labs

Generate images

$0.0049/image

MiniMax Image-01

Generate images from text prompts with configurable aspect ratio and output count.

MiniMax

Generate images

$0.0280/image

Grok Imagine Image

Generate or edit images from text prompts with aspect-ratio and output-format controls.

xAI

Generate images

$0.0420/megapixel

FLUX.2 Pro

Generate images from text prompts with configurable aspect ratio, resolution and output format.

Black Forest Labs

Questions about Image generation API

How much do image generation API tools cost?

Prices are per megapixel or image, depending on the tool. You pay per use from one prepaid wallet with no subscription. Your agent sees the exact price before each run, and connecting your first agent adds $1 of trial credit.

What is the best image generation API for an AI agent?

It depends on what you need back and how much you will run it. FLUX.1 schnell (Black Forest Labs, $0.0042/megapixel): Generate images from text prompts with configurable size, inference steps and output count. MiniMax Image-01 (MiniMax, $0.0049/image): Generate images from text prompts with configurable aspect ratio and output count. Grok Imagine Image (xAI, $0.0280/image): Generate or edit images from text prompts with aspect-ratio and output-format controls. Your agent can inspect the closest match and see its exact price before it runs.

Learn more about image generation

Start with the communication goal, audience and destination for the image. Your agent can translate that direction into a suitable model and production brief.

Describe the outcome before the style

Explain what the image needs to communicate and where it will appear, then add subject, setting, composition, mood and style. Include aspect ratio, safe areas or text placement requirements for the final channel.

How should I compare image generation results?

Judge candidates against the intended outcome, not visual novelty alone. Check subject accuracy, composition, brand fit, small details, text, artifacts and whether the image still works at its final size.

Use references and constraints deliberately

Provide visual references only when they clarify a specific quality such as composition, palette or product appearance. Tell the agent what to borrow from each reference and what it must not reproduce.

Example prompt

Use this to generate a small, comparable first set.

Example prompt to give your agent

Use Scrollport's Image generation tools to create [NUMBER] concepts for [USE AND AUDIENCE]. The image must communicate [MESSAGE] and show [SUBJECT AND SETTING], with [COMPOSITION, MOOD AND STYLE]. Use [ASPECT RATIO OR DIMENSIONS], preserve space for [COPY OR UI], and avoid [EXCLUSIONS]. Show me the price before the paid run and help me compare the results against the brief.