Hormouz AIHormouz AIHormouzSign in

flux-kontext-max: image generation model

FLUX.1 Kontext [max] is Black Forest Labs' image model for prompt-driven generation and in-context image editing. Served asynchronously from inside Iran through Hormouz.

Pricing:
$0.0800 / run
Type:
image
  • Image generation

FLUX.1 Kontext [max] is the top-tier variant of Black Forest Labs' Kontext family. It generates images from a text prompt and, given a reference image, edits it in context. Keeping characters, layout and style coherent across edits rather than starting from scratch.

You call it through Hormouz's asynchronous predictions API: submit a prediction with your input, then poll until the image is ready. The main input is a text prompt; you can also set an aspect_ratio (default 1:1) and the number of diffusion steps (default 25) to trade speed for detail.

Pricing is a flat $0.08 per image, so cost is predictable regardless of prompt length. Hormouz provides stable access to FLUX.1 Kontext [max] from inside Iran, with no foreign credit card or circumvention tooling required.

Quickstart

# Create the prediction, then poll until succeeded
curl -s https://api.hormouz.net/v1/predictions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version":"black-forest-labs/flux-kontext-max","input":{"prompt":"A beautiful sunset"}}'

Specs

VendorBlack Forest Labs
TypeImage
Context window—
Pricing$0.0800 / run
APIpredictions

Code example

cURL
# Create the prediction, then poll until succeeded
curl -s https://api.hormouz.net/v1/predictions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version":"black-forest-labs/flux-kontext-max","input":{"prompt":"A beautiful sunset"}}'
Python
import requests
BASE = "https://api.hormouz.net/v1"
H = {"Authorization": "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json"}
r = requests.post(f"{BASE}/predictions", headers=H,
    json={"version": "black-forest-labs/flux-kontext-max", "input": {"prompt":"A beautiful sunset"}})
print(r.json()["id"])
JavaScript
const BASE = "https://api.hormouz.net/v1";
const res = await fetch(`${BASE}/predictions`, {
  method: "POST",
  headers: { Authorization: "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ version: "black-forest-labs/flux-kontext-max", input: {"prompt":"A beautiful sunset"} }),
});
const { id } = await res.json();

Buy the flux-kontext-max API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches flux-kontext-max and nearly 700 other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and nearly 700 others with one API key, then see usage down to each request.

Request company access

FAQ

How much does FLUX.1 Kontext [max] cost?
Billing is a flat $0.08 per image on Hormouz. You pay per generated image, with no fixed monthly fee. Current rates are shown in the Hormouz dashboard.
How do I call FLUX.1 Kontext [max]?
It runs on Hormouz's asynchronous predictions API: submit a prediction with your prompt (and an optional reference image to edit in context), then poll until the image is ready. Point your base URL at Hormouz and use a Hormouz API key.
What inputs does FLUX.1 Kontext [max] accept?
The required input is a text prompt. Optional parameters include aspect_ratio (default 1:1) and steps, the number of diffusion steps (default 25). Provide a reference image to edit an existing picture in context.
What is FLUX.1 Kontext [max] good for?
It suits high-fidelity text-to-image generation and in-context editing. Refining product shots, keeping a character or layout consistent across variations, and iterative creative work.
How do I access FLUX.1 Kontext [max] from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to FLUX.1 Kontext [max] from inside Iran, with no foreign credit card or circumvention tooling required.

Updated 2026-11-27