create_social_svg
Create brand-approved social media SVG posts from reference-locked templates, with automatic copy corrections and asset validation for consistent output.
Instructions
Correct and visibly report spelling issues in all supplied copy, then generate an Illustrator-safe SVG 1.1 SAMPLE artwork from the reference-locked social templates using only corrected text. This is the only supported social-post renderer: never recreate its SVG through a legacy or freeform generator. Outputs use editable packaged SAMPLE fonts, native unscaled headline glyphs, inline vector logos, and xlink:href for embedded rasters. Any PNG preview must be rendered with the packaged files in assets/fonts; never accept a system-font fallback preview. For template=quote, provide person and put the quote in headline; the generator uses reference 5 with a non-overlapping, uncropped, fully embedded approved portrait, verified attribution, and mandatory violet emphasis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | No | ||
| body | No | ||
| mode | No | draft | |
| kicker | No | ||
| leadIn | No | Optional reference-3 lead-in above the main headline, for example 'TELL YOUR LAWMAKERS:'. Omit to use that reference-locked default. | |
| person | No | Required for template=quote. The approved person whose packaged portrait, full name, and current SAMPLE title will be used. | |
| emphasis | No | Optional exact quote word or phrase to emphasize in Signal Violet. | |
| headline | Yes | ||
| template | No | policy_alert | |
| variation | No | Compatibility field. Reference-locked social outputs preserve variation 0 geometry; choose another styleVariant for genuine layout variety. | |
| styleVariant | No | Optional SAMPLE guide variant. auto maps quote posts to quote_post, petition/lawmaker asks to petition_push, policy alerts to violet_alert, statistics to statistic_card, and most other posts to navy_poster. | auto |
| assetBasePath | No | Optional asset directory used to verify officialLogoHref and default logo assets. | |
| comparisonLeft | No | Optional left-side copy for contrast_cards. Use for the BAD/NO policy position. | |
| comparisonRight | No | Optional right-side copy for contrast_cards. Use for the GOOD/YES policy position. | |
| officialLogoHref | No | Optional href/path for an approved logo file listed in assets/manifest.json. Defaults to a packaged official SVG logo chosen for the background. | |
| includeLogoPlaceholder | No |