Edits an image you provide instead of generating one from scratch
Edits an image you provide instead of generating one from scratch: pass the image and a black-and-white mask, and Stable Diffusion inpainting repaints only the white area following your prompt. Image and mask go as https URLs or as base64, up to 10 MB each. Returns a hosted image URL valid for 24 hours. You are only charged if the edit is delivered. No API key, no account.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
20 msmedian answer time
$0.02listed price per call
$0.02price 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
GET https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image-edit
| Category | Image and media |
|---|---|
| Provider host | flat-rate-llm.kikoribera03.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.02 | 20 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"mask_url": "https://flat-rate-llm.kikoribera03.workers.dev/m/muestra-mascara.png",
"prompt": "a blue wool hat on the fox",
"url": "https://flat-rate-llm.kikoribera03.workers.dev/m/muestra-imagen.jpg"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"guidance": {
"description": "How closely to follow the prompt, 0-20.",
"type": "number"
},
"image": {
"description": "The image to edit, as base64. Use this or url.",
"type": "string"
},
"mask": {
"description": "The mask, as base64. Use this or mask_url.",
"type": "string"
},
"mask_url": {
"description": "https URL of the mask: white where it should repaint, black where it must not. Use this or mask.",
"type": "string"
},
"prompt": {
"description": "What to paint into the masked area, up to 2048 characters.",
"type": "string"
},
"seed": {
"description": "Same inputs and same seed give the same edit.",
"type": "number"
},
"steps": {
"description": "Diffusion steps, 1-20.",
"type": "number"
},
"url": {
"description": "https URL of the image to edit. Use this or image.",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}