FLUX 2 Pro image generation
flux-2-proBlack Forest Labs' FLUX 2 Pro: photoreal images with strong prompt following, from 0.5 to 4 megapixels. Text-to-image. Compared with other image tools: budget. Price: from $0.032 per image, charged only on success. Price depends on resolution: 0.5 MP $0.032, 1 MP $0.042, 2 MP $0.062, 4 MP $0.103 (default 1 MP). One call = one image.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "flux-2-pro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| prompt | Yes | What to create or change | |
| resolution | No | Output size in megapixels; sets the price. Default 1 MP | |
| aspect_ratio | No | Aspect ratio, default 1:1 | |
| output_format | No |