Actions5
Generate SEO Image
AI-generatedSummary
Generate an AI image using a predefined style, a custom prompt, or both, then return the generation response and optionally fetch the image as binary data for downstream nodes.
Inputs
- Prompt Mode — Select Style, Custom, or Hybrid. Defaults to Style; Style and Hybrid use Style Slug, while Custom and Hybrid use Custom Prompt.
- Style Slug — Style identifier from the List Styles operation; used in Style and Hybrid modes.
- Subject — Optional subject for the generated image.
- Custom Prompt — Your prompt; used in Custom and Hybrid modes.
- Orientation — Image orientation: landscape, portrait, or square. Defaults to landscape.
- Output Format — Choose WebP, JPEG, or PNG; defaults to WebP. The API generates PNG and converts it to the selected format.
- Return Binary Data — When enabled, downloads the generated image and adds it as binary data to each output item. Defaults to false.
- Binary Property Name — Name of the output binary property when Return Binary Data is enabled; defaults to data.
Output shape
One output item per input item, containing the generation response as JSON; when Return Binary Data is enabled, the item also includes the image file under the configured binary property.
The JSON response includes image_url and other fields returned by the API. Binary data is downloaded from image_url; its filename uses the API filename when provided, otherwise image.
. Requires PixelSEO API credentials.