genrelay-mcp

v0.1.2
io.github.gaoruitech/genrelay-mcp Checked 2 days ago Published 1 month ago

Generate video and images (Veo 3.1, Grok Imagine, Nano Banana, GPT Image 2) via the GenRelay API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_video Generate a video

Generate a video with Veo 3.1, Grok Imagine or Omni Flash. Generation usually takes 1-5 minutes, longer than a tool call can wait — if it is still running when the wait budget runs out, this returns a task id to check later with check_job. Supports text-to-video and image-to-video (pass reference_images).

ParameterTypeDescription
prompt *stringWhat the video should show.
modelstringWhich video model to use.
reference_imagesarrayHTTPS or data: URLs to guide generation (image-to-video).
secondsintegerClip length in seconds (default 4).
sizestringPixel size as "WxH", e.g. "1280x720". Aspect ratio is inferred from it.
tierstringResolution tier. Worth setting: pricing is per tier, and a size matching no tier falls back to the model's base rate.

generate_image Generate an image

Generate an image with Nano Banana Pro/2 or GPT Image 2. Usually finishes within the tool-call budget and returns the picture inline. Supports image editing and reference-guided generation via reference_images.

ParameterTypeDescription
prompt *stringWhat the image should show.
modelstringWhich image model to use.
reference_imagesarrayHTTPS or data: URLs to edit or take guidance from.
sizestringPixel size as "WxH", e.g. "1024x1024".
tierstringResolution tier. Pricing is per tier — set it explicitly.

check_job Check a generation job

Check a job started earlier by generate_video or generate_image, using its task id. Returns the current status and, once finished, the download URL.

ParameterTypeDescription
task_id *stringThe task id, e.g. "task_abc123".

list_models List available models

List the video and image models this server can generate with, and what each is for.