Paint a new background
generate_backgroundPaint a new anime background (scenery without characters) with the user's AniBG credits, when search_backgrounds has nothing that fits and the user wants it made. Needs the user's AniBG API key on this connection (header Authorization: Bearer anibg_…); without one the tool says where the user gets it, and studio_link is the way instead. Spends bought credits only: 2K costs 1, 4K costs 2 (free sign-up credits are for Studio). Describe a new place with prompt, or start from a library scene (scene, scene_time) or an earlier picture of the user (job) to change its time of day, shape or size, with prompt for changes. Waits up to wait seconds; if the picture is not done by then, call get_generation with its id. Example: {"prompt": "empty rooftop of a school at dusk, chain-link fence, water tank", "time": "sunset"}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | The id of an earlier picture of this account to start from. | |
| time | No | Time of day or weather (default day). | |
| wait | No | Seconds to wait for the picture before answering (0 to 55, default 45). Most take 20 to 60 seconds. | |
| scene | No | A library scene id, like bg-014, to start from. | |
| aspect | No | Shape (default 16:9; 9:16 for phones). | |
| prompt | No | What the place looks like, in plain words, without people. Required unless scene or job is given; with them, what to change. | |
| quality | No | Size: 2k (1 credit, default) or 4k (2 credits). | |
| scene_time | No | With scene: which of the scene's pictures to start from (default: time, if the scene has it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| next | Yes | ||
| credits | Yes |