generate_image
ActiveTool of FavCRM
Generate an AI image via kie.ai and return its public R2 URL. Use to mint reusable URLs for content blocks (image, gallery), product photos, or any field that takes an image URL — does NOT attach to a post by itself. Costs credits (see list_image_models). On poll timeout the job continues running; pass `jobId` from the response to merchant ai-media APIs to retrieve it later.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"prompt",
"modelCode"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Random seed for reproducible output"
},
"prompt": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "Generation prompt"
},
"modelCode": {
"type": "string",
"description": "Image model code from list_image_models"
},
"aspectRatio": {
"type": "string",
"maxLength": 20,
"description": "Output aspect ratio (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