Api18.dev

Hera 1.0 — Image Edit

Prompt-driven image editing. Upload 1–3 reference images and describe the change.

hera-1.0-image-editimage$0.070 / run

Endpoint#

POST /v1/images/generations · Bearer authentication · the response is a job (see jobs & polling).

Parameters#

ParameterTypeDetails
model*stringThe model id. Options: "hera-1.0-image-edit".
prompt*stringWhat to generate. Max 2500 characters.
images*string[] (URLs)Array of 1–3 public image URLs to edit. JPEG/PNG/WEBP/BMP, max 10MB each.
seedintegerReproducible results. Omit for a random seed.
negative_promptstringThings to avoid in the output.
enable_prompt_expansionbooleanAuto-expand a short prompt into a richer instruction. Default: false.

* required. model and prompt are always needed.

Example#

curl -X POST "https://api18.dev/v1/generate?wait=true" \
  -H "Authorization: Bearer $API18_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"hera-1.0-image-edit","prompt":"Replace the background with a sunny beach, keep the subject unchanged","images":["https://example.com/photo.jpg"]}'

# → returns the finished job; the output URL is at .data[0].url
Integrating with an AI assistant? Paste this model's llms.txt into your assistant — it contains just this model, ready to use.