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/generations
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 image aspect ratio (Options: 1:1, 4:3, 3:4, 16:9, 9:16)
  • num_inference_steps: Number of inference steps (default: 4) (Options: 4, 6, 8, 10)
  • guidance_scale: Guidance scale (default: 2.5) (Options: 1.5, 2.0, 2.5, 3.0, 3.5)
  • output_format: Output image format (Options: jpeg, png)

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 image aspect ratio

1:14:33:416:99:16
num_inference_steps

Number of inference steps (default: 4)

46810
guidance_scale

Guidance scale (default: 2.5)

1.52.02.53.03.5
output_format

Output image format

jpegpng

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"
    }
  }'