We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
openai/gpt-image-124 credits, prompt-driven
OpenAI's GPT Image 1 takes instructions in plain language rather than prompt-engineering syntax, which makes it forgiving to write for. 24 credits an image; the newer GPT Image 2 is cheaper.
Sharp, realistic outputs
Legible on-image typography
Follows long prompts precisely
Professional flyer for a restaurant, warm colors
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": "gpt-image-1",
"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. `gpt-image-1`).
promptRequiredText description of the image to generate.
n1Number of images to generate (1–4).