Skip to content

[Feature/功能]: 支持 OpenAI 格式的视频输入 #892

@xxtg666

Description

@xxtg666

Pre-submission Checklist / 提交前检查

  • I have searched the existing issues and this feature has not been requested / 我已搜索现有 issues,此功能尚未被提出
  • I have read the documentation / 我已阅读文档

Problem Statement / 问题描述

以 OpenAI 接口格式调用 Gemini 或 GLM 系列模型时,无法输入视频

Proposed Solution / 期望方案

支持按照 OpenRouter 格式传入参数,这个格式同时也被 GLM 支持

Alternatives Considered / 备选方案

无,目前按照该格式传入参数时 axonhub 会把 message 中 {"type":"video_url","video_url":{"url":"https://example.com/example.mp4"}} 的部分进行移除,只留下 {"type":"video_url"}

Feature Category / 功能分类

API Compatibility / API 兼容性

Additional Context / 其他补充信息

渠道类型为 Google Gemini 时可能需要额外的处理

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions