← 返回
内容创作 Key 中文

Tomoviee Image Redraw

Redraw image content using Tomoviee Image Redrawing API (`tm_redrawing`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Use when use...
Redraw image content using Tomoviee Image Redrawing API (`tm_redrawing`) through Wondershare OpenAPI gateway (`https://openapi.wondershare.cc`). Use when use...
wondershare-boop
内容创作 clawhub v1.0.2 2 版本 99826.7 Key: 需要
★ 0
Stars
📥 576
下载
💾 30
安装
2
版本
#latest

概述

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

pip install -r requirements.txt

Authentication

python scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET

Python Client

from scripts.tomoviee_redrawing_client import TomovieeRedrawingClient

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

API Usage

Basic Example

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://www.tomoviee.cn/doc/
  • Gateway host used by this package: https://openapi.wondershare.cc

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-05-03 04:29 安全 安全
  • v1.0.1
    2026-03-30 21:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

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

AI skills for GitHub Copilot, Claude Code, and OpenClaw to generate professional mind maps via the EdrawMind API.

wondershare-boop
使用 EdrawMind API 将自然语言主题或结构化 Markdown 转换为专业思维导图,支持自定义布局、主题、背景等功能。
★ 1 📥 781
content-creation

Humanizer

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