get_next_image
Retrieve the next generated image from an ongoing batch session. Returns immediately if available or waits with timeout for pending images.
Instructions
Get the next available image from a batch generation session.
This tool retrieves the next image from an ongoing batch generation. If an image is already available, it returns immediately. Otherwise, it blocks until an image becomes available or timeout.
Args: session_id: Session ID from start_image_batch. timeout: Maximum time to wait for an image (seconds, 1-300).
Returns: Dictionary with file_path, has_more flag, and pending_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout | No |