{"slug":"flat-rate-llm-kikoribera03-workers-dev-v1-ai-image-edit-684680","title":"Edits an image you provide instead of generating one from scratch","host":"flat-rate-llm.kikoribera03.workers.dev","method":"GET","resource":"https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image-edit","category":"image","description":"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 ho","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":20,"error":null}],"description_full":"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.","last_updated":"2026-10-08T06:14:56.752Z","schemes":["exact"]}