Generate AI image
generate_imageCreate billboard artwork from a text prompt and return base64 data URIs for upload_media, so AI agents can attach ready images to GPS-anchored ads.
Instructions
Generate billboard artwork from a prompt (recommended 640x373). Returns base64 data URIs you can pass to upload_media. Prefer realistic photos.
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 |
|---|---|---|---|
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| aiProvider | No | Provider type from GET /global-config/all: 5 = Grok (default, recommended), 1 = OpenAI |