Skip to content

docs(openrouter-stt): sync with openrouter-web changes - #182

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

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

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Sync openrouter-stt/SKILL.md with the public STT guide changes merged in openrouter-web#40070 (guide), openrouter-web#39845 (MAI-Transcribe-2 diarization + word timestamps via verbose_json), and openrouter-web#44195 (optional confidence scores).

  • Parameters table: add response_format (json | verbose_json) and timestamp_granularities (["segment"]/["word"]); note that routing preferences (order, only, ignore) are not applied to transcription requests.
  • New "Verbose transcripts" section: response fields (language, duration, segments, words, task), the Azure diarization example for microsoft/mai-transcribe-2 with speaker labels, and the models/providers that reject verbose_json with a 400.
  • confidence (0 to 1) is optional on each words[] entry and at the top level of a verbose_json response, present only when the provider scores its output (currently AssemblyAI).
  • Provider options: how to find the provider slug (tag field from the model endpoints API), that normalized params stay top-level, and that providers differ in allowlist-and-drop vs forward-as-is handling of unsupported options.

2026-09-30 update

Synced with the ElevenLabs Scribe v2 stack: openrouter-web#47731, #47732, #47727, #47729, #47730.

  • Audio by URL: input_audio is now { data, format } | { url, format? } (multipart: source_url in place of file). format defaults to the URL extension. Gated per adapter (ElevenLabs today); unsupported models 400.
  • Canonical top-level diarize: boolean (requires verbose_json, forces word timestamps) and keyterms: string[] (≤1000, 1–100 chars). Both 400 when the model lacks the capability. No adapter enables keyterms yet, so the skill only lists it in the parameters table.
  • New optional verbose fields: language_confidence, entities[] (char offsets), speaker_label, channel, and words[].type: "word" | "audio_event".
  • Replaced the stale "not OpenAI-compatible" intro. Multipart was already accepted, capped at 25 MB.

Content mirrors projects/docs/openapi/openapi.yaml and packages/stt/adapters/capabilities.ts. This is a static review only; no live API calls were made. elevenlabs/scribe-v2 was not in the public /models catalog at sync time, so the URL example uses a placeholder slug.

Supersedes the older, now-inaccurate #75, which states verbose_json is OpenAI-compatible-only.

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

2026-10-03 update

Synced with openrouter-web#48870: transcription routing now honors the data-policy provider preferences. provider accepts zdr (boolean, routes only to Zero Data Retention endpoints) and data_collection (allow | deny) alongside options; order/only/ignore are still not applied. Updated the provider row in the parameters table.

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

2026-10-15 update

Synced with openrouter-web#40255: endpoint records from GET /api/v1/models/<author>/<slug>/endpoints now carry supports_diarization (boolean, false when the endpoint has not declared support). The diarization paragraph now points there instead of only "unsupported models return a 400".

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


Devin Review

…and diarization

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
…rds and transcript

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ms, and new verbose fields

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

…ts_diarization

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants