Skip to main content
Glama

Plainly Videos MCP Server

aspectRatio.ts366 B
import { AspectRatio } from "../sdk"; function gcd(a: number, b: number): number { return b === 0 ? a : gcd(b, a % b); } export function getAspectRatio( width: number, height: number ): AspectRatio | null { if (width <= 0 || height <= 0) return null; const d = gcd(width, height); const w = width / d; const h = height / d; return `${w}:${h}`; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/plainly-videos/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server