Files
grok2api/app
double2tea 69dbcac74a fix: add missing deviceEnvInfo for video generation payload
The Grok API requires deviceEnvInfo field to correctly parse resolutionName.
Without this field, the backend ignores resolution settings and generates
low-resolution videos regardless of the requested quality.

Added deviceEnvInfo with standard 1920x1080 viewport settings to ensure
720p and other resolution settings are properly respected by the API.

Tested: 720p videos now correctly generate at 720x1280 resolution.
2026-02-08 03:46:45 +08:00
..