tomoviee-text2video

Generate videos from text descriptions. Supports 720p/1080p, multiple aspect ratios (16:9, 9:16, 4:3, 3:4, 1:1), and 46 camera movement types. Returns 5-second video clips. Use when users request text-to-video generation, video creation from prompts, or generating video content with specific camera movements.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tomoviee-text2video" with this command: npx skills add wondershare-boop/tomoviee-text-to-video

Tomoviee AI - 文生视频 (Text-to-Video)

Overview

Generate 5-second videos from text descriptions. Supports 720p/1080p resolution, flexible aspect ratios, and 46 camera movement effects.

API: tm_text2video_b

Quick Start

Authentication

python scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET

Python Client

from scripts.tomoviee_text2video_client import TomovieeText2VideoClient

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

API Usage

Basic Example

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]

Parameters

  • prompt (required): Text description (subject + action + scene + camera + lighting)
  • resolution: 720p or 1080p (default: 720p)
  • duration: Duration in seconds (only 5 supported)
  • aspect_ratio: 16:9, 9:16, 4:3, 3:4, 1:1
  • camera_move_index: Camera movement type (1-46, optional)

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 video URL

Status codes:

  • 1 = Queued
  • 2 = Processing
  • 3 = Success (ready)
  • 4 = Failed
  • 5 = Cancelled
  • 6 = Timeout

Generation time: 1-5 minutes per 5-second video

Camera Movements

All video APIs support 46 camera movement types via camera_move_index:

  • 5 = Slow zoom in
  • 12 = Pan right
  • 23 = Orbit/circular
  • None = Auto-select

See references/camera_movements.md for all 46 types.

Prompt Engineering

Effective prompts improve output quality dramatically.

Formula: Subject + Motion + Scene + Camera + Lighting + Atmosphere

Example:

"Red Ferrari speeding along coastal highway, camera tracking from side, golden hour sunset, cinematic and epic"

See references/prompt_guide.md for detailed guidance.

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 - All 46 camera movement types
  • prompt_guide.md - Prompt engineering guide and best practices

External Resources

🌐 Network Routing Notice:

  • Global / Overseas Network: Access the international site (.ai).
  • Mainland China Network: Access the domestic site (.cn), which offers localized latency and compliance.

Global / Overseas (.AI)

Mainland China (.CN)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Dingding

钉钉开放平台开发助手,精通机器人、审批流程、日程管理等企业 API

Registry SourceRecently Updated
General

Takeout Coupon 外卖优惠券隐藏券大额券,美团、京东、闪购/饿了么

调用外卖优惠券API获取各平台(美团、淘宝闪购/饿了么、京东)的隐藏外卖券列表及聚合领券页面。返回优惠券代码和领取说明,用户可复制优惠码到对应APP领取。

Registry SourceRecently Updated
General

AI Rankings Leaderboard (AI 排行榜)

Comprehensive AI leaderboard for LLM models and AI applications. Query model rankings, model IDs, and pricing from OpenRouter and Pinchbench. Trigger words i...

Registry SourceRecently Updated