This pull request introduces support for 3D object generation and other forms of media in window.ai, primarily by adding a new beta function called window.ai.BETA_generate3DModel.
Implementation Details
New media port, media request type, and media response type have been created to handle various media-based requests.
A MediaOutput type has been defined, which is an object containing a uri property. The existing Outputs type has been expanded to include a MediaOutputs[] array.
A generic MediaOptions type has been introduced, which is extended by the ThreeDOptions type for 3D object generation.
A MediaModel type has been created, with a new OpenRouter 3D generation model defined for handling 3D model generation requests.
Documentation for the new window.ai.BETA_generate3DModel function has been added to the readme.
Purpose
This pull request introduces support for 3D object generation and other forms of media in window.ai, primarily by adding a new beta function called
window.ai.BETA_generate3DModel
.Implementation Details
MediaOutput
type has been defined, which is an object containing auri
property. The existingOutputs
type has been expanded to include aMediaOutputs[]
array.MediaOptions
type has been introduced, which is extended by theThreeDOptions
type for 3D object generation.MediaModel
type has been created, with a new OpenRouter 3D generation model defined for handling 3D model generation requests.window.ai.BETA_generate3DModel
function has been added to the readme.