Skip to content

feat: Azure OpenAI Sora video generation tool (#7702) - #15874

Open
walterwagner wants to merge 1 commit into
LibreChat-AI:devfrom
walterwagner:feat/azure-sora-7702
Open

walterwagner wants to merge 1 commit into
LibreChat-AI:devfrom
walterwagner:feat/azure-sora-7702

Conversation

@walterwagner

Copy link
Copy Markdown

Summary

Adds Azure OpenAI Sora as a structured tool (video_gen_sora_azure) so LibreChat can generate short videos from a text prompt.

  • Job submit → poll → mp4 download against Azure OpenAI video generations (openai/v1 plus the deployment-scoped fallback).
  • Plugin manifest with AZURE_SORA_API_KEY / AZURE_SORA_ENDPOINT (and the generic Azure env aliases).
  • FileContext.video_generation for stored mp4s.
  • URL helpers live in azureSoraUrls.js and are covered by a node test that drives the shipped builders.

Closes #7702

/claim #7702

How to test

node api/app/clients/tools/structured/specs/azureSoraUrls.node-test.js

Enable the tool in the UI and set AZURE_SORA_API_KEY + AZURE_SORA_ENDPOINT (or AZURE_API_KEY / AZURE_OPENAI_ENDPOINT). Ask the agent to generate a 4-second landscape video.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Thanks for the contribution! LibreChat merges all changes into dev first — main only moves at release time — so this pull request's base branch was switched from main to dev automatically.

Nothing is needed from you; your commits, reviews and discussion are unchanged. If the diff now shows files you did not touch, rebase onto dev:

git remote add upstream https://github.com/danny-avila/LibreChat.git
git fetch upstream dev
git rebase upstream/dev
git push --force-with-lease

Maintainers: apply the target: main label and restore the base branch if this one genuinely belongs on main.

Add video_gen_sora_azure structured tool, plugin manifest, and URL helpers covered by a node test that drives the shipped builders.
@walterwagner

Copy link
Copy Markdown
Author

Summary

Adds Azure OpenAI Sora as a structured tool (video_gen_sora_azure) so LibreChat can generate short videos from a text prompt.

  • Job submit → poll → mp4 download against Azure OpenAI video generations (openai/v1 plus the deployment-scoped fallback).
  • Plugin manifest with AZURE_SORA_API_KEY / AZURE_SORA_ENDPOINT (and the generic Azure env aliases).
  • FileContext.video_generation for stored mp4s.
  • URL helpers live in azureSoraUrls.js and are covered by a node test that drives the shipped builders.

Closes #7702

/claim #7702

How to test

node api/app/clients/tools/structured/specs/azureSoraUrls.node-test.js

Enable the tool in the UI and set AZURE_SORA_API_KEY + AZURE_SORA_ENDPOINT (or AZURE_API_KEY / AZURE_OPENAI_ENDPOINT). Ask the agent to generate a 4-second landscape video.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Support for Sora Video Generation (Azure OpenAI Integration)

1 participant