用途:对已有图像和视频进行 AI 编辑、增强与特效处理,属于 muapi.ai 技能集的一部分。
主要能力:提供四个脚本。edit-image.sh 支持基于提示词的图像编辑,可用 Flux Kontext、GPT-4o、Midjourney、Qwen 等模型;enhance-image.sh 提供一键操作,包括放大、去背景、换脸、上色、吉卜力风格、产品图;lipsync.sh 将视频唇部动作与音频同步,支持 Sync Labs、LatentSync、Creatify、Veed;video-effects.sh 提供视频/图像特效,包括 Wan AI、换脸、舞蹈、换装、Luma 修改与重新构图。
使用方式:通过 bash 运行脚本并传入参数。示例:bash edit-image.sh --image-url "https://..." --prompt "add sunglasses" --model flux-kontext-pro;bash enhance-image.sh --op upscale --image-url "https://...";bash enhance-image.sh --op background-remove --image-url "https://...";bash lipsync.sh --video-url "https://..." --audio-url "https://..." --model sync;bash video-effects.sh --op dance --image-url "https://..." --audio-url "https://..."。所有脚本支持 --async、--json、--timeout N、--help 通用参数。
依赖与限制:需要设置 MUAPI_KEY 环境变量(可通过 core/platform/setup.sh 配置),并安装 curl、jq、python3。具体模型可用性、计费、平台支持及效果等资料暂未提供。