real-esrgan — image generation model

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

Specs

VendorNightmareAI
Typeimage
Context window
Pricing$0.005000 / run
APIpredictions

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

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started