POST/api/v1/imagine4 creditsSynchronous

Flux.2 Max

Provider · Black Forest LabsType · T2IModel ID · flux-2-maxUpstream ID · flux-2-max

Flux.2 Max by Black Forest Labs (via BLTCY). Highest quality Flux.2 tier. Comparable to Midjourney for photorealistic outputs at the same credit cost. Synchronous — no polling needed.

Request Parameters

ParameterTypeRequiredDescription
promptstringRequiredThe text prompt describing the image to generate.
modelstringOptionalSet to `flux-2-max` to use this model.Default: flux-2-max
aspect_ratiostringOptionalOutput aspect ratio. Allowed: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3.Default: 1:1
negative_promptstringOptionalWhat to avoid in the generation. Max 4000 characters.
webhook_urlstringOptionalURL where we POST the completed task result.
webhook_secretstringOptionalSent as x-webhook-secret header in webhook delivery for verification.

Example Request

cURL
curl -X POST https://api.journeyapi.com/api/v1/imagine \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-max",
    "prompt": "aerial photograph of the Amalfi Coast, golden hour, crystal clear water",
    "aspect_ratio": "16:9"
  }'

Response

This model is synchronous — the response includes the finished image_url directly. No polling required.

200 OK
{
  "task_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "finished",
  "image_url": "https://cdn.example.com/output.png"
}

Tips

  • 1Same credit cost as Midjourney but synchronous — no polling required.
  • 2Strong photorealism and consistent detail at complex scenes.