generate_image
Generates an image from a text prompt using the Flux Schnell model. Provide a detailed English prompt and select a resolution.
Instructions
Generates an image using the SiliconFlow API with the Flux Schnell model (black-forest-labs/FLUX.1-schnell). Provide a detailed English prompt and select a resolution. Nya~ <3 重要提示:
此工具返回一个基础的 HTML
<img>标签(包含 src 和 alt)。请在收到此标签后,为其添加一个
width属性,值应在 200 到 500 像素之间(例如width="300")。在最终回复用户时,请直接发送这个完整的、已添加
width属性的 HTML<img>标签,以便用户可以直接看到图片。
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>",
"resolution": "<resolution>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Required. The detailed text prompt for image generation. Please use English for best results, nya~! | |
| resolution | Yes | Required. The desired image resolution. | |
| seed | No | Optional. A specific seed for reproducibility. If omitted, a random seed is used. |