@@ -2296,30 +2296,30 @@ describe.skip("InferenceClient", () => {
22962296 ( ) => {
22972297 const client = new InferenceClient ( env . HF_WAVESPEED_KEY ?? "dummy" ) ;
22982298
2299- HARDCODED_MODEL_INFERENCE_MAPPING [ "wavespeed-ai " ] = {
2299+ HARDCODED_MODEL_INFERENCE_MAPPING [ "wavespeed" ] = {
23002300 "black-forest-labs/FLUX.1-schnell" : {
2301- provider : "wavespeed-ai " ,
2301+ provider : "wavespeed" ,
23022302 hfModelId : "black-forest-labs/FLUX.1-schnell" ,
23032303 providerId : "wavespeed-ai/flux-schnell" ,
23042304 status : "live" ,
23052305 task : "text-to-image" ,
23062306 } ,
23072307 "Wan-AI/Wan2.1-T2V-14B" : {
2308- provider : "wavespeed-ai " ,
2308+ provider : "wavespeed" ,
23092309 hfModelId : "wavespeed-ai/wan-2.1/t2v-480p" ,
23102310 providerId : "wavespeed-ai/wan-2.1/t2v-480p" ,
23112311 status : "live" ,
23122312 task : "text-to-video" ,
23132313 } ,
23142314 "HiDream-ai/HiDream-E1-Full" : {
2315- provider : "wavespeed-ai " ,
2315+ provider : "wavespeed" ,
23162316 hfModelId : "wavespeed-ai/hidream-e1-full" ,
23172317 providerId : "wavespeed-ai/hidream-e1-full" ,
23182318 status : "live" ,
23192319 task : "image-to-image" ,
23202320 } ,
23212321 "openfree/flux-chatgpt-ghibli-lora" : {
2322- provider : "wavespeed-ai " ,
2322+ provider : "wavespeed" ,
23232323 hfModelId : "openfree/flux-chatgpt-ghibli-lora" ,
23242324 providerId : "wavespeed-ai/flux-dev-lora" ,
23252325 status : "live" ,
@@ -2328,7 +2328,7 @@ describe.skip("InferenceClient", () => {
23282328 adapterWeightsPath : "flux-chatgpt-ghibli-lora.safetensors" ,
23292329 } ,
23302330 "linoyts/yarn_art_Flux_LoRA" : {
2331- provider : "wavespeed-ai " ,
2331+ provider : "wavespeed" ,
23322332 hfModelId : "linoyts/yarn_art_Flux_LoRA" ,
23332333 providerId : "wavespeed-ai/flux-dev-lora-ultra-fast" ,
23342334 status : "live" ,
@@ -2340,7 +2340,7 @@ describe.skip("InferenceClient", () => {
23402340 it ( `textToImage - black-forest-labs/FLUX.1-schnell` , async ( ) => {
23412341 const res = await client . textToImage ( {
23422342 model : "black-forest-labs/FLUX.1-schnell" ,
2343- provider : "wavespeed-ai " ,
2343+ provider : "wavespeed" ,
23442344 inputs :
23452345 "Cute boy with a hat, exploring nature, holding a telescope, backpack, surrounded by flowers, cartoon style, vibrant colors." ,
23462346 } ) ;
@@ -2350,7 +2350,7 @@ describe.skip("InferenceClient", () => {
23502350 it ( `textToImage - openfree/flux-chatgpt-ghibli-lora` , async ( ) => {
23512351 const res = await client . textToImage ( {
23522352 model : "openfree/flux-chatgpt-ghibli-lora" ,
2353- provider : "wavespeed-ai " ,
2353+ provider : "wavespeed" ,
23542354 inputs :
23552355 "Cute boy with a hat, exploring nature, holding a telescope, backpack, surrounded by flowers, cartoon style, vibrant colors." ,
23562356 } ) ;
@@ -2360,7 +2360,7 @@ describe.skip("InferenceClient", () => {
23602360 it ( `textToImage - linoyts/yarn_art_Flux_LoRA` , async ( ) => {
23612361 const res = await client . textToImage ( {
23622362 model : "linoyts/yarn_art_Flux_LoRA" ,
2363- provider : "wavespeed-ai " ,
2363+ provider : "wavespeed" ,
23642364 inputs :
23652365 "Cute boy with a hat, exploring nature, holding a telescope, backpack, surrounded by flowers, cartoon style, vibrant colors." ,
23662366 } ) ;
@@ -2370,7 +2370,7 @@ describe.skip("InferenceClient", () => {
23702370 it ( `textToVideo - Wan-AI/Wan2.1-T2V-14B` , async ( ) => {
23712371 const res = await client . textToVideo ( {
23722372 model : "Wan-AI/Wan2.1-T2V-14B" ,
2373- provider : "wavespeed-ai " ,
2373+ provider : "wavespeed" ,
23742374 inputs :
23752375 "A cool street dancer, wearing a baggy hoodie and hip-hop pants, dancing in front of a graffiti wall, night neon background, quick camera cuts, urban trends." ,
23762376 parameters : {
@@ -2389,7 +2389,7 @@ describe.skip("InferenceClient", () => {
23892389 it ( `imageToImage - HiDream-ai/HiDream-E1-Full` , async ( ) => {
23902390 const res = await client . imageToImage ( {
23912391 model : "HiDream-ai/HiDream-E1-Full" ,
2392- provider : "wavespeed-ai " ,
2392+ provider : "wavespeed" ,
23932393 inputs : new Blob ( [ readTestFile ( "cheetah.png" ) ] , { type : "image/png" } ) ,
23942394 parameters : {
23952395 prompt : "The leopard chases its prey" ,
0 commit comments