html_to_image
HTML→图片($0.03):渲染 HTML/CSS 成单张 PNG(海报/封面/数据卡)。像素级控制。零 API 成本。
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": {
"html": "<html>"
},
"name": "html_to_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | 完整 HTML 字符串 | |
| ratio | No | 画幅,默认 1:1 | |
| width | No | ||
| height | No |