← 返回
内容创作 Key 中文

Tomoviee Text to Video

Generate 5-second videos from text prompts using Tomoviee Text-to-Video API (tm_text2video_b) via Wondershare OpenAPI gateway (https://openapi.wondershare.cc...
使用 Tomoviee 文本转视频 API (tm_text2video_b),通过 Wondershare OpenAPI 网关 (https://openapi.wondershare.cc...) 将文字提示生成 5 秒视频。
wondershare-boop
内容创作 clawhub v1.0.6 3 版本 100000 Key: 需要
★ 0
Stars
📥 802
下载
💾 30
安装
3
版本
#latest

概述

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/
  • Result endpoint: https://openapi.wondershare.cc/v1/open/pub/task

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

Quick Start

Install dependencies

pip install -r requirements.txt

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]
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/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 host used by this skill: https://openapi.wondershare.cc

版本历史

共 3 个版本

  • v1.0.6 当前
    2026-05-03 03:34 安全 安全
  • v1.0.4
    2026-03-30 05:19 安全 安全
  • v1.0.3
    2026-03-11 11:53

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,395
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,126
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,239