Xpersona
T

Tomoviee Text to Sound Effects

CLAWHUB · Unverified

Generate sound effects from text prompts using Tomoviee Text-to-Sound-Effect API (`tm_text2sfx`) through Wondershare OpenAPI gateway (`https://openapi.wonder...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K 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-text-to-sound-effects
  1. Install using `clawhub skill install s1707d6v06e1pv7bbn814sjdq583gtne:tomoviee-text-to-sound-effects` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/wondershare-boop/tomoviee-text-to-sound-effects before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wondershare-boop-tomoviee-text-to-sound-effects/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

141,986 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tomoviee-text2sfx
description: Generate sound effects from text prompts using Tomoviee Text-to-Sound-Effect API (`tm_text2sfx`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Use when users request text_to_sound_effect operations or related tasks.
---

# Tomoviee AI Text-to-Sound-Effect

## Overview

Generate sound effects from text prompts.

- API capability: `tm_text2sfx`
- Task creation endpoint: `https://openapi.wondershare.cc/v1/open/capacity/application/tm_text2sfx`
- Result endpoint: `https://openapi.wondershare.cc/v1/open/pub/task`

## Provider and Endpoint Provenance

Use this mapping to verify provider identity and runtime endpoints:

- Vendor portals: `https://www.tomoviee.ai` and `https://www.tomoviee.cn`
- API gateway host used by this skill: `https://openapi.wondershare.cc`
- This skill sends runtime API calls only to `openapi.wondershare.cc`

## Credential Handling

- `app_key` and `app_secret` are only used to construct `Authorization: Basic <base64(app_key:app_secret)>`.
- Credentials are kept in process memory only and are not written to disk by this skill.
- Do not commit credentials into `SKILL.md`, scripts, or repository files.

## Quick Start

### Install dependencies

```bash
pip install requests
```

### Authentication

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

### Python Client

```python
from scripts.tomoviee_text2sfx_client import TomovieeText2SfxClient

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

## API Usage

### Basic Example

```python
task_id = client.text_to_sound_effect(
    prompt="Heavy rain falling on roof with distant thunder",
    duration=30,
    qty=1,
)

result = client.poll_until_complete(task_id)
import json
audio_url = json.loads(result["result"])["audio_path"][0]
print(audio_url)
```

### Parameters

- `prompt` (required): Sound effect description
- `duration` (required): Duration in seconds, range `5-180`
- `qty` (optional): Number of generated results, range `1-4`
- `callback` (optional): Callback URL
- `params` (optional): Transparent callback parameter

## Async Workflow

1. Create task and get `task_id`
2. Poll with `poll_until_complete(task_id)`
3. Parse output URL from `result`

Status codes:
- `1` queued
- `2` processing
- `3` success
- `4` failed
- `5` cancelled
- `6` timeout

## Resources

- `scripts/tomoviee_text2sfx_client.py` - main API client
- `scripts/tomoviee_text_to_sound_effect_client.py` - compatibility import shim
- `scripts/generate_auth_token.py` - auth token helper
- `references/audio_apis.md` - focused API reference for `tm_text2sfx`
- `references/prompt_guide.md` - focused prompt writing guide for sound effects

## External Resources

- Developer portal (global): `https://www.tomoviee.ai/developers.html`
- API docs (global): `https://www.tomoviee.ai/doc/`
- Developer portal (mainland): `https://www.tomoviee.cn/developers.html`
- API docs (mainland): `https://www.tomoviee.cn/doc/`
- API 

_meta.json

{
  "ownerId": "kn7bn8fv79mjtchs17087tdtsx82fc86",
  "slug": "tomoviee-text-to-sound-effects",
  "version": "1.0.4",
  "publishedAt": 1774625356028
}

references/audio_apis.md

# Tomoviee Text-to-Sound-Effect API Reference

## Scope

This reference is intentionally scoped to one capability:

- `tm_text2sfx` (text_to_sound_effect)

## Endpoints

- Task creation: `https://openapi.wondershare.cc/v1/open/capacity/application/tm_text2sfx`
- Task result: `https://openapi.wondershare.cc/v1/open/pub/task`

## Authentication

Send both headers on each request:

- `X-App-Key: <app_key>`
- `Authorization: Basic <base64(app_key:app_secret)>`

The access token is generated by Base64-encoding `app_key:app_secret`.

## Request Parameters

- `prompt` (required): Description of the desired sound effect.
- `duration` (required): Duration in seconds, range `5-180`.
- `qty` (optional): Number of generated variants, range `1-4`.
- `callback` (optional): Callback URL.
- `params` (optional): Opaque string forwarded back in callback payload.

## Async Workflow

1. Create task and get `task_id`.
2. Poll result endpoint with `task_id`.
3. Check status and parse final `result` JSON.

Status codes:

- `1` queued
- `2` processing
- `3` success
- `4` failed
- `5` cancelled
- `6` timeout

## Result Parsing Example

```python
import json

result_payload = json.loads(result["result"])
audio_url = result_payload["audio_path"][0]
```

## Error Handling Notes

- Validate `duration` and `qty` before request.
- Treat non-zero `code` as API error.
- Handle network timeout and non-JSON responses.
- Handle terminal task statuses (`4`, `5`, `6`) as failure paths.

references/prompt_guide.md

# Text-to-Sound-Effect Prompt Guide

## Goal

Write concise, concrete prompts that describe one coherent sound event or ambience.

## Formula

`Sound Source + Action/Context + Acoustic Characteristics`

## Good Prompt Patterns

- Source: what makes the sound
- Context: where or under what condition
- Characteristics: loudness, texture, rhythm, distance, reverb

Examples:

- `Heavy rain hitting a metal roof, steady rhythm, distant thunder`
- `Glass bottle shattering on concrete, sharp and bright transient`
- `Busy office ambience with keyboard typing and quiet chatter`
- `Retro game UI confirmation beep, short and clean`
- `Wooden door creaking open in an empty hallway, long reverb`

## Do

- Keep one primary sound scene per request.
- Include intensity and environment cues.
- Specify if you want short event vs continuous ambience.

## Avoid

- Multiple unrelated scenes in one prompt.
- Contradictory adjectives (for example: `very soft and extremely loud`).
- Overly abstract instructions with no physical source.

## Iteration Strategy

1. Start with a short prompt.
2. If output is too generic, add source detail.
3. If output is too busy, remove secondary sounds.
4. Tune duration for intended usage (UI, transition, ambience loop).

## Duration Guidance

- `5-10s`: UI or single events
- `10-30s`: transitions and short scenes
- `30-180s`: ambience beds and environmental loops

skill-card.md

## Description:

Generate sound effects from text prompts using the Tomoviee Text-to-Sound-Effect API through the Wondershare OpenAPI gateway.

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 agent users use this skill to create Tomoviee text-to-sound-effect tasks, poll asynchronous task results, and retrieve generated audio URLs for sound effects or ambience.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The authentication helper can expose a reusable Tomoviee API token and secret through command output or shell history.

Mitigation: Avoid the quick-start token helper for sensitive credentials; keep secrets out of command-line arguments and logs, and prefer a secrets manager or environment-backed workflow.

Risk: The skill requires runtime access to Tomoviee/Wondershare API credentials and sends requests to an external API gateway.

Mitigation: Use only approved credentials and prompts, confirm the configured endpoint before use, and limit credential scope where possible.

Risk: Installing unpinned dependencies can introduce supply-chain or compatibility risk in production environments.

Mitigation: Install dependencies in an isolated environment and pin reviewed versions before production use.

## Reference(s):

- [Tomoviee Text-to-Sound-Effect API Reference](artifact/references/audio_apis.md)
- [Text-to-Sound-Effect Prompt Guide](artifact/references/prompt_guide.md)
- [Tomoviee Developer Portal](https://www.tomoviee.ai/developers.html)
- [Tomoviee API Documentation](https://www.tomoviee.ai/doc/)
- [ClawHub Skill Page](https://clawhub.ai/wondershare-boop/skills/tomoviee-text-to-sound-effects)

## Skill Output:

**Output Type(s):** [Guidance, Code, Shell commands, API calls]

**Output Format:** [Markdown guidance with Python and bash examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces task IDs and, after polling, generated audio result URLs when valid Tomoviee/Wondershare API credentials are supplied.]

## Skill Version(s):

1.0.4 (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 Text to Sound Effects and adjacent AI workflows.