Slide Deck
AI-generatedSummary
Generates a presentation slide deck from text via the PixlrAPI (baoyu-slide-deck skill), returning slide image URLs and, when the API provides it, a PDF URL.
Inputs
- Content (required) — Article, story, or prompt text sent to the API. Execution fails for that item if empty after trimming.
- Language — Output language, chosen from a list (Chinese, English, French, German, Japanese, Korean, Portuguese, Spanish) or entered as a code/expression. Defaults to 'en'.
- User Label (Optional) — Tracking label sent as the 'user' field in the request when non-empty.
- Style — Presentation design style, such as Blueprint, Bold Editorial, Chalkboard, Corporate, Dark Atmospheric, Minimal, Notion, Pixel Art, Watercolor and others. Leave blank for AI auto-select; omitted from the request when empty.
- Aspect Ratio — Slide aspect ratio: 1:1, 16:9 (default), or 4:3.
Output shape
One output item per input item, with JSON fields: success, operation, skill ('baoyu-slide-deck'), imageUrls (array), firstImageUrl, imageUrl, pdfUrl, usage, creditsRemaining, and apiData (the raw API data object).
Sends a POST to /api/v1/generate-image with the headlessSaasApi credential. If the API response lacks success=true, the item errors with the API message. With Continue On Fail enabled, failed items return {error: message} instead. Fields not returned by the API are null, and imageUrls falls back to an empty array.
Examples
Example 1: Turn a blog post into a widescreen corporate-style deck
Content = {{$json.article}}, Language = English, Style = Corporate, Aspect Ratio = 16:9
Example 2: Let the AI pick the style and produce a Spanish deck for a specific user
Content = report text, Language = Spanish, Style blank, User Label = user_123