generate_image
Generate photorealistic images from text prompts using FLUX.1 diffusion models, producing high-fidelity visuals in about 2 seconds with configurable aspect ratio and step count.
Instructions
Generate high-fidelity photorealistic images using FLUX.1 diffusion models on the Runware edge cluster in ~1.5 to 2.5 seconds.
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 |
|---|---|---|---|
| model | No | Target model ID. Defaults to 'runware:100@1' (FLUX.1 Schnell). | |
| steps | No | Inference step count (e.g. 4 for Schnell, 25 for Dev). Defaults to 4. | |
| prompt | Yes | Detailed descriptive visual prompt for diffusion synthesis. | |
| aspect_ratio | No | Image aspect ratio. Defaults to 1:1. |