返回顶部
t

tomoviee-image-to-videoTomoviee图转视频

Generate videos from image + text prompts using Tomoviee Image-to-Video API (`tm_img2video_b`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Use when users request animating a still image with motion and camera guidance.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.3
安全检测
已通过
315
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

tomoviee-image-to-video

Tomoviee AI 图像转视频

概述

从静态图像和提示词生成一段5秒的视频。

  • - API能力:tmimg2videob
  • 创建端点:https://openapi.wondershare.cc/v1/open/capacity/application/tmimg2videob
  • 结果端点:https://openapi.wondershare.cc/v1/open/pub/task

提供商与端点来源

使用此映射验证提供商身份和端点来源:

  • - 供应商门户:https://www.tomoviee.ai 和 https://www.tomoviee.cn
  • 本技能使用的运行时网关主机:https://openapi.wondershare.cc
  • 兼容网关别名:https://open-api.wondershare.cc

本技能仅向 openapi.wondershare.cc 发送运行时API调用。

凭证处理

  • - 所需敏感凭证:appkey 和 appsecret。
  • 凭证仅用于构建 Authorization: Basic key:appsecret)>。
  • 凭证保存在进程内存中,本技能不会将其写入磁盘。
  • 请勿在源文件中硬编码凭证或将其提交到git。

依赖项

  • - 运行时依赖:requests>=2.31.0,<3.0.0
  • 安装方式:pip install -r requirements.txt

快速开始

身份验证辅助工具

bash
python scripts/generateauthtoken.py YOURAPPKEY YOURAPPSECRET

Python客户端

python
from scripts.tomovieeimg2videoclient import TomovieeImg2VideoClient

client = TomovieeImg2VideoClient(appkey, appsecret)

API使用

基本示例

python
taskid = client.imageto_video(
prompt=镜头缓慢推进,场景中轻柔运动,电影级布光,
image=https://example.com/landscape.jpg,
resolution=720p,
duration=5,
aspect_ratio=original,
)

result = client.polluntilcomplete(task_id)
import json
videourl = json.loads(result[result])[videopath][0]
print(video_url)

参数

  • - prompt(必填):运动和场景引导文本。
  • image(必填):源图像URL(JPG/JPEG/PNG/WEBP,小于200M)。
  • resolution(可选):720p 或 1080p,默认为 720p。
  • duration(可选):仅支持 5。
  • aspectratio(可选):16:9、9:16、4:3、3:4、1:1、original。
  • cameramove_index(可选):镜头运动类型 1-46。
  • callback(可选):回调URL。
  • params(可选):透明回调参数。

异步工作流

  1. 1. 创建任务并获取 taskid
  2. 使用 polluntilcomplete(taskid) 轮询
  3. 从 result 解析视频URL

状态码:

  • - 1 排队中
  • 2 处理中
  • 3 成功
  • 4 失败
  • 5 已取消
  • 6 超时

资源

  • - scripts/tomovieeimg2videoclient.py - 主API客户端
  • scripts/tomovieeimagetovideoclient.py - 兼容性导入适配层
  • scripts/generateauthtoken.py - 身份验证令牌辅助工具
  • references/videoapis.md - API参考和约束
  • references/cameramovements.md - 镜头运动索引参考
  • references/prompt_guide.md - 提示词编写指南

外部资源

  • - 开发者门户(全球):https://www.tomoviee.ai/developers.html
  • API文档(全球):https://www.tomoviee.ai/doc/ai-video/image-to-video.html
  • 开发者门户(中国大陆):https://www.tomoviee.cn/developers.html
  • API文档(中国大陆):https://www.tomoviee.cn/doc/ai-video/image-to-video.html

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tomoviee-image-to-video-1776196223 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tomoviee-image-to-video-1776196223 技能

通过命令行安装

skillhub install tomoviee-image-to-video-1776196223

下载

⬇ 下载 tomoviee-image-to-video v1.0.3(免费)

文件大小: 14.15 KB | 发布时间: 2026-4-15 11:38

v1.0.3 最新 2026-4-15 11:38
- Added requirements.txt specifying dependency on requests>=2.31.0,<3.0.0.
- Added scripts/tomoviee_image_to_video_client.py as a Python API client.
- Comprehensive SKILL.md rewrite: clarified API endpoints, authentication, credential handling, workflow, supported parameters, and file/resource structure.
- Updated client usage instructions and introduced clear async workflow documentation.
- Improved provider, endpoint provenance, and security guidance.
- Listed references and documentation resources for API and prompt/camera options.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部