{"slug":"flat-rate-llm-kikoribera03-workers-dev-v1-ai-image-edit-896b0e","title":"Use when an agent must change an image it already has and keep the rest","host":"flat-rate-llm.kikoribera03.workers.dev","method":"POST","resource":"https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image-edit","category":"image","description":"Use when an agent must change an image it already has and keep the rest: pass the image and say the change in plain words (\"put a blue wool hat on the fox\"), and FLUX.2 klein edits it, in about 3 seconds. No mask needed: the prompt says what to change. The image goes as an https URL or as base64, up","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checked_on":"2026-12-02","checks_7d":5,"answered_7d":5,"latency_ms_median":28,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"prompt":"put a blue wool hat on the fox in the middle, keep everything else the same","url":"https://flat-rate-llm.kikoribera03.workers.dev/m/muestra-imagen.jpg"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"image":{"description":"The image to edit, as base64. Use this or url.","type":"string"},"mask_url":{"description":"Accepted for older clients and not used: the prompt says what to change.","type":"string"},"prompt":{"description":"The change to make, in plain words, up to 2048 characters.","type":"string"},"seed":{"description":"Passed to the model; it does not guarantee the same edit twice.","type":"number"},"url":{"description":"https URL of the image to edit. Use this or image.","type":"string"}},"required":["prompt"]},"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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":28,"error":null},{"day":"2026-12-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":37,"error":null},{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":29,"error":null},{"day":"2026-11-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":18,"error":null},{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":22,"error":null}],"description_full":"Use when an agent must change an image it already has and keep the rest: pass the image and say the change in plain words (\"put a blue wool hat on the fox\"), and FLUX.2 klein edits it, in about 3 seconds. No mask needed: the prompt says what to change. The image goes as an https URL or as base64, up to 10 MB. 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-11-28T02:08:28.066Z","schemes":["exact"]}