Videoslash API
Tools

Upload Creative Studio media inline

Prefer letting the Creative Studio widget collect local/attached files in Claude Connectors — it uploads without using your context (call create_creative_generation with mediaIntent / omit mediaUploads instead of this tool). Only call this tool yourself when you have literal file bytes AND you can pass dataBase64 as a tool argument without ever cat/echo/print/pasting the base64 into your response or reasoning (max 8MB decoded). Never dump base64 into the chat transcript. For files over 8MB, or coding agents with unrestricted outbound network, prefer request_creative_media_upload (presigned PUT). Returns uploadId for mediaUploads on create_creative_generation. Requires creative:generate scope.

Upload Creative Studio media inline

Tool name: upload_creative_media

Required scope: creative:generate

Prefer letting the Creative Studio widget collect local/attached files in Claude Connectors — it uploads without using your context (call create_creative_generation with mediaIntent / omit mediaUploads instead of this tool). Only call this tool yourself when you have literal file bytes AND you can pass dataBase64 as a tool argument without ever cat/echo/print/pasting the base64 into your response or reasoning (max 8MB decoded). Never dump base64 into the chat transcript. For files over 8MB, or coding agents with unrestricted outbound network, prefer request_creative_media_upload (presigned PUT). Returns uploadId for mediaUploads on create_creative_generation. Requires creative:generate scope.

Parameters

NameTypeRequiredDescription
fileNamestringrequiredOriginal file name including extension.
contentTypestringrequiredMIME type (for example image/jpeg, image/png, video/mp4).
dataBase64stringrequiredBase64-encoded file bytes (a data: URI prefix is also accepted and stripped). Limited to 8MB decoded — for larger files use request_creative_media_upload from a client with direct network access instead.

On this page