social_post_creator_generate_social_image_action
Generate LinkedIn-optimized AI images with Gemini. Choose from 4 visual styles and 2 aspect ratios to create custom social images for posts.
Instructions
Generates a LinkedIn-optimised AI image using Gemini. Supports 4 visual styles and 2 aspect ratios. Use as a standalone image action or as part of the Social Post Creator pipeline.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_style": "<image_style>",
"image_aspect_ratio": "<image_aspect_ratio>",
"output_variable_name": "<output_variable_name>"
},
"name": "social_post_creator_generate_social_image_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Full text prompt for the image. If provided, this takes priority over the topic field. Use for custom prompts or when piping from another action. | |
| topic | No | The post topic the image should relate to. Used when prompt is empty to auto-build a style-specific prompt. | |
| image_style | Yes | conceptual | |
| image_aspect_ratio | Yes | Portrait (4:5) takes up more feed space on mobile. | portrait |
| key_stat | No | Only for Data/Stat style. The number or stat to highlight (e.g. '73% of brands...'). | |
| key_quote | No | Only for Quote Card style. The quote to render on the image. | |
| framework_desc | No | Only for Infographic style. The process or framework to visualise. | |
| output_variable_name | Yes | Variable name for the result (contains image_url). | social_image |