Xpersona
T

Tomoviee Video Background Music

CLAWHUB · Unverified

Generate music tailored to video content. Use when users request video_soundtrack operations or related tasks. Skill: Tomoviee Video Background Music Owner: wondershare-boop Summary: Generate music tailored to video content. Use when users request video_soundtrack operations or related tasks. Tags: latest:1.0.3 Version history: v1.0.3 | 2026-03-27T15:16:55.426Z | auto - Simplified setup and usage instructions for video soundtrack generation. - Removed dependencies on requirements.txt for installation guidance. - Updated to us

62
Rank
84
Safety
991
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 991 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1707d6v06e1pv7bbn814sjdq583gtne:tomoviee-video-background-music
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wondershare-boop-tomoviee-video-background-music/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

135,005 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tomoviee-video-scoring
description: Generate music tailored to video content. Use when users request video_soundtrack operations or related tasks.
---

# Tomoviee AI - 视频配乐 (Video Soundtrack)

## Overview

Generate music tailored to video content.

**API**: `tm_video_scoring`

## Quick Start

### Authentication

```bash
python scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET
```

### Python Client

```python
from scripts.tomoviee_video_soundtrack_client import TomovieeClient

client = TomovieeClient("app_key", "app_secret")
```

## API Usage

### Basic Example

```python
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'])
```

### Parameters

- `video` (required): Video URL (MP4, <200M)
- `prompt`: Optional style guidance
- `duration`: Audio duration (5-900, default: 20)

## Async Workflow

1. **Create task**: Get `task_id` from API call
2. **Poll for completion**: Use `poll_until_complete(task_id)`
3. **Extract result**: Parse returned JSON for output URLs

**Status codes**:
- 1 = Queued
- 2 = Processing
- 3 = Success (ready)
- 4 = Failed
- 5 = Cancelled
- 6 = Timeout

## Resources

### scripts/
- `tomoviee_video_soundtrack_client.py` - API client
- `generate_auth_token.py` - Auth token generator

### references/
See bundled reference documents for detailed API documentation and examples.

## External Resources

- **Developer Portal**: https://www.tomoviee.ai/developers.html
- **API Documentation**: https://www.tomoviee.ai/doc/
- **Get API Credentials**: Register at developer portal

_meta.json

{
  "ownerId": "kn7bn8fv79mjtchs17087tdtsx82fc86",
  "slug": "tomoviee-video-background-music",
  "version": "1.0.3",
  "publishedAt": 1774624615426
}

references/audio_apis.md

# Tomoviee Audio Generation APIs

## Overview
Tomoviee provides four audio generation APIs covering music creation, sound effects, text-to-speech, and video soundtracks.

## API Endpoints

### 1. Text-to-Music (tm_text2music)
**Generate background music from text description**

**Endpoint**: `https://openapi.wondershare.cc/v1/open/capacity/application/tm_text2music`

**Parameters**:
- `prompt` (required): Music description (subject + scene/atmosphere/style)
- `duration`: Audio duration in seconds - 5 to 900 (default: 20)
- `callback`: Optional callback URL for async notification
- `params`: Optional transparent parameters passed back in callback

**Use Cases**:
- Generate background music for videos
- Create royalty-free music for content
- Produce atmospheric soundtracks
- Generate music beds for podcasts/presentations

**Prompt Structure**:
```
[Subject/Theme] + [Scene/Atmosphere] + [Style/Genre]
```

**Examples**:
```python
# Upbeat commercial music
task_id = client.text_to_music(
    prompt="Upbeat corporate technology music, modern and energetic, electronic pop style with piano",
    duration=60
)

# Cinematic background
task_id = client.text_to_music(
    prompt="Epic cinematic orchestral music, dramatic and inspiring, Hollywood film score style",
    duration=120
)

# Calm ambient
task_id = client.text_to_music(
    prompt="Peaceful meditation music, calm and relaxing, ambient with soft synth pads",
    duration=300
)

# Specific genre
task_id = client.text_to_music(
    prompt="Jazz music for cafe scene, smooth and sophisticated, with piano and double bass",
    duration=90
)
```

**Duration Guidelines**:
- Short (5-30s): Intro/outro, transitions, jingles
- Medium (30-120s): Social media videos, ads, short presentations
- Long (120-900s): Full videos, podcasts, extended scenes

**Prompt Tips**:
- Specify genre (electronic, orchestral, jazz, rock, ambient, etc.)
- Include mood/atmosphere (upbeat, dramatic, calm, mysterious, etc.)
- Mention key instruments if important
- Add tempo hints (fast, slow, moderate)
- Reference use case for context

---

### 2. Text-to-Sound-Effect (tm_text2sfx)
**Generate sound effects from text description**

**Endpoint**: `https://openapi.wondershare.cc/v1/open/capacity/application/tm_text2sfx`

**Parameters**:
- `prompt` (required): Sound effect description
- `duration`: Audio duration in seconds - 5 to 180 (default: 10)
- `callback`: Optional callback URL for async notification
- `params`: Optional transparent parameters passed back in callback

**Use Cases**:
- Create custom sound effects for videos
- Generate foley sounds
- Produce game audio assets
- Create notification/UI sounds
- Add environmental ambience

**Examples**:
```python
# Nature sounds
task_id = client.text_to_sound_effect(
    prompt="Heavy rain falling on roof with distant thunder",
    duration=30
)

# Action sounds
task_id = client.text_to_sound_effect(
    prompt="Car engine starting and revving",
    duration=8
)

# UI/notification sound

references/prompt_guide.md

# Tomoviee Prompt Engineering Guide

## Overview
This guide provides structured prompt formulas and best practices for all Tomoviee AI APIs to achieve optimal generation results.

---

## Video APIs

### Text-to-Video Prompt Formula
```
主体(描述) + 运动 + 场景(描述) + (镜头语言 + 光影 + 氛围)
Subject (description) + Motion + Scene (description) + (Camera + Lighting + Atmosphere)
```

**Component Breakdown**:

1. **Subject (主体)**: Main focus of the video
   - Who/what is in the scene
   - Key characteristics, appearance
   - Position and pose

2. **Motion (运动)**: Action and movement
   - What the subject is doing
   - Speed and direction of movement
   - Dynamic elements

3. **Scene (场景)**: Environment and context
   - Location and setting
   - Background elements
   - Time of day/season

4. **Camera (镜头语言)**: Optional camera work
   - Camera angle (wide, close-up, aerial, etc.)
   - Camera movement (pan, zoom, tracking, etc.)
   - Or specify `camera_move_index` parameter

5. **Lighting (光影)**: Optional lighting style
   - Natural/artificial light
   - Time of day (golden hour, blue hour, etc.)
   - Light direction and quality

6. **Atmosphere (氛围)**: Optional mood and tone
   - Overall feeling (dramatic, peaceful, energetic)
   - Color palette/grading
   - Weather/environmental effects

**Examples**:

**Minimal** (Subject + Motion + Scene):
```
"A red sports car driving fast on a coastal highway at sunset"
```

**Standard** (+ Camera + Lighting):
```
"A red sports car speeding along a winding coastal highway at golden hour, 
camera following from the side, warm orange sunlight reflecting off the car"
```

**Detailed** (+ Atmosphere):
```
"A sleek red Ferrari speeding along a dramatic coastal highway carved into cliffs, 
camera tracking smoothly from the side at car level, 
golden hour sunset casting long shadows and warm orange glow, 
cinematic and epic atmosphere with ocean waves crashing below"
```

**More Examples by Use Case**:

**Product Showcase**:
```
"White wireless headphones slowly rotating on a minimalist white surface, 
studio lighting with soft shadows, clean and modern atmosphere"
```

**Nature/Travel**:
```
"Majestic waterfall cascading down mossy rocks in a lush rainforest, 
slow zoom in from wide to medium shot, 
dappled sunlight filtering through the canopy, 
serene and peaceful atmosphere"
```

**Action/Sports**:
```
"Professional skateboarder performing a kickflip on urban street ramp, 
slow motion capture from low angle, 
bright daylight with high contrast shadows, 
energetic and dynamic atmosphere"
```

### Image-to-Video Prompt Formula
```
主体 + 运动 + 镜头语言
Subject + Motion + Camera
```

**Why simpler?** The image already provides:
- Scene and environment
- Lighting and color palette
- Composition and framing
- Atmosphere and mood

**Your prompt should focus on**:
- Motion to add to the static image
- Camera movement to apply
- Any new dynamic elements

**Examples**:

```
"Camera slowly zooming in, subject's hair gently blowing in the wind"
``

skill-card.md

## Description:

Generate music tailored to video content. Use when users request video_soundtrack operations or related tasks.

This skill is ready for commercial/non-commercial use.

## Publisher:

[wondershare-boop](https://clawhub.ai/user/wondershare-boop)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and content automation users use this skill to generate background music matched to video content through Tomoviee video soundtrack operations.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Tomoviee API credentials may be exposed by the token generator command or generated Authorization headers.

Mitigation: Use least-privilege Tomoviee credentials, avoid printing or sharing generated tokens, and rotate credentials after testing.

Risk: Private or regulated videos may be submitted to Tomoviee/Wondershare services.

Mitigation: Submit only content approved for external processing and review Tomoviee/Wondershare data handling before use.

Risk: Bundled reference docs cover broader Tomoviee APIs beyond video background music.

Mitigation: Limit use to video soundtrack and tm_video_scoring workflows unless reviewers approve the additional APIs.

Risk: Some examples refer to a soundtrack client file while the artifact includes a video scoring client script.

Mitigation: Verify script names and imports in the installed artifact before running sample code.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/wondershare-boop/skills/tomoviee-video-background-music)
- [Tomoviee Developer Portal](https://www.tomoviee.ai/developers.html)
- [Tomoviee API Documentation](https://www.tomoviee.ai/doc/)
- [Tomoviee Audio Generation APIs](references/audio_apis.md)
- [Tomoviee Prompt Engineering Guide](references/prompt_guide.md)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with Python and bash code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include Tomoviee API request payloads, authentication setup guidance, and async polling guidance.]

## Skill Version(s):

1.0.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Tomoviee Video Background Music and adjacent AI workflows.