发布

  • feat(api, xai): add xAI Grok video model support with API integration

    frostbyte_neo 发布于 2026-05-16 18:53:50 +00:00

    • Introduced new xAI grok-imagine-video model for video generation with configurable options (e.g., duration, size, resolution).
    • Implemented video-specific API endpoints (/v1/videos, /v1/videos/generations, /v1/videos/edits, /v1/videos/extensions), including request validation and model handling.
    • Enhanced model registry with xaiBuiltinVideoModelID and metadata for video capabilities.
    • Added unit tests to validate video model support, request structures, and API response handling.
    • Extended XAIExecutor to integrate video generation and retrieval via runtime requests.
    下载附件