We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
google/nano-banana-2The balanced Google image model
Nano Banana 2 sits between Flash-Lite and Pro: 142 credits at 1K, 214 at 2K, 320 at 4K, with reference images and editing. The one to pick when a visual will actually be published.
Resolutions up to 4096×4096
Follows detailed prompts well
Quick turnaround at high res
Cinematic portrait of a woman, golden light
Product photo of a leather bag on white background
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": "nano-banana-2",
"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. `nano-banana-2`).
promptRequiredText description of the image to generate.
n1Number of images to generate (1–4).