Skip to content

fix: add 1080p video sizes#1914

Open
redactdeveloper wants to merge 1 commit into
openai:mainfrom
redactdeveloper:fix/video-size-1080p
Open

fix: add 1080p video sizes#1914
redactdeveloper wants to merge 1 commit into
openai:mainfrom
redactdeveloper:fix/video-size-1080p

Conversation

@redactdeveloper

Copy link
Copy Markdown

Summary

  • Add the 1080p Sora video sizes to the VideoSize union.
  • Update the size parameter docs to list 1920x1080 and 1080x1920.
  • Add type-level coverage so both 1080p sizes remain assignable to VideoSize.

Fixes #1789

Test plan

  • npx prettier --check src/resources/videos.ts tests/api-resources/videos.test.ts
  • npx tsc -p /tmp/openai-node-video-only-tsconfig.json --noEmit

Note: full repo typecheck is blocked locally by pre-existing missing optional example deps (@azure/identity, express, next).

@redactdeveloper redactdeveloper requested a review from a team as a code owner June 3, 2026 01:00
@Mamalimashayekh

Copy link
Copy Markdown

7fa93eb

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.

1920x1080 size is not supported yet in the sdk

3 participants