generate_image
Create AI images from text prompts using FLUX PRO 1.1 with automatic cinematic prompt enhancement; use as a fallback when the recommended image search tool is not suitable.
Instructions
Generate an AI image using FLUX PRO 1.1 model based on a text prompt. This tool directly integrates with the Black Forest Labs API to create high-quality, cinematic-style images with automatic prompt enhancement. Requires BFL_API_KEY environment variable to be configured. Should be used as fallback only, the main recommended tool for images is search_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": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Width of the generated image in pixels (default: 1024) | |
| height | No | Height of the generated image in pixels (default: 1024) | |
| prompt | Yes | Text prompt describing the image you want to generate. The prompt will be enhanced with cinematic photography styling automatically. | |
| outputFormat | No | Output format for the generated image (default: jpeg) | jpeg |