FLUX 2 Klein fast image generation
flux-2-kleinBlack Forest Labs' small, very fast FLUX 2 model: good images in about a second at a fraction of a cent. Text-to-image. Compared with other image tools: budget, and one of the most used right now. Price: from $0.002 per image, charged only on success. Price depends on output_megapixels: 0.5 $0.002, 0.25 $0.002, 1 $0.003, 2 $0.004, 4 $0.007 (default 1). 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-klein"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| prompt | Yes | What to create or change | |
| aspect_ratio | No | Aspect ratio, default 1:1 | |
| output_format | No | ||
| output_megapixels | No | Output size in megapixels; sets the price. Default 1 |