Image model

Flux2 Klein 4B API

Flux2 Klein 4B is an image model from Black Forest Labs, not available right now. Makes images for artistic and photorealistic work, in 7 shapes.

Two ways to run it

Name Flux2 Klein 4B, or let Corent choose

You pick

POST /v1/images/generate{  "prompt": "a lighthouse at dusk",  "model": "corent-flux2-klein-4b"}

Flux2 Klein 4B is not available right now, so a request that pins it will fail until it is back. Nothing else is substituted for a pinned model.

The router picks

POST /v1/images/generate{  "prompt": "a lighthouse at dusk",  "quality": "best"}

Leave the model out and Corent reads the prompt and picks a live image model for it. Flux2 Klein 4B is not among them while it is unavailable. The receipt shows the exact charge.

First call

One key, one request

curl -X POST https://api.corent.tech/v1/images/generate \  -H "Authorization: Bearer $CORENT_API_KEY" \  -H "Content-Type: application/json" \  -d '{"prompt": "a fox reading a book"}'

This call leaves the model out, so Corent picks a live image model. The response carries the result and a receipt: the model that served you and the exact cost in cents. Full request and response shapes are in the docs.

Details

Flux2 Klein 4B, as the API serves it today

Pin by namecorent-flux2-klein-4b
Kind of resultImage
EndpointPOST /v1/images/generate
Made byBlack Forest Labs
Quality3.5 out of 10, Corent’s score
StatusNot available right now. A request that pins it will fail until it is back.
Typical price$0.03 to $0.25 an image, typical. See pricing
Stylesartistic and photorealistic
Shapes16:9, 1:1, 2:3, 3:2, 3:4, 4:3, 9:16

These fields come from the live catalog, the same list the full model catalog prints, so they match what the API serves.

FAQ

Common questions

Does Flux2 Klein 4B have an API?

Flux2 Klein 4B is listed on the Corent API on POST /v1/images/generate, but it is not available right now. A request that pins corent-flux2-klein-4b will fail until it is back. Leave the model out and Corent picks a live image model instead, on the same key.

How much does Flux2 Klein 4B cost on Corent?

You pay the model’s price plus Corent’s fee, and the exact charge comes back on every response. An image on Corent typically costs $0.03 to $0.25, depending on the model. Typical prices for every kind of result are on the pricing page.

Do I have to pick Flux2 Klein 4B?

No. Leave the model out and Corent reads each prompt, picks the cheapest live model that does the job well (or the top one with "quality": "best"), and switches models if one fails. Flux2 Klein 4B is not available right now, so pinning corent-flux2-klein-4b will fail until it is back.

More image models

Related models

Start

Pick a model that is available

Flux2 Klein 4B is not available right now. Browse the catalog for a live image model, or leave the model out and Corent picks one for you. Start with $5 in prepaid credits, no subscription.