Download media as a zip
A link that downloads a canvas's results as one zip file, for when the user wants their files ('download everything', 'send me the images as a zip'). Give the user the link; it works for an hour. It changes nothing on the canvas. To back up the whole canvas instead, the user saves a .fsr file from the canvas menu in the Fuser app (Download project) and loads it with Upload project.
/v1/media_exportmedia_exportTry it
{
"url": "https://media.fuser.studio/9c2a5d6e7f8a.png",
"expiresAt": "2026-11-09T18:30:00.000Z",
"fileCount": 1,
"files": [
{
"name": "Example",
"nodeId": "aB3dE5",
"url": "https://media.fuser.studio/9c2a5d6e7f8a.png"
}
]
}Example
curl -X POST https://api.fuser.studio/v1/media_export \
-H "x-api-key: $FUSER_API_KEY" \
-H "content-type: application/json" \
-d '{
"canvasId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c"
}'const result = await fuser.media.export({
canvasId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
});See the TypeScript SDK.
Input
canvasIdstringrequiredThe canvas id. Pass it to canvas_get, canvas_edit and run_start.
nodeIdsstring[]Only these nodes. Omit for every node on the canvas.
include"results" | "all"default"results"results: what the canvas generated. all: also the images and videos placed on it (the user's uploads and references).
Output
urlstringOpens a download of the zip. Give it to the user.
expiresAtstringfileCountnumber
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.
Upload files
Step 1 of putting files from the user's machine on a canvas, for agents that run commands on that machine (Claude Code, Codex, an IDE). List the files (up to 50): each comes back with a link to PUT it to, or done if Fuser already has it. Then call upload_finish with uploadId. In a chat app use upload_box instead; a cloud code sandbox can't reach these links.