Get image
get_imageFetches images from a ClipCloud generation, waits if they are still processing, and optionally saves them to a folder or returns links.
Instructions
Get the images of a generation started by generate_image. Waits up to wait_seconds if they are not ready yet; call it again while it says "Still generating". Without creation_id it returns the latest generation started in this session (use that if generate_image timed out or failed after starting). Can save the images to save_dir.
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": "get_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_dir | No | Folder to save the finished images to: an absolute path, or a path relative to the open project. Created if missing. Leave empty to only get links. | |
| file_name | No | File name for saved images, without extension, for example "hero". With several images, -1, -2 and so on are added. Existing files are never replaced: a number is added instead. | |
| creation_id | No | The creation_id returned by generate_image, exactly as returned. Leave empty for the latest generation of this session. | |
| wait_seconds | No | How long this call may take, in seconds (default 45). Many apps cancel a tool call after about 60 seconds, so keep the default unless you know your app allows longer calls. If the images are not ready in time, the answer says so and gives the creation_id. | |
| return_images | No | Whether to show the finished images in the answer (up to 2 small ones) so you can see them. Links are always returned. Set false to save context. |