generate_image
Create a banner image for an article from its visual concepts and save it locally. A trademark filter rewrites brand terms before generation.
Instructions
Step 8. Generate a banner image for the article and save it locally.
Build the prompt from the article's visual concepts, not its brand names. A trademark filter runs anyway and rewrites brand terms into generic descriptors before the prompt leaves this machine; check terms_removed to see what it changed.
The returned path is local. Upload the file and pass a public https URL to build_schema, or NewsArticle.image will point somewhere no crawler can reach.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| style | No | banner | |
| prompt | Yes |