generate_variationsGenerate variations of a reference image
Re-skin / copy any ad (the 'AI Ad Copier'): upload a reference creative (+ optional logo), pick a Logo mode, add an offer / filters / resolution, and get N on-brand variant concepts that keep the structural framing.
How it works
Two-phase tool. First the agent passes a reference image (URL or base64) plus what to vary and the Copier options; the tool runs a vision pass, bakes the Copier directives (logo mode, offer, filters, optional WTF) into N concept prompts, and returns them immediately. The agent then renders each concept via generate_image (one call per variant; pass the returned resolution/model and - per logoMode - the logo). Use it to take a winning or competitor ad and produce 10 on-brand variants without losing the visual DNA.
Inputs
Returns
{ concepts: [{ name, imagePrompt, cta, headline }], logoMode, resolution, requestedAspectRatios, nextStep } - follow nextStep: call generate_image per concept with the right resolution/model and mode-correct logo handling.Examples
5 variants of a winning ad, square + Google Ad sizes
Plug Motors had a winning Tesla creative. Agent generates 5 variants for next week's test, each in both sizes.
{
"referenceImageUrl": "https://cdn.claivra.com/file/claivra/.../tesla-winner.jpeg",
"count": 5,
"varyOptions": [
"vehicle",
"background",
"headline"
],
"aspectRatios": [
"1:1",
"1.91:1"
],
"brandId": "aBmbZETe9gUZhwXHCE02",
"notes": "Keep the green spotlight + reflective floor - those are the brand cues that work."
}Copy a competitor ad with your branding (re-skin)
Found a competitor's high-performing creative. Re-skin it: replace their branding with the brand's, add the offer, render crisp 2K.
{
"referenceImageUrl": "https://cdn.claivra.com/file/claivra/.../competitor-ad.jpeg",
"count": 4,
"varyOptions": [
"headline",
"background"
],
"aspectRatios": [
"1:1",
"4:5"
],
"brandId": "aBmbZETe9gUZhwXHCE02",
"logoMode": "replace_branding",
"offer": "$500 off this month",
"resolution": "2K",
"complianceMode": "facebook_safe"
}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.
edit_imageEdit an existing image with an instruction
Apply a natural-language instruction to an existing image - swap headlines, change colors, remove text, replace backgrounds - without regenerating the whole composition.