Get illustration PNG link
get_illustration_png_urlGet a PNG URL for an illustration - use when SVG is not available to you. NOTE: SVG is preferred where you can get it (use get_illustration_svg).
Sizes: "low" (a small preview), "standard" (a mid-size raster), "hd"
(the largest). "low" and "standard" work for everyone; "hd" needs a
signed-in account whose plan covers illustrations and MCP access, the
same as SVG, unless the illustration has free_distribution: true. The exact
pixel dimensions depend on the illustration - read width/height from
the response rather than assuming a fixed size.
The URL is presigned and expires in one hour. For a link to keep, use the
permanent preview.url in a search result.
Args: illustration_id: The id from a search_illustrations result (field illustrations[].id) ctx: MCP context for API access size: "low", "standard" (default) or "hd"
Returns: {"url", "width", "height", "expires_in_seconds"}, or {"error"}. "hd" counts toward the paid-download limit: a refusal carries "retry_after_seconds".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | standard | |
| illustration_id | Yes | Illustration id from the results of search_illustrations (field illustrations[].id) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Presigned download link. Valid for expires_in_seconds. Absent when error is set. | |
| error | No | Set only on failure. | |
| width | No | Pixel width of the file. | |
| height | No | Pixel height of the file. | |
| expires_in_seconds | No | Seconds the url stays valid. One hour. | |
| retry_after_seconds | No | Seconds until the download limit resets. Set only when the limit refused the call. |