creative_studio_compose
Compose ad copy and brand elements over a key visual to generate per-format banner PNGs. Renders typography with HTML/CSS for pixel-perfect text including Japanese.
Instructions
Composite ad copy + brand kit over a key visual into per-format banner PNGs. The typography layer: headline/body/CTA/badge/logo are laid out in HTML/CSS and rendered by headless Chromium so Japanese text is pixel-perfect. Pick a layout 'template', the target 'formats', and pass the copy; the composed PNGs land in a new run directory with a provenance manifest. Requires the 'creative' extra (pip install 'mureo[creative]').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | Yes | The call-to-action button label. | |
| body | No | Optional supporting body line. | |
| badge | No | Optional short badge chip (e.g. a limited-offer flag; used by the minimal_badge template). | |
| formats | No | Target format ids to render. | |
| headline | Yes | The primary headline copy. | |
| template | No | Layout template to render. | hero_overlay |
| visual_path | Yes | Path to the text-free background key visual (png/jpg/jpeg/webp). |