generate_image
Generates images from text prompts using SenseNova U1 Fast. Supports Chinese prompts, multiple size options, and batch creation of up to 4 images per request.
Instructions
使用 SenseNova U1 Fast 模型,根据文本描述生成图像。支持中文 prompt,返回临时 URL 请及时下载。
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 |
|---|---|---|---|
| n | No | 生成数量,1~4 张。 | |
| size | No | 图像分辨率,支持 11 种尺寸。默认 2752x1536(16:9)。 | 2752x1536 |
| prompt | Yes | 图像描述文本,支持中文。描述越详细(构图、色彩、风格、元素)效果越好。最大约 4096 token。 |