from modelscope.pipelines import pipeline from modelscope.outputs import OutputKeys # تحميل الموديل الصحيح video_gen = pipeline( task="text-to-video-synthesis", model="damo/text-to-video-synthesis" ) # توليد الفيديو من النص output = video_gen({'text': 'A panda eating bamboo on a rock'}) print('✅ Video saved to:', output[OutputKeys.OUTPUT_VIDEO])