Cover Image
AI-generatedSummary
Generates an AI cover/hero image for a blog post or landing page from supplied text by calling the PixlrAPI-backed headless service with the "baoyu-cover-image" skill, and returns the resulting image URL(s).
Inputs
- content (required) — Article text or prompt used to generate the cover. Trimmed; an empty value throws an error.
- language — Output language (list: Chinese, English, French, German, Japanese, Korean, Portuguese, Spanish; or an expression). Defaults to en.
- userLabel — Optional tracking label sent as the "user" field in the request body.
- coverType — Cover layout type: Conceptual, Hero, Metaphor, Minimal, Scene, Typography. Blank lets the AI auto-select.
- coverPalette — Color palette: Cool, Dark, Earth, Elegant, Mono, Pastel, Retro, Vivid, Warm. Blank means auto-select.
- coverRendering — Rendering style: Chalk, Digital, Flat Vector, Hand Drawn, Painterly, Pixel. Blank means auto-select.
- coverMood — Mood/impact level: Balanced, Bold, Subtle. Blank means auto-select.
- coverTextDensity — Amount of text overlay: None, Text Rich, Title + Subtitle, Title Only. Blank means auto-select.
- coverAspectRatio — Output aspect ratio: 1:1, 16:9, 4:3, or 9:16. Defaults to 16:9.
Output shape
One output item per input item, with json fields: success, operation, skill, imageUrls (array), firstImageUrl, imageUrl, pdfUrl, usage, creditsRemaining, and apiData (raw API data).
Requires headlessSaasApi credentials. Sends a POST to /api/v1/generate-image; blank options are omitted from the request. If the API response lacks success, the item errors. With Continue On Fail enabled, failed items return { error: message } instead. pdfUrl is typically null for cover images, and usage and creditsRemaining are null when the API omits them.
Examples
Example 1: Create a 16:9 blog header from an article body
content = {{$json.article}}, language = English, type/palette/etc. left on AI auto-select, aspect ratio 16:9
Example 2: Generate a bold vertical cover for social stories
content = post summary, coverType = Typography, coverMood = Bold, coverTextDensity = Title Only, coverAspectRatio = 9:16