Install
openclaw skills install tomoviee-image-redrawRedraw 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.
openclaw skills install tomoviee-image-redrawRedraw image content with optional mask control.
tm_redrawingUse this mapping to verify credential and endpoint provenance before production usage:
https://www.tomoviee.ai and https://www.tomoviee.cnhttps://openapi.wondershare.cchttps://openapi.wondershare.cc/v1/open/capacity/application/tm_redrawinghttps://openapi.wondershare.cc/v1/open/pub/taskThis skill sends API requests only to openapi.wondershare.cc.
pip install -r requirements.txt
python scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET
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/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])
prompt (required): positive prompt textinit_image (required): source image URL
jpg/png>512 and <2048<3mask_url (optional): mask image URL
init_imagejpg/png>512 and <2048<3callback: callback URL (optional)params: transparent passthrough params (optional)task_idpoll_until_complete(task_id)resultStatus codes:
1 queued2 processing3 success4 failed5 cancelled6 timeoutscripts/tomoviee_redrawing_client.py - main redrawing clientscripts/tomoviee_image_redrawing_client.py - compatibility import shimscripts/generate_auth_token.py - auth token helperreferences/image_apis.md - endpoint and workflow referencesreferences/prompt_guide.md - prompt writing guidancehttps://www.tomoviee.ai/developers.htmlhttps://www.tomoviee.ai/doc/https://www.tomoviee.cn/developers.htmlhttps://www.tomoviee.cn/doc/https://openapi.wondershare.cc