Files
agent/mcp
kicer 88120d61c1 video-gen: drop duration param, restrict image_url to a single URL
The cogvideox-flash API does not accept a duration field — passing
one gets rejected upstream. Remove DEFAULT_DURATION, the
X-Video-Gen-Duration header parser, and the field forwarded to
Zhipu, both in code and README.

image_url was documented as accepting up to 2 URLs for first/last
frame, but the upstream schema only accepts a single string. Tighten
the zod schema to z.string().url().optional() and update README /
FAQ to make the single-URL constraint explicit.
2026-09-04 22:28:39 +08:00
..
2026-09-04 16:19:34 +08:00