Skip to main content
Glama

RelaySwitch

A generation's status and files

generation
Read-onlyIdempotent

One generation by id: its status, progress, files and charge, waiting up to wait_seconds for it to finish first. Use it after generate answers with a video still running. Needs the key the generation was made with. Live from GET /v1/generations/{id}.

Input Schema

NameRequiredDescriptionDefault
idYesThe generation id generate answered with (gen_ then 24 hex characters).
previewNoDefault true: a finished image comes back inline as image content besides its link.
wait_secondsNoSeconds to wait for the files before answering with the generation as it stands, 0 to 120. Images usually finish inside the default 60; a video takes minutes, so follow up with generation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources