Install
openclaw skills install tomoviee-image-to-videoGenerate 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.
openclaw skills install tomoviee-image-to-videoGenerate a 5-second video from a still image and prompt.
tm_img2video_bhttps://openapi.wondershare.cc/v1/open/capacity/application/tm_img2video_bhttps://openapi.wondershare.cc/v1/open/pub/taskUse this mapping to verify provider identity and endpoint provenance:
https://www.tomoviee.ai and https://www.tomoviee.cnhttps://openapi.wondershare.cchttps://open-api.wondershare.ccThis skill sends runtime API calls only to openapi.wondershare.cc.
app_key and app_secret.Authorization: Basic <base64(app_key:app_secret)>.requests>=2.31.0,<3.0.0pip install -r requirements.txtpython scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET
from scripts.tomoviee_img2video_client import TomovieeImg2VideoClient
client = TomovieeImg2VideoClient("app_key", "app_secret")
task_id = client.image_to_video(
prompt="Camera slowly pushes in, gentle motion in the scene, cinematic lighting",
image="https://example.com/landscape.jpg",
resolution="720p",
duration=5,
aspect_ratio="original",
)
result = client.poll_until_complete(task_id)
import json
video_url = json.loads(result["result"])["video_path"][0]
print(video_url)
prompt (required): motion and scene guidance text.image (required): source image URL (JPG/JPEG/PNG/WEBP, <200M).resolution (optional): 720p or 1080p, default 720p.duration (optional): only 5 supported.aspect_ratio (optional): 16:9, 9:16, 4:3, 3:4, 1:1, original.camera_move_index (optional): camera movement type 1-46.callback (optional): callback URL.params (optional): transparent callback parameter.task_idpoll_until_complete(task_id)resultStatus codes:
1 queued2 processing3 success4 failed5 cancelled6 timeoutscripts/tomoviee_img2video_client.py - main API clientscripts/tomoviee_image_to_video_client.py - compatibility import shimscripts/generate_auth_token.py - auth token helperreferences/video_apis.md - API reference and constraintsreferences/camera_movements.md - camera movement index referencereferences/prompt_guide.md - prompt writing guidancehttps://www.tomoviee.ai/developers.htmlhttps://www.tomoviee.ai/doc/ai-video/image-to-video.htmlhttps://www.tomoviee.cn/developers.htmlhttps://www.tomoviee.cn/doc/ai-video/image-to-video.html