restore-image: image generation model
Restore Image repairs scratches, tears and fading in old photos and colorizes black-and-white ones, powered by FLUX Kontext. One input image, one restored image, served asynchronously from inside Iran through Hormouz.
- Pricing:
- $0.0440 / run
- Type:
- image
- Image generation
Restore Image is a fixed-purpose front on Black Forest Labs' FLUX.1 Kontext [pro] image editor, tuned for a single job. Hand it a scan of an old photograph and it removes scratches, dust and creases, rebuilds faded areas, sharpens soft detail and, for black-and-white originals, adds plausible colour. There is no prompt to write; the task is the model.
Served through Hormouz behind an asynchronous predictions API. The required input is input_image (JPEG, PNG, GIF or WebP); optional controls are output_format (png by default, or jpg), seed for a reproducible result, and safety_tolerance from 0 (strictest) to 2 (most permissive, the upstream maximum). The image is mirrored to our storage before the job is forwarded, so a file hosted inside Iran works.
Priced at a flat $0.044 per output image, and the charge is the same whatever the input size or format.
Hormouz provides stable access to this model from inside Iran, with no foreign credit card and no circumvention tooling.
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":"flux-kontext-apps/restore-image","input":{"input_image":"https://example.com/input.jpg"}}'Specs
| Vendor | FLUX Kontext Apps |
|---|---|
| Type | Image |
| Context window | — |
| Pricing | $0.0440 / run |
| API | predictions |
Code example
# 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":"flux-kontext-apps/restore-image","input":{"input_image":"https://example.com/input.jpg"}}'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": "flux-kontext-apps/restore-image", "input": {"input_image":"https://example.com/input.jpg"}})
print(r.json()["id"])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: "flux-kontext-apps/restore-image", input: {"input_image":"https://example.com/input.jpg"} }),
});
const { id } = await res.json();Buy the restore-image API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches restore-image and 600+ 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.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessUpdated 2026-10-13