FLUX.2 Dev

Model Information

Display Name: FLUX.2 Dev

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

Category: Text To Image

Description: FLUX.2 Dev is an open-source distilled version of FLUX.2 Pro, featuring 32 billion parameters and state-of-the-art image generation capabilities. **Key Features:** - High-quality image generation with up to 4MP output resolution - Fast inference time of approximately 2.5 seconds - Support for both text-to-image and image-to-image generation - Advanced prompt understanding and artistic style control **Capabilities:** - **Text-to-Image:** Generate images from detailed text descriptions - **Image-to-Image:** Transform and edit existing images with text guidance **Performance:** Delivers professional-grade results suitable for commercial applications while maintaining efficient generation times. **Pricing:** Base calculation: $0.01 x (width/1024) x (height/1024) x (steps/28) **Examples:** - 1024x1024, 28 steps: $0.01 - 2048x2048, 28 steps: $0.04 - 1024x1024, 56 steps: $0.02 **Technical Specifications:** - Parameters: 32 billion - Maximum Resolution: 4MP (e.g., 2048x2048) - Default Steps: 28 - Architecture: Rectified Flow Transformer

How to Use This Model

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

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

Pricing

  • total: $0.01

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: 28) (Options: 20, 25, 28, 30, 35, 40)
  • 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-dev"

Featured: No

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

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

Back to Models
FLUX.2 Dev

FLUX.2 Dev

black-forest-labs/flux-2-dev

$0.010
per image

About

FLUX.2 Dev is an open-source distilled version of FLUX.2 Pro, featuring 32 billion parameters and state-of-the-art image generation capabilities.

Key Features:

  • High-quality image generation with up to 4MP output resolution
  • Fast inference time of approximately 2.5 seconds
  • Support for both text-to-image and image-to-image generation
  • Advanced prompt understanding and artistic style control

Capabilities:

  • Text-to-Image: Generate images from detailed text descriptions
  • Image-to-Image: Transform and edit existing images with text guidance

Performance:

Delivers professional-grade results suitable for commercial applications while maintaining efficient generation times.

Pricing:

Base calculation: $0.01 x (width/1024) x (height/1024) x (steps/28)

Examples:

  • 1024x1024, 28 steps: $0.01
  • 2048x2048, 28 steps: $0.04
  • 1024x1024, 56 steps: $0.02

Technical Specifications:

  • Parameters: 32 billion
  • Maximum Resolution: 4MP (e.g., 2048x2048)
  • Default Steps: 28
  • Architecture: Rectified Flow Transformer

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: 28)

202528303540
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-dev",
    "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": "20",
      "guidance_scale": "1.5",
      "output_format": "jpeg"
    }
  }'