Build next-gen apps with flux-kontext-max
Pricing
TokenLab Price
$0.08
| Official Price | TokenLab Price | Discount | |
|---|---|---|---|
| Price | $0.08Per Request | $0.08Per Request | - |
One-click test
Sign in once and Web Agent keeps this model, prompt, and request preset for you.
Test flux-kontext-max in Web Agent. Run the recommended image-edit image request at /v1/images/edits, then show the request body, returned image or task status, and model-specific constraints.
API workbench
The default route for production. The code sample below uses this endpoint with the format you pick.
curl -X POST "https://api.tokenlab.sh/v1/images/edits" \
-H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{
"operation": "image-edit",
"model": "flux-kontext-max",
"prompt": "A minimalist product photo of matte black headphones on a soft blue background.",
"image_url": "https://example.com/source.png"
}'Use cases
Product visuals
Make campaign images, catalog scenes, and design directions from a few prompts.
Iterative editing
Try edits and variations using the request shape this model already accepts.
Creative QA
Sanity-check prompt behavior, output count, and response mode before you ship.
Side-by-side test
See real response quality, latency, and price before this becomes your production default.
Prompt examples
Generate a clean product shot of matte black headphones on a soft blue gradient.
Edit the source image into a premium ecommerce hero with natural shadows.
Give me three visual directions for a developer-tool launch banner.
FAQ
How much does flux-kontext-max cost?
On TokenLab, flux-kontext-max costs $0.08 Per Request. The pricing table above shows the full breakdown.
What is flux-kontext-max best for?
flux-kontext-max is a strong fit for Text to Image. You can call it through TokenLab with one API key.
How do I call the flux-kontext-max API?
Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/images/edits. The API workbench above has a recommended endpoint and copy-ready code.
Which endpoint should flux-kontext-max use?
Use https://api.tokenlab.sh/v1/images/edits as the default for flux-kontext-max. If a provider-native format is supported, the API workbench shows that endpoint too.
Can I test flux-kontext-max before integrating it?
Yes. Try in Web Agent opens a ready test for flux-kontext-max and keeps your prompt after sign-in, so you don’t lose context.
Which operations does flux-kontext-max support?
flux-kontext-max supports image-edit, text-to-image. Pick an operation in the API workbench above to see the matching endpoint and code sample.