Fuser

Finish uploading files

Step 2: returns a link for every file that arrived, to use as an ImageNode or VideoNode input, and says why for any that did not. For files the user is adding on the upload page, call it after they say they are done.

POST/v1/upload_finish
MCP tool upload_finish

Try it

POSTapi.fuser.studio/v1/upload_finish
BodyJSON
ResponseExample
{
  "files": [
    {
      "url": "https://media.fuser.studio/9c2a5d6e7f8a.png",
      "mimeType": "image/png",
      "status": "done",
      "fileName": "coral-reef.png"
    }
  ]
}

Example

curl -X POST https://api.fuser.studio/v1/upload_finish \
  -H "x-api-key: $FUSER_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "uploadId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c"
}'
const result = await fuser.upload.finish({
  uploadId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
});

See the TypeScript SDK.

Input

  • uploadIdstringrequired

    Pass it to upload_finish once every file is uploaded.

Output

On this page