Generate images (server pipeline)
flypost_generate_imageMake an image for a concept with Flypost's AI image pipeline. variant: 'infographic' (classic), 'square' (clean square body for the canvas editor), 'single' (flat Image post: meme, stat, comparison or product). The only way to make meme, product_in_situ and 'Let AI decide' Image posts, or an AI image style the user asked for. It draws everything, so it cannot keep a real screenshot's pixels, and infographics and stat or comparison posts default to flypost_design_visual. Works on any concept-stage item. Blocks 2-6 minutes. Check the result with flypost_view_visuals, then give the user the editor_url. Stat and comparison images have no logo: place it with flypost_place_logo. Routes: flypost_guide (images).
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": {
"content_bank_item_id": "<content_bank_item_id>",
"variant": "<variant>"
},
"name": "flypost_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | Yes | ||
| style_key | No | Visual style key; defaults to the item’s selected style. | |
| aspect_ratio | No | Infographic variant only; defaults to 'portrait 4:5' — LinkedIn's preferred shape. (square is forced 1:1; single images are always portrait.) | |
| variation_count | No | ||
| content_bank_item_id | Yes |