generate_video
Generate a video clip using AI (xAI Imagine, 3 credits). Supports text-to-video, image-to-video, MULTI-IMAGE video (up to 7 images combined), and video editing with native audio (voiceover, sound effects, music). Best for quick drafts, social clips, iterations, and audio-first content. For cinema...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/generate-video.md
What generate_video does on Freedom Mcp
AI agents use generate_video to create or update resources in Freedom Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Freedom Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Detailed description of the video to generate. Include visual scene, audio/voice direction, mood, and brand elements. For multi-image: describe how the subjects |
duration | number | — | Video duration in seconds (1-15). Default: 5. Not supported for video editing. |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
image_url | string | — | URL of a single still image to animate (image-to-video mode). Use image_url from a previous generate_image result. For multiple images, use image_urls instead. |
video_url | string | — | URL of an existing video to edit (video editing mode). Describe the edits in the prompt. Input capped at 8.7 seconds. |
image_urls | array | — | Array of image URLs (up to 7) for multi-image video generation. Combine a mascot, a person, product shots, and brand assets into one cohesive video. Use signed |
resolution | string | — | Video resolution. 480p (default, faster) or 720p (HD). Not supported for video editing. |
artifact_id | string | — | ID of a single existing artifact from the MEDIA IN THIS CONVERSATION block. The system resolves a fresh signed URL and auto-detects: image artifacts → image-to- |
artifact_ids | array | — | Array of artifact IDs (up to 7) from the MEDIA IN THIS CONVERSATION block for multi-image video generation. The system resolves fresh signed URLs for each. Exam |
aspect_ratio | string | — | Aspect ratio. Default: 16:9. For image-to-video, defaults to the input image ratio. Not supported for video editing. |
save_to_drive | boolean | — | If true, also save the video to Google Drive. Defaults to false. |
Parameters from the server's own tool schema.
Why generate_video is rated Medium
An AI agent can call generate_video faster than any human can review: one bad instruction and it creates or modifies resources in Freedom Mcp by the hundred, each call as confident as the last.
Risk signalsHigh parameter count (11 properties)
Attacks that exploit this kind of access
The rule that runs generate_video safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For generate_video, this is the rule to start with:
generate_video stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every generate_video call is checked against it from then on.
Questions about generate_video
Generate a video clip using AI (xAI Imagine, 3 credits). Supports text-to-video, image-to-video, MULTI-IMAGE video (up to 7 images combined), and video editing with native audio (voiceover, sound effects, music). Best for quick drafts, social clips, iterations, and audio-first content. For cinematic final deliverables, use generate_video_veo instead. [sensitive-tier, initiates a multi-step agent process — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]. It is categorised as a Write tool in the Freedom Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
generate_video accepts 11 parameters: prompt, duration, companyId, image_url, video_url, image_urls, resolution, artifact_id, artifact_ids, aspect_ratio, save_to_drive. Required: prompt, companyId. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for generate_video: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Freedom Mcp. Nothing to install.
generate_video is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_video rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for generate_video. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
generate_video is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue