Flux.2 Pro

Black Forest Labs Flux.2 Pro — high-quality image generation with up to 8 reference images.

Back to docs
Imageblack-forest-labs/flux.2-pro$0.00 / 1M in

Base URL

https://api.zekron.tech/api/v1

Supported modes

text-to-imageimage-to-image

Parameters

Pass these inside the input object when creating a task.

promptrequired
image_urlsoptional
aspect_ratiooptional
qualityoptional

Example request

bash
curl -X POST https://api.zekron.tech/api/v1/tasks \
  -H "Authorization: Bearer zk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "black-forest-labs/flux.2-pro",
  "input": {
    "prompt": "a cinematic shot of a lighthouse at golden hour",
    "aspect_ratio": "16:9"
  }
}'

Example response

json
{
  "id": "zk_task_8f3a2b1c9d",
  "model": "black-forest-labs/flux.2-pro",
  "status": "processing",
  "created_at": "2026-06-10T12:00:00Z"
}

Poll GET https://api.zekron.tech/api/v1/tasks/{id} until status is success or failed.

Pricing

This model is billed at $0.00 / 1M in. You are only charged for successful generations — failed tasks are never billed. Generated outputs are retained for 30 days before they expire.