media_generate
Generate image or video media through the Bento model gateway using an exact upstream model ID or role. Roles: image, image:google, video, video:grok, video:pro, video:seedance, video:google, video:kling, video:kling:image. Omit model to use the role matching kind. Optional video controls: duration in seconds and resolution as WIDTHxHEIGHT.
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": {
"workspace": "<workspace>",
"prompt": "<prompt>"
},
"name": "media_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | image | |
| model | No | ||
| prompt | Yes | ||
| duration | No | ||
| workspace | Yes | ||
| resolution | No |