Xpersona
T

Tomoviee Text to Video

CLAWHUB · Unverified

Generate 5-second videos from text prompts using Tomoviee Text-to-Video API (tm_text2video_b) via Wondershare OpenAPI gateway (https://openapi.wondershare.cc... Skill: Tomoviee Text to Video Owner: wondershare-boop Summary: Generate 5-second videos from text prompts using Tomoviee Text-to-Video API (tm_text2video_b) via Wondershare OpenAPI gateway (https://openapi.wondershare.cc... Tags: latest:1.0.6 Version history: v1.0.6 | 2026-03-27T12:12:10.245Z | user - Updated skill name to "tomoviee-text-to-video" for consistency. - Clarified and updated API host details: all request

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/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-video
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  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-text-to-video/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

145,327 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tomoviee-text-to-video
description: Generate 5-second videos from text prompts using Tomoviee Text-to-Video API (tm_text2video_b) via Wondershare OpenAPI gateway (https://openapi.wondershare.cc). Use when users request text-to-video creation with control over resolution, aspect ratio, and camera movement.
---

# Tomoviee AI Text-to-Video

## Overview

Generate 5-second videos from text descriptions.

- API capability: `tm_text2video_b`
- Supported resolutions: `720p`, `1080p`
- Supported aspect ratios: `16:9`, `9:16`, `4:3`, `3:4`, `1:1`
- Optional camera control: `camera_move_index` (1-46)

## Provider and Endpoints

Use the following provider and endpoint mapping to keep credentials and routing consistent:

- Vendor portals: `https://www.tomoviee.ai` and `https://www.tomoviee.cn`
- API gateway host used by this skill: `https://openapi.wondershare.cc`
- Create-task endpoint pattern: `https://openapi.wondershare.cc/v1/open/capacity/application/<capacity_id>`
- Result endpoint: `https://openapi.wondershare.cc/v1/open/pub/task`

This skill sends API requests only to `openapi.wondershare.cc`.

## Quick Start

### Install dependencies

```bash
pip install -r requirements.txt
```

### Authentication

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

### Python Client

```python
from scripts.tomoviee_text2video_client import TomovieeText2VideoClient

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

## API Usage

### Basic Example

```python
task_id = client.text_to_video(
    prompt="Golden retriever running through sunlit meadow, slow motion, cinematic",
    resolution="720p",
    aspect_ratio="16:9",
    camera_move_index=5,
)

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

### Parameters

- `prompt` (required): Text description (subject + action + scene + camera + lighting)
- `resolution`: `720p` or `1080p` (default: `720p`)
- `duration`: duration in seconds (currently `5`)
- `aspect_ratio`: `16:9`, `9:16`, `4:3`, `3:4`, `1:1`
- `camera_move_index`: camera movement type (`1-46`, optional)
- `callback`: callback URL (optional)
- `params`: transparent passthrough params (optional)

## Async Workflow

1. Create task: call `text_to_video()` and get `task_id`
2. Poll status: call `poll_until_complete(task_id)`
3. Parse result: read video URL from returned JSON

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

Typical generation time is 1-5 minutes per 5-second video.

## Resources

### scripts/
- `tomoviee_text2video_client.py` - Text-to-Video API client
- `generate_auth_token.py` - auth token generator

### references/
- `video_apis.md` - detailed video API documentation
- `camera_movements.md` - camera movement index reference
- `prompt_guide.md` - prompt writing best practices

## External Resources

- Developer portal (global): `https://www.tomoviee.ai/dev

_meta.json

{
  "ownerId": "kn7bn8fv79mjtchs17087tdtsx82fc86",
  "slug": "tomoviee-text-to-video",
  "version": "1.0.6",
  "publishedAt": 1774613530245
}

references/camera_movements.md

# Camera Movement Types Reference

Complete list of camera movement types for `camera_move_index` parameter.

## Movement Types (1-46)

| Index | Type | Description |
|-------|------|-------------|
| 1 | orbit | Camera circles around subject |
| 2 | spin | Rotating motion |
| 3 | pan left | Camera pans to the left |
| 4 | pan right | Camera pans to the right |
| 5 | tilt up | Camera tilts upward |
| 6 | tilt down | Camera tilts downward |
| 7 | push in | Camera moves closer to subject |
| 8 | pull out | Camera moves away from subject |
| 9 | static | No camera movement |
| 10 | tracking | Camera follows subject movement |
| 11 | others | Unspecified movement |
| 12 | object pov | Point of view from object perspective |
| 13 | super dolly in | Dramatic push into scene |
| 14 | super dolly out | Dramatic pull from scene |
| 15 | snorricam | Camera fixed to subject while rotating |
| 16 | head tracking | Follows head/face movement |
| 17 | car grip | Camera mounted on vehicle |
| 18 | screen transition | Transition effect movement |
| 19 | car chasing | Following vehicle action |
| 20 | fisheye | Wide-angle distortion effect |
| 21 | FPV drone | First-person drone perspective |
| 22 | crane over the head | Overhead crane shot |
| 23 | timelapse landscape | Time-lapse scenery |
| 24 | dolly in | Smooth push toward subject |
| 25 | dolly out | Smooth pull from subject |
| 26 | zoom in | Lens zooms closer |
| 27 | zoom out | Lens zooms further |
| 28 | full shot | Wide establishing shot |
| 29 | close-up shot | Tight framing on subject |
| 30 | extreme close-up | Very tight detail shot |
| 31 | Macro shot | Extreme close-up of small details |
| 32 | bird's-eye view | Overhead perspective |
| 33 | rule of thirds | Compositional guideline |
| 34 | symmetrical composition | Balanced framing |
| 35 | handheld | Shaky, documentary-style |
| 36 | FPV shot | First-person view |
| 37 | jib up | Crane moves upward |
| 38 | jib down | Crane moves downward |
| 39 | full shot | Complete subject in frame |
| 40 | Time lapse shot | Compressed time progression |
| 41 | aerial shot | High-altitude view |
| 42 | low angle shot | Camera positioned below subject |
| 43 | Eye-level shot | Camera at subject's eye level |
| 44 | diagonal composition | Angled framing |
| 45 | over shoulder shot | View from behind subject |
| 46 | crane down | Crane descends |

## Usage Example

```python
# Static shot with no camera movement
client.create_video(
    prompt="猫咪转头看向镜头",
    image="https://example.com/cat.jpg",
    camera_move_index=9  # static
)

# Dramatic push in shot
client.create_video(
    prompt="女孩突然转头,右手拿起无线耳机戴在耳朵上",
    image="https://example.com/girl.jpg",
    camera_move_index=13  # super dolly in
)
```

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"
``

references/video_apis.md

# Tomoviee Video Generation APIs

## Overview
Tomoviee provides three video generation APIs supporting different input types and use cases.

## API Endpoints

### 1. Text-to-Video (tm_text2video_b)
**Generate video from text description only**

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

**Parameters**:
- `prompt` (required): Text description for video generation
- `resolution`: Video resolution - `720p` (default) or `1080p`
- `duration`: Video duration in seconds - only `5` is supported
- `aspect_ratio`: Video aspect ratio - `16:9` (default), `9:16`, `4:3`, `3:4`, `1:1`
- `camera_move_index`: Camera movement type (1-46, see camera_movements.md)
- `callback`: Optional callback URL for async notification
- `params`: Optional transparent parameters passed back in callback

**Use Cases**:
- Create video from scratch with text only
- Generate establishing shots or B-roll footage
- Prototype video ideas quickly

**Example**:
```python
task_id = client.text_to_video(
    prompt="A golden retriever running through a sunlit meadow, slow motion",
    resolution="720p",
    aspect_ratio="16:9",
    camera_move_index=5  # Slow zoom in
)
```

---

### 2. Image-to-Video (tm_img2video_b)
**Generate video from image + text description**

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

**Parameters**:
- `prompt` (required): Text description guiding video generation
- `image` (required): Image URL (JPG/JPEG/PNG/WEBP format, <200M)
- `resolution`: Video resolution - `720p` (default) or `1080p`
- `duration`: Video duration in seconds - only `5` is supported
- `aspect_ratio`: Video aspect ratio - `16:9`, `9:16`, `4:3`, `3:4`, `1:1`, `original` (keeps image ratio)
- `camera_move_index`: Camera movement type (1-46, see camera_movements.md)
- `callback`: Optional callback URL for async notification
- `params`: Optional transparent parameters passed back in callback

**Use Cases**:
- Animate still images with motion
- Create product demo videos from photos
- Add dynamic camera movements to static images
- Generate video variations from reference image

**Example**:
```python
task_id = client.image_to_video(
    prompt="Camera slowly panning right, golden hour lighting",
    image="https://example.com/sunset-beach.jpg",
    resolution="720p",
    aspect_ratio="original",
    camera_move_index=12  # Pan right
)
```

---

### 3. Video Continuation (tm_video_continuation_b)
**Continue/extend existing video**

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

**Parameters**:
- `prompt` (required): Text description for continuation
- `video` (required): Video URL (MP4 format, <200M, 5s duration, 720p resolution)
- `resolution`: Video resolution - `720p` (default) or `1080p`
- `duration`: Video duration in seconds - only `5` is supported (generates 5s continuation)
- `aspect_ratio`: Video aspect ratio - `16:9`, `9:16`, `4:3`, `3:4`, `1

Sponsored

Ads related to Tomoviee Text to Video and adjacent AI workflows.