FLUX.2 Klein 9B

Model Information

Display Name: FLUX.2 Klein 9B

API Model ID: black-forest-labs/flux-2-klein-9b

Category: Text To Image

Description: Fast 9B parameter image generation model with sub-second inference. 4-step distilled version optimized for production applications.

How to Use This Model

To use FLUX.2 Klein 9B via the HInow.ai API, use the model ID: black-forest-labs/flux-2-klein-9b

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "black-forest-labs/flux-2-klein-9b",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "black-forest-labs/flux-2-klein-9b",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.02

Available Parameters

  • aspect_ratio: Output aspect ratio. All 9 canonical ratios are accepted; if the upstream provider does not natively support a given ratio, the system maps to the closest one. (Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21)
  • num_inference_steps: Number of inference steps. (Options: 4, 6, 8, 10)
  • guidance_scale: How closely to follow the prompt. (Options: 1.5, 2.0, 2.5, 3.0, 3.5)
  • output_format: Output image format. (Options: jpeg, png)
  • strength: Image transformation strength for img2img (0.0-1.0). Lower keeps more of the original.

Quick Reference

To use this model, set: "model": "black-forest-labs/flux-2-klein-9b"

Featured: No

Documentation: https://hinow.ai/models/black-forest-labs/flux-2-klein-9b

API Endpoint: https://api.hinow.ai/v1

Back to Models
FLUX.2 Klein 9B

FLUX.2 Klein 9B

black-forest-labs/flux-2-klein-9b

$0.020
per image

About

Fast 9B parameter image generation model with sub-second inference. 4-step distilled version optimized for production applications.

Capabilities

Text To ImageImage To Image

Parameters

aspect_ratio

Output aspect ratio. All 9 canonical ratios are accepted; if the upstream provider does not natively support a given ratio, the system maps to the closest one.

1:116:99:164:33:43:22:321:99:21
num_inference_steps

Number of inference steps.

46810
guidance_scale

How closely to follow the prompt.

1.52.02.53.03.5
output_format

Output image format.

jpegpng
strength

Image transformation strength for img2img (0.0-1.0). Lower keeps more of the original.

Code Examples

curl -X POST https://api.hinow.ai/v1/images \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "black-forest-labs/flux-2-klein-9b",
    "prompt": "Transform this image into cyberpunk style",
    "images": [
      "https://example.com/image1.jpg",
      "data:image/png;base64,iVBORw0KGgo..."
    ],
    "parameters": {
      "aspect_ratio": "1:1",
      "num_inference_steps": "4",
      "guidance_scale": "1.5",
      "output_format": "jpeg",
      "strength": ""
    }
  }'