| 383 | } |
| 384 | |
| 385 | bool WanDiffusion::run(const std::string prompt, const std::string imagePath, int iterNum, int randomSeed, |
| 386 | std::function<void(int)> progressCallback) { |
| 387 | (void)prompt; |
| 388 | (void)imagePath; |
| 389 | (void)iterNum; |
| 390 | (void)randomSeed; |
| 391 | (void)progressCallback; |
| 392 | MNN_ERROR("Wan2.1-T2V is a video model. Please use WanDiffusion::runVideo().\n"); |
| 393 | return false; |
| 394 | } |
| 395 | |
| 396 | bool WanDiffusion::run(const VARP input_embeds, const std::string& mode, const std::string& inputImagePath, |
| 397 | const std::string& outputImagePath, int width, int height, int iterNum, int randomSeed, |
no outgoing calls
no test coverage detected