Back to Models

FLUX.2 [dev]

black-forest-labs/flux.2-dev
Black Forest Labs Image Generation

Description

FLUX.2 [dev] by Black Forest Labs. This model supports image capabilities. Main use: Image-to-Image.

Specifications

Input Modalities:
Image
Output Modalities:
Image
Main Use:
Image-to-Image

Pricing

Per Image (1MP) Cost:
0.03080000 Credits
Images (1MP) per credit:
32.47

Usage Example

const { Client } = require('ai-proxy-sdk');

const client = new Client({
  consumerKey: process.env.BITMESH_CONSUMER_KEY,
  consumerSecret: process.env.BITMESH_CONSUMER_SECRET
});

const response = await client.images.generate({
  prompt: 'Flying car',
  model: 'black-forest-labs/flux.2-dev',
  width: 1024,
  height: 1024,
  seed: 22,
  n: 1,
  steps: 20
});