Repository navigation
docs(openrouter-video): sync with openrouter-web changes - #206
Open
devin-ai-integration[bot] wants to merge 9 commits into
Open
devin-ai-integration[bot] wants to merge 9 commits into
devin-ai-integration[bot] wants to merge 9 commits into
Conversation
Contributor
Author
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…d default aspect ratio Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
… and billing Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…t ignored Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Summary
Syncs
openrouter-videowith recent/api/v1/videosAPI changes.Provider passthrough: the
provider.options.<slug>.parameterswrapper is for Google Veo only. For other models, passthrough keys go flat underprovider.options.<slug>.<key>(slug = provider the request is routed to); Runway video upscale rejects provider options.Routing preferences:
POST /api/v1/videosacceptsprovider.order,provider.only, andprovider.ignore. It does not acceptallow_fallbacks, because video serves the first endpoint with no fallback loop.Auto duration:
durationnow accepts-1(the model picks the length, e.g. following an input video), only on models whosesupported_durationsinclude-1(currently some BytePlus Seedance models). Omittingaspect_ratiouses the model default, which on adaptive models follows the input image or video.Data policy:
provider.data_collection(allow/deny) andprovider.zdrare now honored onPOST /api/v1/videos.denyexcludes endpoints that train on your data (not ones that retain prompts). No video endpoint offers ZDR, sozdr: truefails routing before a job starts.Silent video:
generate_audiodefaults to the endpoint's capability flag when omitted, but some providers (such as xAI) apply their own default and generate audio, so the skill now says to sendfalseexplicitly for a silent video; some models always include audio and ignorefalse.Job progress: poll responses for in-flight jobs can carry
status_detail(submitting/queued_at_providerunderpending,generating/finalizingunderin_progress; forward-only, may skip steps) andprogress(0–100, whilegenerating, only from providers that report it). Both are absent once the job is finished, so completion is still decided bystatus.Changes in SKILL.md:
Parameters bullets:
generate_audiodefault and silent-video note, passthrough scope, routing preferences,duration: -1, defaultaspect_ratio,provider.zdr/provider.data_collection.Rewrote the Provider passthrough intro; relabeled the existing example as Veo-only.
Added a flat Seedance 2.0 example (
seed.watermark), checked against live/api/v1/videos/models(allowed_passthrough_parameters: ["watermark","req_key"]).Polling step documents
status_detail/progress; the drop-in loop prints them next tostatus.README needed no change.
Update (11-22)
previous_job_id: edit or extend a completed video job (same model/endpoint; account-level ownership check, verify end-user ownership yourself).🟢 Devin Review found nothing to fix · View findings
Update (11-25)
4xxcauses (400/402/403/404/409/413/429) are unbilled;5xx/503on submit may still start a paid job, so don't blindly resubmit; hold-then-bill-on-completion;/contentstatuses (404 before completed, 400 badindex, 409 not ready at provider, 410 deleted after retention); keep a fallback poll with webhooks; link to the video API error reference.Update (11-27)
POST /api/v1/videosnow rejects (400) unsupported values instead of dropping them:seedon models without seed support,generate_audio: trueon models without audio (falsealways passes), unsupportedaspect_ratio/size(sizeis checked against the same resolution/aspect-ratio lists), unsupportedframe_types or duplicateframe_types, unsupported reference modalities, and blank prompts.frame_images+input_referencestogether is provider-specific (rejected, frames-only, or both), replacing "frame_imageswins".