# FLUX.2 \[klein\] 9B text to image fal AI

Needs prompt.

FLUX.2 [klein] 9B, served by fal.ai. $0.006 per megapixels Output is constrained to 1024x1024 and one image; reservation covers two billed megapixels, including whole-megapixel rounding. The exact receipt determines the final charge. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "fal-ai/flux-2" and that request_id. The exact endpoint/request billing receipt is required before settlement.

- Tool ID: `fal/fal-ai-flux-2-klein-9b`
- Name in the catalog: FLUX.2 \[klein\] 9B, text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [FLUX.2](/tools/image-generation/flux.md)
- Price: $0.012 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.012
}
```

Pricing source: [https://fal.ai/models/fal-ai/flux-2/klein/9b/llms.txt](https://fal.ai/models/fal-ai/flux-2/klein/9b/llms.txt). $0.006 per megapixels Output is constrained to 1024x1024 and one image; reservation covers two billed megapixels, including whole-megapixel rounding. The exact receipt determines the final charge..

Price verification date: 2026-11-03.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "prompt": {
      "title": "Prompt",
      "description": "The prompt to generate an image from.",
      "type": "string"
    },
    "seed": {
      "title": "Seed",
      "description": "The seed to use for the generation. If not provided, a random seed will be used.",
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "image_size": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer",
          "enum": [
            1024
          ]
        },
        "height": {
          "type": "integer",
          "enum": [
            1024
          ]
        }
      },
      "required": [
        "width",
        "height"
      ],
      "additionalProperties": false,
      "default": {
        "width": 1024,
        "height": 1024
      }
    },
    "num_inference_steps": {
      "minimum": 4,
      "default": 4,
      "description": "The number of inference steps to perform.",
      "title": "Number of Inference Steps",
      "type": "integer",
      "maximum": 8,
      "enum": [
        4
      ]
    },
    "output_format": {
      "title": "Output Format",
      "default": "png",
      "description": "The format of the generated image.",
      "type": "string",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ]
    },
    "num_images": {
      "minimum": 1,
      "default": 1,
      "description": "The number of images to generate.",
      "title": "Number of Images",
      "type": "integer",
      "maximum": 1,
      "enum": [
        1
      ]
    },
    "enable_safety_checker": {
      "title": "Enable Safety Checker",
      "default": true,
      "description": "If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.",
      "type": "boolean"
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "fal/fal-ai-flux-2-klein-9b",
  "input": {
    "prompt": "A bright, surreal scene on a vast white salt flat under a clear blue sky, featuring two fluffy white alpacas standing in the foreground. Behind them sits a sleek white supercar with its scissor doors open, creating a dramatic futuristic silhouette. The sunlight is strong and crisp, casting sharp shadows on the ground and giving the image a clean, high-contrast cinematic look. Minimalist composition, playful luxury vibe, ultra sharp detail, wide-angle perspective, high resolution.",
    "image_size": {
      "width": 1024,
      "height": 1024
    },
    "num_images": 1,
    "num_inference_steps": 4,
    "output_format": "png",
    "enable_safety_checker": true
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

This tool uses deferred settlement. Follow its returned task/run instructions; preserve the existing reservation until the result is reconciled.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://fal.ai/models/fal-ai/flux-2/klein/9b)

[REST inspection](https://api.agentik.cc/v1/tools/fal/fal-ai-flux-2-klein-9b) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/fal-ai-flux-2-klein-9b) · [Agent index](/llms.txt)
