Hormouz AIHormouz AIHormouzSign in

eraser: image generation model

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

eraser is a image generation model from Bria, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

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":"bria/eraser","input":{"prompt":"A beautiful sunset"}}'

Specs

VendorBria
TypeImage
Context window—
Pricing$0.0400 / 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":"bria/eraser","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": "bria/eraser", "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: "bria/eraser", input: {"prompt":"A beautiful sunset"} }),
});
const { id } = await res.json();

Buy the eraser API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches eraser 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

Updated 2026-11-27