FLUX.2 Flex

Model Information

Display Name: FLUX.2 Flex

API Model ID: black-forest-labs/flux-2-flex

Category: Text To Image

Description: FLUX.2 [FLEX] is a versatile model supporting up to 8 input images with adjustable guidance and inference steps. Great balance of quality and control. **Key Features:** - Up to 8 reference images - Adjustable guidance scale (1.5-10.0) - Configurable inference steps (1-50) - Prompt upsampling enabled by default **Best For:** - Flexible creative workflows - Fine-tuned control over generation - Multi-reference guided generation

How to Use This Model

To use FLUX.2 Flex via the HInow.ai API, use the model ID: black-forest-labs/flux-2-flex

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-flex",
  "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-flex",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.05

Available Parameters

  • aspect_ratio: Output image aspect ratio (Options: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3)
  • num_inference_steps: Number of inference steps (default: 50) (Options: 25, 30, 40, 50)
  • guidance_scale: Guidance scale (default: 5.0) (Options: 2.0, 3.5, 5.0, 7.5, 10.0)
  • output_format: Output image format (Options: jpeg, png)

Quick Reference

To use this model, set: "model": "black-forest-labs/flux-2-flex"

Featured: No

Documentation: https://hinow.ai/models/black-forest-labs/flux-2-flex

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

Back to Models

FLUX.2 Flex

black-forest-labs/flux-2-flex

$0.050
per image

About

FLUX.2 [FLEX] is a versatile model supporting up to 8 input images with adjustable guidance and inference steps. Great balance of quality and control.

Key Features:

  • Up to 8 reference images
  • Adjustable guidance scale (1.5-10.0)
  • Configurable inference steps (1-50)
  • Prompt upsampling enabled by default

Best For:

  • Flexible creative workflows
  • Fine-tuned control over generation
  • Multi-reference guided generation

Capabilities

Text To Image

Parameters

aspect_ratio

Output image aspect ratio

1:14:33:416:99:163:22:3
num_inference_steps

Number of inference steps (default: 50)

25304050
guidance_scale

Guidance scale (default: 5.0)

2.03.55.07.510.0
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-flex",
    "prompt": "A beautiful sunset over mountains",
    "parameters": {
      "aspect_ratio": "1:1",
      "num_inference_steps": "25",
      "guidance_scale": "2.0",
      "output_format": "jpeg"
    }
  }'