Commit 9d35e97
authored
[inference provider] Wavespeed.ai Adds Image-to-Video Generation (#1818)
**What’s in this PR**
Wavespeed.ai Adds Image-to-Video Generation
**Test**
```
pnpm --filter @huggingface/inference test "test/InferenceClient.spec.ts"
-t "Wavespeed AI"
> @huggingface/[email protected] test
/Users/shanliu/work/huggingface.js/packages/inference
> vitest run --config vitest.config.mts test/InferenceClient.spec.ts -t
'Wavespeed AI'
RUN v0.34.6 /Users/shanliu/work/huggingface.js/packages/inference
✓ test/InferenceClient.spec.ts (126) 113515ms
✓ InferenceClient (126) 113514ms
↓ backward compatibility (1) [skipped]
↓ works with old HfInference name [skipped]
↓ HF Inference (50) [skipped]
*** ***
✓ Wavespeed AI (6) 113514ms
✓ textToImage - black-forest-labs/FLUX.1-schnell 6774ms
✓ textToImage - openfree/flux-chatgpt-ghibli-lora 11526ms
✓ textToImage - linoyts/yarn_art_Flux_LoRA 9074ms
✓ textToVideo - Wan-AI/Wan2.1-T2V-14B 113484ms
✓ imageToImage - HiDream-ai/HiDream-E1-Full 13074ms
✓ imageToVideo - Wan-AI/Wan2.1-I2V-14B-480P 54512ms
↓ PublicAI (2) [skipped]
↓ chatCompletion [skipped]
↓ chatCompletion stream [skipped]
↓ Baseten (2) [skipped]
↓ chatCompletion - Qwen3 235B Instruct [skipped]
↓ chatCompletion stream - Qwen3 235B [skipped]
↓ clarifai (2) [skipped]
↓ chatCompletion - DeepSeek-V3_1 [skipped]
↓ chatCompletion stream - DeepSeek-V3_1 [skipped]
Test Files 1 passed (1)
Tests 6 passed | 120 skipped (126)
```1 parent 071a0ba commit 9d35e97
File tree
3 files changed
+48
-2
lines changed- packages/inference
- src
- lib
- providers
- test
3 files changed
+48
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
189 | 197 | | |
190 | 198 | | |
191 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2336 | 2336 | | |
2337 | 2337 | | |
2338 | 2338 | | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
2339 | 2346 | | |
2340 | 2347 | | |
2341 | 2348 | | |
| |||
2400 | 2407 | | |
2401 | 2408 | | |
2402 | 2409 | | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
2403 | 2424 | | |
2404 | 2425 | | |
2405 | 2426 | | |
| |||
0 commit comments