Fetch a Polza media generation by id
fetch_generationRetrieve completed image generation results by media_id. Optionally downloads the asset to a specified path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | Polza generation id (e.g. 'gen_2158264963618050049'). Returned by the Polza API when an `images/generations` or `/v1/media` call switches to async mode or when the MCP client times out waiting for a synchronous response. | |
| output_path | No | Where to save the downloaded asset(s). If a file path with an extension is provided, saves the first asset there. If a directory is provided, saves using '<media_id>_<index>.<ext>'. If omitted, saves into IMAGE_OUTPUT_DIR. | |
| wait | No | If true (default), polls until the generation reports 'completed' or 'failed', respecting POLZA_POLL_TIMEOUT_SECONDS. If false, returns the raw status without downloading. |