docs: add WaveSpeed AI provider page - #962
Open
chengzeyi wants to merge 2 commits into
Open
Conversation
Covers image generation, video generation and the OpenAI-compatible chat endpoint, with SDK and proxy examples for each, plus the supported parameter tables and how the asynchronous prediction API maps onto each surface. Adds WAVESPEED_API_KEY and WAVESPEED_API_BASE to the environment variables reference, which unblocks tests/documentation_tests/test_env_keys.py in the main repo, and registers the page in sidebars.js.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
6 tasks
Chat and media sit on different hosts, and the provider now ignores the chat base on the media path rather than building an unreachable prediction URL, so sharing the variable between the two surfaces is safe.
Author
|
Cross-linking: BerriAI/litellm#37627 is blocked on this PR. Its |
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.
Adds a provider page for WaveSpeed AI covering image generation, video generation and the OpenAI-compatible chat endpoint, with SDK and proxy examples for each surface plus the supported parameter tables. It also explains how the asynchronous prediction API maps onto each one: LiteLLM polls internally for images, while video generation returns a task id and you drive
video_statusandvideo_contentyourself.WAVESPEED_API_KEYandWAVESPEED_API_BASEare added to the environment variables reference indocs/proxy/config_settings.md, and the page is registered insidebars.jsafter the WatsonX category.This is the docs half of BerriAI/litellm#37627, which adds the provider itself. That PR is currently red on
code-qualityanddocumentation, both becausetests/documentation_tests/test_env_keys.pyreportsWAVESPEED_API_BASEandWAVESPEED_API_KEYas read under./litellmbut documented nowhere; merging this fixes both. It also makes thehttps://docs.litellm.ai/docs/providers/wavespeedlink that the code PR registers inprovider_endpoints_support.jsonresolve instead of 404.Verified by checking out this branch into
docs/my-websiteof the code PR's branch and running the four documentation tests the CI jobs run, all of which pass:npm run buildalso succeeds and emitsbuild/docs/providers/wavespeed/index.html. The build reports broken links, but every one of them is pre-existing on other pages; none are on or point to the new page.