{"uid":"cap_kggfrD0kpQUE1DtTcMv8C","slug":"openai-image-edits-3d1b5a50","name":"OpenAI Image Edits","description":"Edit images with OpenAI","url":"https://openai.mpp.tempo.xyz/v1/images/edits?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["llm","gpt-4o","dall-e","whisper","tts","embeddings","chat","ai","media"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"session","summary":"$0.05/call","primary":{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MJmapurYXT0ajFZ_FWEzu","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"session","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x20c000000000000000000000f37de3740ADec032","unit":"request","depositMicros":null,"planRef":null}],"brandName":"OpenAI","brandSlug":"openai","brandBaseUrl":"https://openai.com","brandDocsUrl":"https://platform.openai.com/docs","whatItDoes":"Edit or modify an existing image using AI-powered inpainting, with optional mask and text prompt guidance","exampleAgentPrompt":"Take my product photo and replace the plain white background with a cozy coffee shop setting — use a mask covering just the background area and keep the product itself untouched.","exampleUseCases":[{"title":"Product photo background replacement","prompt":"I have a product image with a boring white background. Can you edit it so the background looks like a modern kitchen countertop? Use a mask that covers only the background and leave the product unchanged."},{"title":"Object removal from photo","prompt":"Take this photo of my living room and remove the old lamp in the corner — use a mask around the lamp and fill that area in with something that matches the wall and floor naturally."},{"title":"Adding element to scene","prompt":"Here's a photo of an empty park bench. Can you edit it to add a golden retriever sitting on the bench? Apply the inpainting to the bench area using the mask I'm attaching."}],"resultDescription":"Returns one or more edited image variants as URLs or base64-encoded PNG data, where the masked or targeted region has been replaced or modified according to the provided text prompt, while preserving unmasked areas of the original image.","failureModes":["Image dimensions must be square (e.g. 256x256, 512x512, 1024x1024) — non-square images may be rejected","Mask and source image must have identical dimensions — mismatch returns a validation error","Image file size exceeds 4MB limit","Unsupported file format (must be PNG with alpha channel for mask)","Prompt content policy violation causes request rejection","Model parameter specifying an unsupported model returns a 400 error","Rate limit exceeded returns 429 error"],"whenToPreferThis":"Choose this endpoint when you need to modify a specific region of an existing image rather than generating a new image from scratch. It is ideal for inpainting, background swapping, object removal, or targeted style changes where you want to preserve most of the original image. Prefer this over the image Generations endpoint when you have a base image to edit. If you only need to generate an image with no base, use Generations instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T22:57:23.462Z","isFirstParty":false,"canonicalSlug":"openai-image-edits-3d1b5a50"}