kie_generate_image
Create AI-generated images from text prompts. Adjust model, aspect ratio, and negative prompt to achieve desired results.
Instructions
Generate an image using AI models via kie.ai
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": {
"prompt": "<prompt>"
},
"name": "kie_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for reproducibility | |
| model | No | Model ID (e.g. 'flux-2/pro-text-to-image') | |
| prompt | Yes | Text prompt describing the image to generate | |
| filename | No | Custom filename (without extension) | |
| output_dir | No | Output directory for the generated file | ./bilder |
| aspect_ratio | No | Aspect ratio (e.g. '1:1', '16:9', '9:16') | 1:1 |
| guidance_scale | No | Guidance scale for generation | |
| negative_prompt | No | Negative prompt — what to avoid |