Create an AI image for a text post
flypost_create_post_imageGive a TEXT post an AI-made picture (the app's "Create an image with AI") from an idea the user picked: one of yours (a short title, 1-2 sentences on what is in the frame, on_image_text of at most 6 words) or one from flypost_suggest_post_image_ideas. Only after the user has chosen: it costs from their image allowance. Adds the picture to the post's photos; usually under a minute. Rules for ideas: concrete and drawable, tied to this post, never a real product's UI or logo, no brand name, and the words on the image never claim more than the post does (a post that says 'reportedly' gets no image stating it as fact). Not for image, infographic or carousel posts (flypost_design_visual), or an image the user supplied (flypost_attach_post_image).
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": {
"draft_id": "<draft_id>",
"idea": "<idea>"
},
"name": "flypost_create_post_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idea | Yes | The idea the user picked. on_image_text is the ONLY text drawn: the post's most striking point in 3-10 words. Always include it; a wordless picture says nothing in the feed. | |
| draft_id | Yes |