Repository navigation
docs(comfy-router): realtime voice (Grok Voice) session page - #2164
Draft
mattmillerai wants to merge 4 commits into
Draft
mattmillerai wants to merge 4 commits into
mattmillerai wants to merge 4 commits into
Conversation
Hand-written page for the Router realtime WebSocket route (wss://api.comfy.org/v2/realtime/fal/xai/grok-voice/realtime): auth, a Python and Node connect example, the client-event policy, per-second pricing, session limits, pre-upgrade refusals and close codes. Adds it to the Router API nav group and links it from the API overview's Next list. Translations follow in the regular i18n sync.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
Contributor
🌐 i18n translation sync checkEnglish docs changed in this PR. 12 files in 4 languages may not be synced yet. The automated translation workflow handles these updates. Expand a language to see the files. Japanese (
|
This branch was successfully deployed
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.
Hold: do not merge yet
This page documents the Comfy Router realtime voice route, which is not public yet. Hold until https://github.com/Comfy-Org/cloud/pull/16874 is merged and live in prod. Then rebase on
main, re-run checks, mark ready, and merge in the same window as the launch config release, not before. The PR stays a draft until then.Closes https://linear.app/comfyorg/issue/BE-20792
What this adds
development/comfy-router/realtime.mdx(new, hand-written, not sync-owned): endpoint, API-key auth (header only; browsers need a server-side relay), Pythonwebsocketsand Nodewsconnect examples, a pointer to xAI's and fal's event docs (events are relayed, not restated), the client-event policy (allowed event types, session models, no server-side tools, no image/video, 1 MiB per message,1008on refusal), pricing ($0.00083/s, 15-second billing ticks, final partial tick by the second), limits (one open session per account, 30-minute cap bounded by balance, per-tick balance recheck, shared per-caller request rate), the pre-upgrade refusal table (codevaluesrouter.realtime.*) and the close codes (1008,1012,1006with no close frame).docs.json: adds the page at the end of the Router API group, after Billing.development/comfy-router/api.mdx: one link in Next. A link instead of a Card keeps ja/zh/ko/esapi.mdxin structure parity.Translations follow in the regular i18n sync, as with errors and billing.
Sources
All facts are from
Comfy-Org/cloudmain(services/comfy-api/server/middleware/router_realtime.go,router_realtime_policy.go,router_rate_limit.go,authentication/comfy_firebase_auth.go) and the prod rate row forxai/grok-voice/realtime(0.083 cents/s).Checks run locally
--base=origin/main --head=HEAD): OK