Displays an AT Protocol blob as an image.
Input
Encoding
application/jsondid
stringdid
Required
DID of the blob owner. Used to resolve blob URLs.
fit
string
Optional
When set, Blob fills its container height. 'cover' crops to fill; 'contain' letterboxes.
maxLength: 32 bytesratio
ref#aspectRatio
Optional
Known aspect ratio for CLS prevention. Reserves space before the image loads.
src
unknown
Required
Blob ref for the image.
Output
Encoding
application/jsonSchemaat.inlay.defs#response
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"src",
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "DID of the blob owner. Used to resolve blob URLs."
},
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string",
"maxLength": 32,
"description": "When set, Blob fills its container height. 'cover' crops to fill; 'contain' letterboxes."
},
"src": {
"type": "unknown",
"description": "Blob ref for the image."
},
"ratio": {
"ref": "#aspectRatio",
"type": "ref",
"description": "Known aspect ratio for CLS prevention. Reserves space before the image loads."
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"ref": "at.inlay.defs#response",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Displays an AT Protocol blob as an image."
}