generate_post_cover
ActiveTool of FavCRM
Generate an AI image and attach it as a post's featuredImage. Submits a kie.ai job, polls until complete, copies the result into the canonical post-asset R2 folder, and writes the public URL onto the post. Costs credits (see list_image_models). On poll timeout, the job continues — call attach_post_cover_from_job(postId, jobId) once it finishes to attach without paying again.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"postId",
"prompt",
"modelCode"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Random seed for reproducible output"
},
"postId": {
"type": "string",
"description": "The post ID"
},
"prompt": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "Image generation prompt"
},
"modelCode": {
"type": "string",
"description": "Image model code from list_image_models (e.g. nano-banana-2)"
},
"aspectRatio": {
"type": "string",
"maxLength": 20,
"description": "Aspect ratio passed to the model, e.g. \"16:9\", \"1:1\""
},
"pollTimeoutMs": {
"type": "integer",
"maximum": 120000,
"minimum": 5000,
"description": "Default 60000."
},
"negativePrompt": {
"type": "string",
"maxLength": 2000,
"description": "Things to exclude from generation"
},
"pollIntervalMs": {
"type": "integer",
"maximum": 15000,
"minimum": 1000,
"description": "Default 3000."
}
}
}Parent server
FavCRM
https://github.com/favcrm/mcp
1/7 registries