Install
openclaw skills install tomoviee-video-background-musicGenerate music tailored to video content. Use when users request video_soundtrack operations or related tasks.
openclaw skills install tomoviee-video-background-musicGenerate music tailored to video content.
API: tm_video_scoring
python scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET
from scripts.tomoviee_video_soundtrack_client import TomovieeClient
client = TomovieeClient("app_key", "app_secret")
task_id = client._make_request({
video='https://example.com/my-video.mp4'
prompt='Modern tech product music, clean'
})
result = client.poll_until_complete(task_id)
import json
output = json.loads(result['result'])
video (required): Video URL (MP4, <200M)prompt: Optional style guidanceduration: Audio duration (5-900, default: 20)task_id from API callpoll_until_complete(task_id)Status codes:
tomoviee_video_soundtrack_client.py - API clientgenerate_auth_token.py - Auth token generatorSee bundled reference documents for detailed API documentation and examples.