image_sizestring · optionalFLUX.2 Pro
Generate images from text prompts with configurable aspect ratio, resolution and output format.
by Black Forest LabsReady to run$0.0420 per megapixel
Example
You ask your agent
“Make a landscape product shot of a premium reusable water bottle on a stone plinth, with soft studio light.”
You get
- Result
- JPEG image file
- Size
- 1024 × 768 px
What your agent sends and gets back (JSON)
Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.
Request
{
"tool_id": "blackforestlabs.flux-2-pro",
"input": {
"prompt": "a premium reusable water bottle on a stone plinth, soft editorial studio light",
"image_size": "landscape_4_3"
}
}Response
{
"note": "images returned as artifacts",
"images": [
{
"width": 1024,
"height": 768,
"content_type": "image/jpeg"
}
]
}Use it with your agent
Copy the prompt and paste it into your agent, then tell it what you need.
Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use FLUX.2 Pro (tool ID: blackforestlabs.flux-2-pro). Ask me for the details you need, then show me the result.
Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.
No agent yet? Create your account on the web and connect one from your dashboard later.
Other tools for this job
Compare all 4 →FLUX.1 schnellBlack Forest Labs$0.0042 per megapixel
MiniMax Image-01MiniMax$0.0049 per image
Grok Imagine ImagexAI$0.0280 per image
Questions
Is FLUX.2 Pro by Black Forest Labs free?
Scrollport has no free tier: it costs $0.0420 per megapixel, paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.
Do I need an API key from Black Forest Labs?
No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Black Forest Labs, so you don't sign up with Black Forest Labs or manage an API key.
Details
About this tool
Create one studio-grade image with FLUX 2 Pro. Scrollport pins safety checks and output format, persists the generated JPEG privately, and prices the first output megapixel separately from additional megapixels.
All inputs and outputs
Input
promptstring · requiredInstruction describing the requested generated output.
minLength: 1 · maxLength: 5000
seedinteger · optionalOutput
imagesarrayImages returned for the request.
notestringNote about how the result was produced or limited.
Errors and limits
invalid_input: prompt is required and custom image dimensions must stay inside the published boundsexample: {"prompt":"a premium reusable water bottle on a stone plinth, soft editorial studio light","image_size":"landscape_4_3"}