We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
black-forest-labs/flux-2-proFLUX.2 Pro — 65 credits, and it follows a long prompt
0 chars
Sample output — click Run to generate your own.

import Tchavi from '@tchavi/sdk';
const client = new Tchavi({ apiKey: 'API_KEY' });
const result = await client.images.generations.create({
"model": "flux-2-pro",
"prompt": "A cute cat wearing a space suit",
"n": 1,
"quality": "standard",
"size": "1024x1024"
});
console.log(result.data[0].b64_json);
console.log('Credits used:', result.tchavi.credits_used);Every parameter this model accepts on the API. Check the SDK for full typings.
modelRequiredID of the image model (e.g. `flux-2-pro`).
promptRequiredText description of the image to generate.
n1Number of images to generate (1–4).
Estimated over 30 days, ~1000 tokens per request (input + output).
Black Forest Labs' FLUX.2 Pro is unusually good at doing exactly what a detailed prompt asks, and keeps a character or style consistent across several reference images. At 65 credits an image it undercuts most of its quality tier.
flux-2-pro+150 bonus on your first top-up · No card to sign up