Infographic
AI-generatedSummary
Converts text into a structured infographic image by POSTing it to the PixlrAPI-backed headless service (skill "baoyu-infographic"), with optional layout and style, and returns the generated image URL(s) and credit usage.
Inputs
- content (required) — Article, story, or prompt text to turn into an infographic. Empty or whitespace-only values cause an error for that item.
- language — Output language, chosen from a list (Chinese, English, French, German, Japanese, Korean, Portuguese, Spanish) or entered as a code/expression. Defaults to 'en'.
- userLabel — Optional user tracking label, sent to the API as the 'user' field.
- infographicLayout — Layout such as bento-grid, funnel, venn-diagram, winding-roadmap, or timeline-style options like linear-progression. Leave blank to let the AI Director auto-select. Can be set via list or an expression/value.
- infographicStyle — Visual style such as bold-graphic, chalkboard, claymation, cyberpunk-neon, lego-brick, or pixel-art. Leave blank to let the AI Director auto-select. Can be set via list or an expression/value.
Output shape
One output item per input item, with JSON fields: success, operation, skill, imageUrls (array), firstImageUrl, imageUrl, pdfUrl, usage, creditsRemaining, and apiData (the raw API data object).
Requires headlessSaasApi credentials. Fails if the API response lacks success=true, using the API's message as the error. With Continue On Fail enabled, failed items return {error: message} instead. pdfUrl, usage, and creditsRemaining are null when the API doesn't supply them. Blank layout, style, or language values are omitted from the request.
Examples
Example 1: Turn a blog post into an infographic and let the AI pick the design.
Content = article text via expression; Language = English; Layout and Style left blank.
Example 2: Generate a Japanese roadmap-style infographic in a pixel-art look.
Content = project plan text; Language = Japanese; Layout = winding-roadmap; Style = pixel-art.
Example 3: Track generations per customer.
Content = {{$json.text}}; User Label = {{$json.userId}}; use imageUrl from the output in a later node.