Fix Flexible Creative Image
fix_flexible_creativeApply a free-text AI edit to a flexible creative's BACKGROUND image and return the edited image URL. Instruction-based image-to-image edit (like edit_brand_creative), scoped to the background so the crisp editable text/logo layers are never touched. It edits a flat image the same way, such as a library creative with its text baked in. WARNING: on a flat image the baked-in text is repainted with the rest and can come back altered or unreadable; to change a layered creative's text, change its text layers instead.
USE FOR: "remove the glare", "make the sky warmer", "clean up the left side", "swap the desk for a laptop".
OUTPUT: the URL of a NEW image, stored temporarily outside the creatives library. Nothing is edited in place: the source image, and the library creative and id it came from, stay exactly as they were. The editor swaps the new image in as a flexible creative's background. To keep an edit of a library image, upload the new URL with upload_image_creative, which gives it a NEW library id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Company domain for brand context (e.g. 'metadata.io'). | |
| image_source | Yes | URL of the background image to edit (PNG/JPG/WebP). Typically the flexible creative's current background. | |
| edit_instruction | Yes | Natural-language description of the fix(es). Can combine several changes in one request. |