Edit an image from a text instruction
Edit an image from a text instruction. SFW only.
Answeringour last check, 2026-10-03
1 of 1checks answered this week
422 msmedian answer time
$0.1listed price per call
$0.1price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.havenagent.ai/x402/api/v1/image/edit
| Category | Image and media |
|---|---|
| Provider host | api.havenagent.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-03 | valid payment request | 402 | $0.1 | 422 ms |
Example input (from the provider)
{
"body": {
"imageBase64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==",
"mediaType": "image/png",
"prompt": "make it golden hour, warmer light"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"imageBase64": {
"description": "base64 image bytes, no data-URI prefix",
"type": "string"
},
"mediaType": {
"enum": [
"image/png",
"image/jpeg"
],
"type": "string"
},
"negativePrompt": {
"type": "string"
},
"prompt": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
}
},
"required": [
"prompt",
"imageBase64",
"mediaType"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"aiDisclosure": {
"properties": {
"aiGenerated": {
"type": "boolean"
},
"embeddedIn": {
"type": "string"
},
"label": {
"type": "string"
},
"statement": {
"type": "string"
},
"termsUrl": {
"type": "string"
}
},
"required": [
"aiGenerated",
"statement",
"termsUrl"
],
"type": "object"
},
"etaSeconds": {
"type": "number"
},
"jobId": {
"type": "string"
},
"kind": {
"enum": [
"music",
"image_generate",
"image_edit",
"image_upscale",
"image_restore",
"video",
"video_sound"
],
"type": "string"
},
"pollBudgetSeconds": {
"type": "number"
},
"resultUrl": {
"type": "string"
},
"status": {
"type": "string"
},
"statusUrl": {
"type": "string"
}
},
"required": [
"jobId",
"status",
"statusUrl",
"resultUrl",
"etaSeconds",
"pollBudgetSeconds"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}