Black Forest Labs

FLUX.2 [dev]

Base URL
Model ID
Per image
€0.015
Modalities
Input: Text, Image. Output: Image.
See pricing

Overview

Black Forest Labs FLUX.2 [dev] is the latest generation text-to-image model with significant improvements over FLUX.1. Features enhanced prompt following, superior image quality, and faster generation. Built on the proven rectified flow transformer architecture with optimizations for better detail, composition, and text rendering. Excellent for creative workflows, concept art, and high-quality image generation with both text-to-image and image-to-image capabilities.

Code samples

curl -X POST "https://api.melious.ai/v1/images/generations" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $MELIOUS_API_KEY" \
  -d '{
    "model": "flux-2-dev",
    "prompt": "A lighthouse on a rocky coast at dawn",
    "size": "1024x1024"
  }'

Capabilities

Input
Text, Image
Output
Image

Where it runs

Hosted in Renewable power 100% Power efficiency Water efficiency
All models

Start with FLUX.2 [dev]

Estimate monthly cost

FLUX.2 [dev]

Estimated cost per month €15.00