用途:对已有图像和视频做 AI 编辑、增强与特效处理,属于 samuraigpt/generative-media-skills 下的 muapi-media-editing 技能。
主要能力:提供四个脚本。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。
限制:资料未说明各模型的具体计费、配额、支持格式、时长或地区限制,暂未提供;实际效果与可用模型以 muapi.ai 平台为准。