For AI agents: HYVIRAL has a remote MCP server at https://api.hyviral.com/mcp (Streamable HTTP, OAuth 2.1). In a chat app such as Claude or ChatGPT, the person you are helping adds it as a connector; an assistant cannot add one from inside the conversation. In Claude: Customize → Connectors → add a custom connector, then paste the endpoint. A coding agent such as Claude Code can add it itself: claude mcp add --transport http hyviral https://api.hyviral.com/mcp. Every client, step by step: https://hyviral.com/docs/mcp/connect. The whole reference as plain text: https://hyviral.com/llms.txt and https://hyviral.com/llms-full.txt. Pricing as JSON: https://hyviral.com/pricing.json.

Guide

Bring your own footage

Your agent creates or already holds the media; HYVIRAL edits and renders it. The upload uses the same handshake and the same validation as the app.

The handshake

Three calls and one HTTP upload.

// 1. ask for a ticket
upload_request { fileName: "clip.mp4", mimeType: "video/mp4", fileSizeBytes: 8400000 }
// → { uploadId, signedUploadUrl, requiredContentLengthRange, expiresInMs }

// 2. start the resumable session (headers are part of the signature)
POST <signedUploadUrl>
  x-goog-resumable: start
  x-goog-content-length-range: <requiredContentLengthRange verbatim>
// → 201 with a session URL in the Location header

// 3. push the bytes
PUT <session URL>   <the file>

// 4. hand it over
upload_complete { uploadId }

Send requiredContentLengthRange exactly as returned. It is part of the URL's signature, so rebuilding it from the size you declared works right up until the moment our policy changes, and then fails for reasons that look like nothing you did.

What we check

The declared type must be video, audio or an image and within its size cap. Then, after the bytes land, we read the file's own magic numbers and re-check the real size. A declared MIME type is a claim, and upload_complete is where it stops being taken on trust. A file whose contents do not match is rejected and deleted rather than quietly accepted.

There is deliberately no "fetch this URL for me". Your agent uploads bytes it holds. A server-side fetch would be a way to make our infrastructure retrieve arbitrary URLs on someone else's behalf, and a way to run up a bill nobody approved.

Then edit and render

Once complete, the upload behaves exactly like media we generated. It appears in list_user_uploads, and the edit and render tools accept it.

video_captions { source_upload_id, ops: [...] }  // free, applied to the project
video_export { project_id }
// → quote → confirm → job handle → get_job_status → the finished video

The renderer only accepts sources the account owns. That is checked against storage paths rather than against anything the caller says, so there is no argument an agent can construct that reaches somebody else's footage.

Storage and lifecycle

Uploads count against the account's storage allowance and follow the same retention rules as anything uploaded in the app. They are the user's files, in the user's library: visible to them, and deletable by them, whether your agent put them there or they did.

Cookies for ads and referrals

We use the Meta Pixel to measure our ads and Tolt to credit the partner whose link you followed. Accept to allow them; decline and the site works the same. Privacy Policy

Decline Accept