[Partner Nodes] feat(xAI): update nodes for grok-imagine-video-1.5 model (#15197)

* [Partner Nodes] feat(xAI): update nodes for grok-imagine-video-1.5 model

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
This commit is contained in:
Alexander Piskun
2026-08-01 20:30:00 +03:00
committed by GitHub
parent 2881e61610
commit d8e6aa55f3
2 changed files with 152 additions and 11 deletions

View File

@@ -15,6 +15,10 @@ class InputUrlObject(BaseModel):
url: str = Field(...)
class VoiceReferenceObject(BaseModel):
voice_id: str = Field(...)
class ImageEditRequest(BaseModel):
model: str = Field(...)
images: list[InputUrlObject] = Field(...)
@@ -31,6 +35,7 @@ class VideoGenerationRequest(BaseModel):
prompt: str = Field(...)
image: InputUrlObject | None = Field(None)
reference_images: list[InputUrlObject] | None = Field(None)
reference_audios: list[VoiceReferenceObject] | None = Field(None)
duration: int = Field(...)
aspect_ratio: str | None = Field(...)
resolution: str = Field(...)