opencheap.si
鸣谢

FLUX.2 Pro

Black Forest LabsImagesflux-2-pro

Try it

Black Forest Labs' FLUX.2 Pro: crisp, realistic images and accurate edits from up to eight reference pictures. A good pick for marketing and design work.

Examples

Made with FLUX.2 Pro through OpenCheap's API, as they came back. Under each: what was asked, the settings and what the call cost.

一位留着白胡子、戴着针织帽的老渔夫在港口“黄金时刻”的肖像,85毫米照片,皮肤细节清晰

“Portrait of an old fisherman with a white beard and a knitted cap at golden hour on a harbour, 85 mm photo, detailed skin”

3:41K

Cost $0.024

未来城市中一条雨中的街道上,霓虹灯照亮了夜市,湿漉漉的沥青路面映出光影,电影般的广角镜头

“A neon-lit night market on a rainy street in a future city, reflections on wet asphalt, cinematic wide shot”

16:91K

Cost $0.024

一碗拉面,配有溏心蛋、叉烧和葱花,热气腾腾,在深色木桌上从上方拍摄的美食照片

“A bowl of ramen with a soft-boiled egg, chashu pork and spring onions, steam rising, top-down food photo on a dark wooden table”

1:11K

Cost $0.024

Try FLUX.2 Pro

$0.024

Runs on your account at this price, like an API call. Media needs a top-up first.

Your image shows here. An image takes a few seconds to a minute.

What it makes

Images from a prompt.

  • Resolution: 1K, 2K
  • Shape (width:height): 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21
  • Can follow images you send

Price

Per image

Each provider's price for each setting. A call goes to the cheapest one that can make it, and you pay that provider's price: the one in bold.

SettingAPIMartkie.ai
1KWith an image you send: $0.025$0.024$0.025
2K$0.06$0.035
2K · 21:9No image input at this setting$0.06—
2K · 9:21No image input at this setting$0.06—

A call never costs more than the price shown, and costs less when the provider charges less. A call that fails is not charged. Media needs a top-up first: the free credit does not cover it.

Call FLUX.2 Pro

Use your OpenCheap key and the model id flux-2-pro at https://api.opencheap.si/v1. The OpenAI SDK works as it is. Links in the answer expire, so save what you make. Read the guide.

curl
curl https://api.opencheap.si/v1/images/generations \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-pro",
    "prompt": "A red fox asleep in fresh snow, soft morning light",
    "resolution": "1k",
    "aspect_ratio": "1:1"
  }'
# The answer: {"data": [{"url": "https://…"}], …}. The link expires: save the image.