[GEN-5364] gen_transcribe — transcribe audio/video via the new /v1/transcriptions endpoint - #30
Merged
Merged
Conversation
Wraps POST /v1/transcriptions (gen-backend-v2 e9aae140, live in prod):
exactly one of audio_url / video_url / content_resource_id, optional trim
window (both bounds required, audio/video sources only), returns
{generation_id, status} to poll with gen_get_generation. Local validation
mirrors the backend's oneOf so a caller never reserves credits for a 422.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.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.
Plane: https://plane.gen.pro/gen/browse/GEN-5364/
Adds the
gen_transcribetool to the hosted MCP (this repo is what mcp.gen.pro deploys from — the gen-agentic package addition in poweredbyGEN/gen-agentic#1038 covers the composer/contracts side but never reaches the hosted server).POST /v1/transcriptions(gen-backend-v2 #2168, deployed + E2E-verified in prod)audio_url|video_url|content_resource_id; optional trim window (both bounds, audio/video only) — invalid combinations rejected locally before any credits are reserved{generation_id, status}; pollgen_get_generation→{full_text, sentences[{text,startMs,endMs}], audio_duration}mcp.list_tools()After merge: deploy with
scripts/deploy_hosted.sh build --sha <main sha>+activate, then verify tools/list on mcp.gen.pro.🤖 Generated with Claude Code