Register or update an image URL
register_imageBind a direct image URL to a stable key (e.g., 'hero.background') for reuse. Idempotent: calling again with the same key replaces the URL. Zero credits.
Instructions
Bind a direct image URL to a stable key (e.g. 'hero.background' → https://cdn.example.com/hero.webp). Idempotent — calling twice with the same key swaps the URL. Costs 0 credits. For AI-generated images use generate_image instead.
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": {
"key": "<key>",
"url": "<url>"
},
"name": "register_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable image key, e.g. 'hero.background' or 'gallery/shot1'. | |
| url | Yes | Direct image URL (must be publicly accessible). |