p-image-edit: image generation model
P Image Edit is a fast, low-cost image-editing model that transforms an image from a text instruction. Served asynchronously from inside Iran through Hormouz.
- Pricing:
- $0.0110 / run
- Type:
- image
- Image generation
P Image Edit is an efficiency-optimised image-editing model. Given an input image and a text prompt describing the change, it returns an edited version. Recolouring, restyling, adding or removing elements, and similar prompt-driven edits.
It is served through Hormouz behind an asynchronous predictions API. Submit a prediction with your image and instruction, then poll until the edited image is ready. The required inputs are prompt and image; an optional output_format (default webp) sets the file type.
Pricing is a flat $0.012 per run, so edits are cheap and predictable. Hormouz provides stable access to P Image Edit 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":"prunaai/p-image-edit","input":{"prompt":"A beautiful sunset","image":"https://example.com/input.jpg"}}'Specs
| Vendor | PrunaAI |
|---|---|
| Type | Image |
| Context window | — |
| Pricing | $0.0110 / 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":"prunaai/p-image-edit","input":{"prompt":"A beautiful sunset","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": "prunaai/p-image-edit", "input": {"prompt":"A beautiful sunset","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: "prunaai/p-image-edit", input: {"prompt":"A beautiful sunset","image":"https://example.com/input.jpg"} }),
});
const { id } = await res.json();Buy the p-image-edit API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches p-image-edit 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 accessFAQ
- How much does P Image Edit cost?
- Billing is a flat $0.012 per run on Hormouz. You pay per edit, with no fixed monthly fee. Current rates are shown in the Hormouz dashboard.
- How do I call P Image Edit?
- It runs on Hormouz's asynchronous predictions API: submit a prediction with your image and a text instruction, then poll until the edited image is ready. Point your base URL at Hormouz and use a Hormouz API key.
- What inputs does P Image Edit accept?
- It requires a prompt (the edit instruction) and an image. An optional output_format sets the returned file type (default webp).
- What is P Image Edit good for?
- It suits fast, prompt-driven image edits. Recolouring, restyling, adding or removing objects, and cheap iterative touch-ups at volume.
- How do I access P Image Edit from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides a stable path to P Image Edit from inside Iran, with no foreign credit card or circumvention tooling required.
Updated 2026-10-13