Xpersona
T

Tomoviee Image Redraw

CLAWHUB · Unverified

Redraw image content using Tomoviee Image Redrawing API (`tm_redrawing`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Use when use...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 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-image-redraw
  1. Install using `clawhub skill install s1707d6v06e1pv7bbn814sjdq583gtne:tomoviee-image-redraw` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/wondershare-boop/tomoviee-image-redraw before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wondershare-boop-tomoviee-image-redraw/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

80,357 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tomoviee-image-redraw
description: Redraw image content using Tomoviee Image Redrawing API (`tm_redrawing`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Use when users request inpainting, localized replacement, object removal, or mask-based image edits.
---

# Tomoviee AI Image Redrawing

## Overview

Redraw image content with optional mask control.

- API capability: `tm_redrawing`
- White mask area: redraw
- Black mask area: keep unchanged

## Provider and Endpoint Provenance

Use this mapping to verify credential and endpoint provenance before production usage:

- Vendor portals: `https://www.tomoviee.ai` and `https://www.tomoviee.cn`
- Gateway host used by this skill: `https://openapi.wondershare.cc`
- Redrawing endpoint: `https://openapi.wondershare.cc/v1/open/capacity/application/tm_redrawing`
- Task result endpoint: `https://openapi.wondershare.cc/v1/open/pub/task`

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

## Quick Start

### Install dependencies

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

### Authentication

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

### Python Client

```python
from scripts.tomoviee_redrawing_client import TomovieeRedrawingClient

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

## API Usage

### Basic Example

```python
task_id = client.image_redrawing(
    prompt="Clear blue sky with fluffy clouds",
    init_image="https://example.com/photo.jpg",
    mask_url="https://example.com/mask.png",
)

result = client.poll_until_complete(task_id)
import json
output = json.loads(result["result"])
print(output["images_path"][0])
```

### Parameters

- `prompt` (required): positive prompt text
- `init_image` (required): source image URL
  - supported format: `jpg/png`
  - width and height: `>512` and `<2048`
  - aspect ratio: `<3`
- `mask_url` (optional): mask image URL
  - should have same resolution as `init_image`
  - supported format: `jpg/png`
  - width and height: `>512` and `<2048`
  - aspect ratio: `<3`
- `callback`: callback URL (optional)
- `params`: transparent passthrough params (optional)

## Async Workflow

1. Create task and get `task_id`
2. Poll task status with `poll_until_complete(task_id)`
3. Parse output image URLs from `result`

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

## Resources

- `scripts/tomoviee_redrawing_client.py` - main redrawing client
- `scripts/tomoviee_image_redrawing_client.py` - compatibility import shim
- `scripts/generate_auth_token.py` - auth token helper
- `references/image_apis.md` - endpoint and workflow references
- `references/prompt_guide.md` - prompt writing guidance

## 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:

_meta.json

{
  "ownerId": "kn7bn8fv79mjtchs17087tdtsx82fc86",
  "slug": "tomoviee-image-redraw",
  "version": "1.0.2",
  "publishedAt": 1774617086763
}

references/image_apis.md

# Tomoviee Image APIs (Redrawing Focus)

## Provenance and Endpoint Mapping

- Vendor portals: `https://www.tomoviee.ai` and `https://www.tomoviee.cn`
- Gateway host used by SDK/client scripts: `https://openapi.wondershare.cc`
- This skill's primary capacity: `tm_redrawing`

All runnable scripts in this skill package call only:

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

## Image Redrawing (tm_redrawing)

Use image redrawing with optional mask control.

### Endpoint

`https://openapi.wondershare.cc/v1/open/capacity/application/tm_redrawing`

### Required Parameters

- `prompt`: positive prompt text
- `init_image`: source image URL
  - supported format: `jpg/png`
  - width and height: `>512` and `<2048`
  - aspect ratio: `<3`

### Optional Parameters

- `mask_url`: mask image URL
  - should have same resolution as `init_image`
  - supported format: `jpg/png`
  - width and height: `>512` and `<2048`
  - aspect ratio: `<3`
- `callback`: callback URL
- `params`: passthrough params

### Result Polling Endpoint

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

### Status Codes

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

### Example

```python
from scripts.tomoviee_redrawing_client import TomovieeRedrawingClient

client = TomovieeRedrawingClient("app_key", "app_secret")
task_id = client.image_redrawing(
    prompt="Clear blue sky with fluffy clouds",
    init_image="https://example.com/input.png",
    mask_url="https://example.com/mask.png",
)
result = client.poll_until_complete(task_id)
```

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"
``

skill-card.md

## Description:

Redraw image content using Tomoviee Image Redrawing API (`tm_redrawing`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`).

This skill is ready for commercial/non-commercial use.

## Publisher:

[wondershare-boop](https://clawhub.ai/user/wondershare-boop)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to call Tomoviee image redrawing for inpainting, localized replacement, object removal, and mask-based image edits. It provides Python client usage, authentication guidance, endpoint references, and prompt guidance for image-editing workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The credential workflow can expose reusable Tomoviee app keys, app secrets, and Basic tokens through command-line arguments, terminal output, CI logs, or agent transcripts.

Mitigation: Handle Tomoviee credentials as secrets, avoid the documented token helper in shared terminals or logs, and prefer a credential flow that does not print reusable tokens.

Risk: Image redrawing sends source images, masks, prompts, and optional callback URLs to the Tomoviee/Wondershare service.

Mitigation: Submit only images, prompts, masks, and callback URLs that are approved for the external service and do not contain sensitive content unless that transfer is acceptable.

## Reference(s):

- [Tomoviee Image APIs](references/image_apis.md)
- [Tomoviee Prompt Engineering Guide](references/prompt_guide.md)
- [Tomoviee Developer Portal (Global)](https://www.tomoviee.ai/developers.html)
- [Tomoviee API Documentation (Global)](https://www.tomoviee.ai/doc/)
- [Tomoviee Developer Portal (Mainland)](https://www.tomoviee.cn/developers.html)
- [Tomoviee API Documentation (Mainland)](https://www.tomoviee.cn/doc/)
- [ClawHub Skill Release](https://clawhub.ai/wondershare-boop/skills/tomoviee-image-redraw)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with Python and shell snippets; client calls return task data and generated image URLs from the Tomoviee service.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Creates asynchronous image redrawing tasks, polls task status, and parses service results for generated image paths.]

## Skill Version(s):

1.0.2 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Tomoviee Image Redraw and adjacent AI workflows.