POST
/v1/images/editsEdit an image given a source image (+ optional mask) and a prompt
Credit metering
Authentication
Send your virtual key as Authorization: Bearer sk-nemo-…. One key works across every model and modality.
Request bodymultipart/form-data
| Field | Type | Required |
|---|---|---|
| model | string | optional |
| image | file | required |
| mask | file | optional |
| prompt | string | required |
Response200
{
"created": 1700000000,
"data": [
{
"b64_json": "<base64-png>"
}
]
}Errors
| Status | Meaning |
|---|---|
| 400 | 400 — Guardrail blocked the request |
| 402 | 402 — Not enough credits |
| 429 | 429 — one of: rate_limit_exceeded (RPM limit exceeded); tpm_limit_exceeded (TPM limit exceeded) |
| 503 | 503 — Credit system unavailable |