generate-image
Create images from text prompts using Stable Diffusion. Specify parameters like dimensions and steps to control the output.
Instructions
Generate an image using Replicate's Stable Diffusion 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 |
|---|---|---|---|
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| guidance_scale | No | ||
| negative_prompt | No | ||
| num_inference_steps | No |