Build next-gen apps with flux-2-pro
Pricing
TokenLab Price
$0.021
| Official Price | TokenLab Price | Discount | |
|---|---|---|---|
| Price | $0.03Per Image | $0.021Per Image | - |
One-click test
Sign in once and Web Agent keeps this model, prompt, and request preset for you.
Test flux-2-pro in Web Agent. Run the recommended text-to-image image request at /v1/images/generations, 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/generations" \
-H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{
"operation": "text-to-image",
"model": "flux-2-pro",
"prompt": "A minimalist product photo of matte black headphones on a soft blue background."
}'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-2-pro cost?
On TokenLab, flux-2-pro costs $0.021 Per Image. The pricing table above shows the full breakdown.
What is flux-2-pro best for?
flux-2-pro is a strong fit for Text to Image. You can call it through TokenLab with one API key.
How do I call the flux-2-pro API?
Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/images/generations. The API workbench above has a recommended endpoint and copy-ready code.
Which endpoint should flux-2-pro use?
Use https://api.tokenlab.sh/v1/images/generations as the default for flux-2-pro. If a provider-native format is supported, the API workbench shows that endpoint too.
Can I test flux-2-pro before integrating it?
Yes. Try in Web Agent opens a ready test for flux-2-pro and keeps your prompt after sign-in, so you don’t lose context.
Which operations does flux-2-pro support?
flux-2-pro supports image-edit, text-to-image. Pick an operation in the API workbench above to see the matching endpoint and code sample.