Infographic Image Generator icon

Infographic Image Generator

Generate infographics, comics, cover images, social carousels and slide decks using PixlrAPI

XHS / Social Carousel

AI-generated

Summary

Generates a set of vertical social-media carousel pages (Xiaohongshu/XHS style) from text content by calling the PixlrAPI-backed headless service with the baoyu-xhs-images skill, returning image URLs.

Inputs

  • content (required) — Article, story, or prompt text to turn into carousel pages. Empty/whitespace-only content throws an error.
  • language — Output language chosen from a 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.
  • xhsStyle — Visual preset: Bold, Chalkboard, Cute, Fresh, Minimal, Notion, Pop, Retro, Study Notes, Warm. Blank lets the AI auto-select.
  • xhsLayout — Information hierarchy layout: Canvas, Decorations, Image Effects, Typography. Blank lets the AI auto-select.
  • xhsAspectRatio — Output ratio: 1:1, 3:4 (default), 4:3, or 9:16.

Output shape

One output item per input item, with json containing success, operation, skill ('baoyu-xhs-images'), imageUrls (array of generated page URLs), firstImageUrl, imageUrl, pdfUrl (or null), usage (or null), creditsRemaining (or null), and apiData (the raw API data).

Requires headlessSaasApi credentials. Only non-empty options are sent. If the API response lacks success, the item fails with the API message; with Continue On Fail enabled, the item outputs {error: message} instead. imageUrls is normalized from imageUrls or imageUrl, and may be empty if the API returns none.

Examples

Example 1: Turn a blog post into a Xiaohongshu-style carousel in Chinese.

content = {{$json.article}}, language = Chinese (zh), style = Notion, layout = Typography, aspect ratio = 3:4.

Example 2: Let the AI pick the look for vertical story pages.

content = prompt text, style and layout left blank, aspect ratio = 9:16.

Links

Discussion