Generate several images in parallel
antigravity_image_swarmGenerate multiple images in parallel by assigning one isolated worker to each prompt. Returns file paths, formats, sizes or per-image errors, with extensions corrected to match real bytes.
Instructions
Best for several images at once: like antigravity_image, but one isolated worker per
prompt, run in parallel (capped at max_concurrency). Returns each image's path,
format and size, or its error; extensions are corrected to the real bytes.
Unsandboxed agy workers: trusted prompts only.
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": {
"prompts": "<prompts>"
},
"name": "antigravity_image_swarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| watch | No | If true, open the live dashboard; each finished image shows in its pane, and clicking a row opens that agent's window beside the dashboard. | |
| prompts | Yes | One image description per parallel worker. | |
| timeout_s | No | Per-worker timeout in seconds. Default 240 (images are slower). | |
| workspaces | No | Working directory per worker (same shorthand as antigravity_swarm). | |
| output_paths | No | Where to save each image (aligned to prompts). Omit to write timestamped files in the first workspace (or server cwd). | |
| max_concurrency | No | Max workers running at once (default 4). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |