跳到主要内容

Image model

Flux.2 Pro

black-forest-labs/flux.2-pro

black-forest-labs/flux.2-pro is an image generation model from Black Forest Labs you can call on the OceanToken API at $0.03 per megapixel of output, then $0.015 per further megapixel; it supports image input.

At a glance

Model IDblack-forest-labs/flux.2-pro
TypeImage
PublisherBlack Forest Labs
Output price$0.03 per megapixel for the first megapixel, then $0.015 per further megapixel
Endpoint/v1/images/generations, /v1/images/edits
API shapeOpenAI-compatible
In the catalog since2025-11-25

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/images/generations \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "black-forest-labs/flux.2-pro", "prompt": "A lighthouse at dawn, photographic"}'

Compared with similar models

Image models on OceanToken closest to black-forest-labs/flux.2-pro in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per megapixel)
Flux.2 ProBlack Forest Labs$0.03
Flux.2 Flex
black-forest-labs/flux.2-flex
Black Forest Labs$0.06
Flux.2 Klein 4B
black-forest-labs/flux.2-klein-4b
Black Forest Labs$0.014
Flux.2 Max
black-forest-labs/flux.2-max
Black Forest Labs$0.07

More from Black Forest Labs

All Black Forest Labs models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.