LayerProof icon

LayerProof

Automate LayerProof public API workflows from n8n

Slide Deck → Generate Theme

AI-generated

Summary

Generate a theme for the slide deck using a prompt and optional reference image paths.

Inputs

  • projectId (required) — Project ID
  • slideDeckId (required) — Slide Deck ID
  • prompt (required) — Prompt for theme generation
  • themeOptions — Reference image options for theme generation

Output shape

API response from POST /api/v2/projects/{projectId}/slide-deck/{slideDeckId}/theme/generate containing the generated theme data.

Reference image paths are provided as a JSON string array via themeOptions.referenceImagePathsJson (default: []).

Examples

Example 1: Generate a theme with a prompt and reference images

Set projectId and slideDeckId, provide a prompt string, and optionally supply referenceImagePathsJson as a JSON array of image physical image paths.

Links

Discussion