Xpersona
T

Tomoviee Tail to Video

CLAWHUB · Unverified

Generate videos from first and last frame images using Tomoviee First-Last Frame API (`tm_tail2video_b`) via Wondershare OpenAPI gateway (`https://openapi.wo... Skill: Tomoviee Tail to Video Owner: wondershare-boop Summary: Generate videos from first and last frame images using Tomoviee First-Last Frame API (tm_tail2video_b) via Wondershare OpenAPI gateway (https://openapi.wo... Tags: latest:1.0.3 Version history: v1.0.3 | 2026-03-27T14:31:20.062Z | user - Skill renamed from "tomoviee-firstlast2video" to "tomoviee-tail-to-video". - Description updated to clarify credential r

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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-tail-to-video
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  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-tail-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

115,224 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tomoviee-tail-to-video
description: Generate videos from first and last frame images using Tomoviee First-Last Frame API (`tm_tail2video_b`) via Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Requires `app_key` and `app_secret`. Use when users request first-last keyframe interpolation, start-end frame animation, or two-image to 5-second video generation.
---

# Tomoviee AI First-Last Frame to Video

## Overview

Generate a 5-second video from two keyframe images:

- `image`: first frame
- `image_tail`: last frame

API capability: `tm_tail2video_b`

## Provider and Endpoint Provenance

Use this mapping to verify provenance before using production credentials:

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

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

## Credential Handling

- Sensitive credentials required: `app_key` and `app_secret`.
- Credentials are only used to build `Authorization: Basic <base64(app_key:app_secret)>`.
- Credentials are kept in process memory only and are not written to disk by this skill.
- Do not hardcode credentials in source files or commit them to git.

## Required Inputs

- Credentials: `app_key`, `app_secret`
- Generation inputs: `prompt`, `image`, `image_tail`

## Scope

- This skill only covers `tm_tail2video_b` (first-last frame to video).
- Output duration is fixed to 5 seconds by API design.
- This skill does not implement text-to-video, image-to-video, or video continuation APIs.

## Dependencies

- Runtime dependency: `requests>=2.31.0,<3.0.0`
- Install with: `pip install -r requirements.txt`

## Quick Start

### Install dependencies

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

### Authentication helper

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

### Python Client

```python
from scripts.tomoviee_firstlast2video_client import TomovieeFirstLast2VideoClient

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

## API Usage

### Basic Example

```python
task_id = client.firstlast_to_video(
    prompt="Scene transitions naturally from first frame to last frame with smooth motion",
    image="https://example.com/first-frame.jpg",
    image_tail="https://example.com/last-frame.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)
```

### Parameters

- `prompt` (required): Motion guidance text.
- `image` (required): First frame image URL.
- `image_tail` (required): Last frame image URL.
- `resolution` (optional): `720p` or `1080p`, default `720p`.
- `duration` (optional): only `5` is support

_meta.json

{
  "ownerId": "kn7bn8fv79mjtchs17087tdtsx82fc86",
  "slug": "tomoviee-tail-to-video",
  "version": "1.0.3",
  "publishedAt": 1774621880062
}

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 First-Last Frame to Video API Reference

## Provenance and Endpoint Mapping

- Vendor portals: `https://www.tomoviee.ai` and `https://www.tomoviee.cn`
- Runtime gateway host used by this skill package: `https://openapi.wondershare.cc`
- Primary capability in this skill: `tm_tail2video_b`

All runtime requests from this skill target only:

1. `https://openapi.wondershare.cc/v1/open/capacity/application/tm_tail2video_b`
2. `https://openapi.wondershare.cc/v1/open/pub/task`

## First-Last Frame to Video (tm_tail2video_b)

Generate a 5-second video by interpolating between a first frame and a last frame.

### Parameters

- `prompt` (required): motion guidance text
- `image` (required): first frame image URL
- `image_tail` (required): last frame image URL
- `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 index `1-46`
- `callback` (optional): callback URL
- `params` (optional): transparent callback passthrough

### Input Constraints

- Maximum file size: `<200M` per image
- Formats: `JPG`, `JPEG`, `PNG`, `WEBP`
- Recommendation: source images should be at least 720p for better quality

### Result Endpoint

`https://openapi.wondershare.cc/v1/open/pub/task`

### Status Codes

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

## Credential and Dependency Notes

- Sensitive credentials required: `app_key`, `app_secret`
- Auth pattern: `Authorization: Basic <base64(app_key:app_secret)>`
- Runtime dependency: `requests>=2.31.0,<3.0.0`

### Example

```python
from scripts.tomoviee_firstlast2video_client import TomovieeFirstLast2VideoClient

client = TomovieeFirstLast2VideoClient("app_key", "app_secret")
task_id = client.firstlast_to_video(
    prompt="Smooth transition from first frame to last frame",
    image="https://example.com/first.jpg",
    image_tail="https://example.com/last.jpg",
    resolution="720p",
    duration=5,
    aspect_ratio="original",
)
result = client.poll_until_complete(task_id)
```

Sponsored

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