Read Image Metadata
sdnext_png_infoExtract generation parameters from a PNG image, including prompt, seed, sampler, and more.
Instructions
Extract generation parameters from a PNG image (POST /sdapi/v1/png-info). Returns raw info string, items dict, and parsed parameters (prompt, seed, sampler, ...).
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": {
"image": "<image>"
},
"name": "sdnext_png_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64-encoded image (raw base64, data: URL, or "upload:<id>" ref). |