render_chat_image
Render a chat mockup directly into a high-resolution PNG image (plus an editUrl for optional manual tweaks). Use when the user wants a fully agent-driven workflow with an image returned directly. Requires Authorization: Bearer <api_key>.
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": {
"platform": "<platform>"
},
"name": "render_chat_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Current user display name or object. | |
| scale | No | Pixel scale factor (free accounts max 2, Pro up to 3). | |
| device | No | ||
| script | No | Quick multi-line dialogue script like "Alex: Are we still on?\nMe: Yes, see you at 7!". Use either script or messages. | |
| contact | No | Contact display name or object. | |
| language | No | Preferred UI language for editUrl, e.g. "en" or "zh". | |
| messages | No | Structured message list for richer control (timestamps, reactions, voice transcripts, red packets, transfers, threads, etc.). | |
| platform | Yes | Target chat platform (e.g. wechat, whatsapp, imessage, telegram, slack, discord, chatgpt). | |
| settings | No | ||
| includeFrame | No | Include outer phone bezel frame around the chat screen (default false). |