How it works
Pass an instruction plus a base image (from your media library by imageId, by URL, or as raw base64). The tool feeds the original as a style reference to Claivra's image model, anchored on the original composition, framing, and identity. Use it for surgical changes — 'remove the LOS ANGELES headline,' 'swap the car for a black Tesla,' 'change the CTA color to red.' Saves an edit-pair record so you can audit the before/after in your editor history.
Inputs
Returns
{ editId, imageId, imageUrl, mimeType, model, creditsUsed }Examples
Strip a location headline from a client ad
Client wants the same ad without the city name — surgical edit, original composition preserved, no re-generation cost spike.
{
"instruction": "Remove the 'LOS ANGELES' headline entirely. Replace the city skyline in the background with a generic dark night cityscape. Keep cars, lighting, CTA pixel-identical.",
"baseImageUrl": "https://cdn.claivra.com/file/claivra/.../edited/mcp-edit-1779016048391_0.jpeg",
"aspectRatio": "1:1"
}Related tools
generate_imageGenerate an ad creative image
Generate a single (or multi-aspect-ratio batch) ad creative from a director-style prompt, with optional brand kit + logo composite.
upload_imageUpload an image into your Claivra account
Push a base64 image you already have on disk (cropped, resized, brand-overlayed) into your Claivra media library — usable in create_share, revise_share, edit_image.
list_editsList recent edits
Show recent edit history (last 50, last 7 days). Each entry has the label + original + edited image URLs.