> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sia.vision/llms.txt
> Use this file to discover all available pages before exploring further.

# View a saved reference image

> reference_image_preview: permissions and generated input/output contracts.

`reference_image_preview` · Gateway release **0.8.3**

View verified bytes of an authorized saved PNG, JPEG or WebP image. No caller URLs are fetched. Large originals return a resized display preview with separate original and preview hashes.

Required scopes: `account:read`, `studio:read`. Read-only.

Availability depends on runtime configuration and the permissions granted to this connection. Use live MCP discovery as the authority.

## Input

```json theme={null}
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "storyworldId": {
      "type": "string",
      "pattern": "^[a-fA-F0-9]{24}$",
      "description": "ID of an accessible saved Storyworld returned by discovery. Keep this destination fixed for the operation."
    },
    "assetId": {
      "type": "string",
      "pattern": "^[a-fA-F0-9]{24}$",
      "description": "ID of an already saved and linked Media record returned by this workflow."
    }
  },
  "required": [
    "storyworldId",
    "assetId"
  ]
}
```

## Declared output

This is the declared success schema. Error results and binary media blocks are separate MCP protocol results.

```json theme={null}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "reference": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "display": {
      "type": "object",
      "properties": {
        "originalSha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "previewSha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "resized": {
          "type": "boolean"
        }
      },
      "required": [
        "originalSha256",
        "previewSha256",
        "resized"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schemaVersion",
    "reference",
    "display"
  ],
  "additionalProperties": {}
}
```

[All tools](https://docs.sia.vision/mcp-reference.md) · [Permissions](https://docs.sia.vision/authentication.md) · [Media and recovery](https://docs.sia.vision/media-and-recovery.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.