generate_image
Create custom images from text descriptions using AI, with adjustable aspect ratios, output formats, and quality settings for tailored visual content.
Instructions
Generates an image using Replicate's Flux 1.1 Pro model
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 |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| aspect_ratio | No | Aspect ratio for the generated image (e.g. '1:1', '16:9', '4:3') | 1:1 |
| output_format | No | Format of the output image (e.g. 'webp', 'png', 'jpeg') | webp |
| output_quality | No | Quality of the output image (1-100) | |
| safety_tolerance | No | Safety tolerance level (0-3) | |
| prompt_upsampling | No | Whether to use prompt upsampling |