Skip to content

Conversation

@Nikhileswar94
Copy link

The input_reference parameter only supports images and not videos. Using video as an input_reference throws openai.BadRequestError: Error code: 400 - {'error': {'message': 'Video inpaint is not available for your organization.', 'type': 'invalid_request_error', 'param': None, 'code': None}}

While OpenAI documentation clearly mentions Images https://platform.openai.com/docs/guides/video-generation#use-image-references the Azure OpenAI Documentation mentions that images/ videos can be used.

The input_reference parameter only supports images and not videos. Using video as an input_reference throws openai.BadRequestError: Error code: 400 - {'error': {'message': 'Video inpaint is not available for your organization.', 'type': 'invalid_request_error', 'param': None, 'code': None}}

While OpenAI documentation clearly mentions Images https://platform.openai.com/docs/guides/video-generation#use-image-references the Azure OpenAI Documentation mentions that images/ videos can be used.
@prmerger-automator
Copy link
Contributor

@Nikhileswar94 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 4553455:

✅ Validation status: passed

File Status Preview URL Details
articles/ai-foundry/openai/concepts/video-generation.md ✅Succeeded

For more details, please refer to the build report.

@ShannonLeavitt
Copy link
Contributor

ShannonLeavitt commented Nov 12, 2025

@PatrickFarley

Can you review the proposed changes?

Due to the upcoming conference, all merging and publishing is on hold until the morning of 18 November 2025.

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge. In your sign-off comment, let us know if you'd like us to commit any portion of the Copilot review or other small changes.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged C+L Pull Request Review Team label label Nov 12, 2025
Copilot finished reviewing on behalf of ShannonLeavitt November 12, 2025 16:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR corrects the documentation for the input_reference parameter in the video generation feature to accurately reflect that it only supports images, not videos. According to the PR description and OpenAI's official documentation, using videos as input_reference results in a 400 error.

Key Changes

  • Updated the description of input_reference parameter to specify it only accepts images, removing the incorrect mention of videos
Comments suppressed due to low confidence (3)

articles/ai-foundry/openai/concepts/video-generation.md:490

  • The prompt comment still references 'image/video' but should be updated to only mention 'image' since input_reference no longer supports videos according to the corrected documentation.
    prompt="Describe your desired output within the context of the reference image/video",

articles/ai-foundry/openai/concepts/video-generation.md:525

  • The prompt comment still references 'image/video' but should be updated to only mention 'image' since input_reference no longer supports videos according to the corrected documentation.
    prompt="Describe your desired output within the context of the reference image/video",

articles/ai-foundry/openai/concepts/video-generation.md:550

  • The prompt comment still references 'image/video' but should be updated to only mention 'image' since input_reference no longer supports videos according to the corrected documentation.
    prompt="Describe your desired output within the context of the reference image/video",

### Video generation from reference source

The `input_refernce` parameter allows you to transform existing images and videos using Sora 2. The resolution of the source image/video and final video must match. Supported values are `720x1280`, `1280x720`, `1024x1792`, and `1792x1024`.
The `input_refernce` parameter allows you to transform existing images using Sora 2. The resolution of the source image and final video must match. Supported values are `720x1280`, `1280x720`, `1024x1792`, and `1792x1024`.
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'input_refernce' to 'input_reference'.

Suggested change
The `input_refernce` parameter allows you to transform existing images using Sora 2. The resolution of the source image and final video must match. Supported values are `720x1280`, `1280x720`, `1024x1792`, and `1792x1024`.
The `input_reference` parameter allows you to transform existing images using Sora 2. The resolution of the source image and final video must match. Supported values are `720x1280`, `1280x720`, `1024x1792`, and `1792x1024`.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants