[Platform][OpenRouter] Introduce video generation - #1975
Open
lochmueller wants to merge 8 commits into
Open
lochmueller wants to merge 8 commits into
lochmueller wants to merge 8 commits into
Conversation
lochmueller
force-pushed
the
feature/openrouter-video-generation
branch
from
April 21, 2026 06:20
b97eb0c to
d4b78f3
Compare
OskarStark
reviewed
Apr 21, 2026
chr-hertel
reviewed
May 10, 2026
lochmueller
force-pushed
the
feature/openrouter-video-generation
branch
2 times, most recently
from
May 14, 2026 20:20
75dc6aa to
f6bab3f
Compare
chr-hertel
reviewed
May 14, 2026
| if (($message['content'][0]['type'] ?? '') === 'image_url') { | ||
| return [ | ||
| 'frame_images' => [ | ||
| array_merge($message['content'][0], ['frame_type' => 'first_frame']), |
Member
There was a problem hiding this comment.
quite an assumption that it is first_frame and not last_frame ... 🤔
Member
|
What keeps me a bit busy thinking here is the input data - what makes sense? for text-to-speech i just merged a plain string - that's what we also usually use if there's only string as input - no need for wrapping it into what do you think about making them options? $result = $platform->invoke('google/veo-3.1-lite', 'Animate the blue elephant, [
'duration' => 4,
'resolution' => '720p',
'aspect_ratio' => '16:9',
'generate_audio' => false,
'first_frame' => new ImageUrl(...),
'last_frame' => Image::fromFile(...),
'input_reference => new ImageUrl(...),
'provider' => [
'options' => [
'google-vertex' => [
'parameters' [
'personGeneration' => 'allow',
'negativePrompt' => 'blurry, low quality',
],
],
],
],
],
]); |
Member
|
With PR #2408 merged you could rebase and adopt async jobs here :) |
lochmueller
force-pushed
the
feature/openrouter-video-generation
branch
2 times, most recently
from
September 22, 2026 17:52
f6bab3f to
ecf2ca2
Compare
Member
|
Sorry, this comment still needs to be addressed: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the new video generation API of OpenRouter incl. example.
Docs: https://openrouter.ai/docs/guides/overview/multimodal/video-generation