
We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
black-forest-labs/flux-2-flex130 credits, for text and layout
FLUX.2 Flex is the FLUX variant to use when the image contains words — posters, packaging, covers — where letterforms have to survive. Twice the price of FLUX.2 Pro, so use Pro when there is no text.
Last updated Nov 19, 2026
Renders complex typography inside the image
Holds small structures other models smear
Edit against several reference images at once
Reliable placement for posters and covers
Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.
Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.
import Tchavi from '@tchavi/sdk';
const client = new Tchavi({ apiKey: 'API_KEY' });
const result = await client.images.generations.create({
"model": "flux-2-flex",
"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-flex`).
promptRequiredText description of the image to generate.