Look at media
See Fuser images and 3D models as small previews, and the first frame of a video, with facts such as size, length and transparency. Look at results before describing or judging them.
/v1/media_viewmedia_viewTry it
{
"items": [
{
"url": "https://media.fuser.studio/9c2a5d6e7f8a.png",
"kind": "image",
"facts": {
"prompt": "aB3dE5"
},
"previews": [
{
"mimeType": "image/png",
"data": "example data",
"atSeconds": 1
}
],
"note": "example note"
}
]
}Example
curl -X POST https://api.fuser.studio/v1/media_view \
-H "x-api-key: $FUSER_API_KEY" \
-H "content-type: application/json" \
-d '{
"urls": [
"example urls"
]
}'const result = await fuser.media.view({
urls: ['example urls'],
});See the TypeScript SDK.
Input
urlsstring[]requiredFuser media links, from run_get results, canvas_get values or media_import.
detail"normal" | "high"default"normal"high shows images at 1024 px instead of 512, for reading small text (up to 8 at a time).
Output
Find your media
Search the images, videos, audio and 3D files you made or uploaded, by meaning ("the coral reef image", "a dog running on a beach") or by similarity to one you have. Without query or similarTo it lists the newest first. Look at matches with media_view.
Import an image or video
Copy an image or video from a public URL into the canvas's assets and get a Fuser link for it. Use it before putting a web link on the canvas: it says straight away when the link can't be fetched, and the copy won't expire. For a file on the user's machine use upload_start.