Skip to content

docs(openrouter-video): sync with openrouter-web changes - #176

Open
devin-ai-integration[bot] wants to merge 5 commits into
mainfrom
devin/1787677603-update-openrouter-video
Open

devin-ai-integration[bot] wants to merge 5 commits into
mainfrom
devin/1787677603-update-openrouter-video

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Three /api/v1/videos changes reflected in skills/openrouter-video/SKILL.md, doc-only edits.

Request body cap (openrouter-web#36951, #36952). Oversized submissions return 413 via the shared request-body cap middleware, checked against Content-Length before the body is read and defaulting to 50 MiB. The skill teaches passing local reference images as base64 data URLs, which is the main way to exceed the cap, so the cap and the 413 outcome are stated next to the data-URL guidance with a recommendation to use https:// URLs for larger images.

previous_job_id (openrouter-web#43251, #43252). New optional request field to edit or extend a completed job by passing its submit-response id. The continuation is pinned to the model and endpoint that produced the original: a different model returns 400, a job that is not completed returns 409, and only models whose adapter supports continuation (currently the Google Interactions video adapters) accept the field. Added as a bullet in the Parameters list.

expires_at on the polling response (openrouter-web#50146). GET /api/v1/videos/{id} now returns optional expires_at (Unix seconds) when OpenRouter holds a stored copy of the outputs: the time that copy stops being available. Added a note under the three steps telling the agent to download before then, and added expires_at to the drop-in script's final summary object. The skill does not hard-code the window, since the public spec only describes it as "present only when that copy exists".

Link to Devin session: https://openrouter.devinenterprise.com/sessions/0884dba99a114db786d6851ce5453fb6
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/0884dba99a114db786d6851ce5453fb6?variant=devin

2026-10-14 update

Synced with openrouter-web#50876: the polling response may include urls, one signed download URL per output that works without an API key until expires_at, present only when OpenRouter holds a stored copy. Added a note after the expires_at paragraph: use urls only where headers can't be set, treat them as secrets (never log/print), and keep using unsigned_urls + auth header (still valid when urls is absent), so the drop-in script is unchanged.

// GET /api/v1/videos/{id}, status: "completed"
unsigned_urls?: string[]  // needs Authorization header
urls?: string[]           // signed, no auth, valid until expires_at
expires_at?: number       // Unix seconds

Link to Devin session: https://openrouter.devinenterprise.com/sessions/0427efe424194a1588a71543ec0f1df6
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/0427efe424194a1588a71543ec0f1df6?variant=devin

2026-10-17 update

Synced with openrouter-web#51711 (Wan 3.0 now maps video_url/audio_url input references to reference_video/reference_audio). The public InputReference schema is a union of image_url, video_url, and audio_url parts, but the skill described input_references[] as image-only. Updated the bullet to show all three entry shapes: images work on every model, and video/audio references only on models that support them (the OpenAPI description names Seedance 2+; Wan 3.0 is added by #51711).

input_references: [
  { type: "image_url", image_url: { url } },
  { type: "video_url", video_url: { url } },   // model-dependent
  { type: "audio_url", audio_url: { url } }    // model-dependent
]

Link to Devin session: https://openrouter.devinenterprise.com/sessions/2758353635f64c74b1febb6f14cd8075
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/2758353635f64c74b1febb6f14cd8075?variant=devin


Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author
Original prompt from Automation

You are the public skills sync pipeline. Your job is to scan PRs merged to main on OpenRouterTeam/openrouter-web in the last 24 hours, determine if any changes warrant updating the public agent skills in OpenRouterTeam/skills, and open PRs to the skills repo when updates are needed.

#``# Step 1: Identify relevant merged PRs

Clone both repos:

cd /home/ubuntu/repos/openrouter-web
git fetch origin main
git log --since='24 hours ago' --merges --first-parent origin/main --pretty=format:'%H|%s' --name-only

For each merged PR, collect the list of changed files. Only PRs that touch the paths in the mapping below are relevant. Skip bot commits (devin-ai-integration[bot], Devin AI, GitHub Actions Bot, openrouter[bot], opencode-agent[bot], OpenRouter SDK Bot, Claude, detail-app[bot], forge-the-devex-intern[bot], dependabot[bot]).

If no relevant PRs were merged, post a short message to the #devrel Slack channel (C08LQFVSC7Q) saying no skill-relevant changes were detected today, and exit.

#``# Step 2: Map changed files to affected skills

Use this mapping to determine which public skills are potentially affected:

openrouter-web paths Affected skill(s) in OpenRouterTeam/skills
sdks/typescript/, packages/llm-interfaces/ openrouter-typescript-sdk, openrouter-agent-migration
services/cfw-*/src/routes/*analytics*, analytics query/response schemas openrouter-analytics, openrouter-analytics-query, openrouter-analytics-schema
Generation routes, /api/v1/generation openrouter-generations
Image generation adapters, packages/image-generation/ openrouter-images
supabase/seeds/, model schemas, /api/v1/models route openrouter-models
OAuth/auth routes, PKCE flow code openrouter-oauth
STT adapters, services/cfw-stt-api/, /api/v1/audio/transcriptions openrouter-stt
TTS routes, /api/v1/audio/speech openrouter-tts
Video adapters, /api/v1/videos openrouter-video
``@`openr... (3383 chars truncated...)
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring
…ding a completed job

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants