flux.1-kontext-pro
About flux.1-kontext-pro
Flux AI text-to-image model with quality comparable to Midjourney and surpassing Stable Diffusion.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Price |
|---|---|---|---|---|
Azure-Gpt-3 | … | ×0.3718 | $0.0446 | |
Azure-Gpt-4 | … | ×0.7436 | $0.0892 |
USD per call
Supported endpoints
image-generation
Call flux.1-kontext-pro in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/images/generations \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "flux.1-kontext-pro", "prompt": "A lighthouse at dawn, watercolor", "size": "1024x1024"}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
img = client.images.generate(model="flux.1-kontext-pro", prompt="A lighthouse at dawn, watercolor", size="1024x1024")
print(img.data[0].url or img.data[0].b64_json[:40])import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const img = await client.images.generate({ model: "flux.1-kontext-pro", prompt: 'A lighthouse at dawn, watercolor', size: '1024x1024' });
console.log(img.data[0].url);Questions about flux.1-kontext-pro
How much does flux.1-kontext-pro cost on NixAPI?
From $0.0446 per call in the Azure-Gpt-3 group. Billing is pay-as-you-go in USD with no monthly minimum.
How do I call flux.1-kontext-pro?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "flux.1-kontext-pro".
Which routing groups serve flux.1-kontext-pro?
flux.1-kontext-pro is available in 2 routing groups: Azure-Gpt-3, Azure-Gpt-4. The lowest price is in Azure-Gpt-3.