← 返回
内容创作 Key 中文

Tomoviee Image Recognition

Auto-generate masks for objects/regions in images. Use when users request image_recognition operations or related tasks.
自动生成图像中对象/区域的掩码,用于用户请求图像识别操作或相关任务时。
wondershare-boop
内容创作 clawhub v1.0.2 2 版本 100000 Key: 需要
★ 0
Stars
📥 627
下载
💾 23
安装
2
版本
#latest

概述

Tomoviee AI - 图像识别 (Image Recognition)

Overview

Auto-generate masks for objects/regions in images.

API: tm_reference_img2mask

Quick Start

Authentication

python scripts/generate_auth_token.py YOUR_APP_KEY YOUR_APP_SECRET

Python Client

from scripts.tomoviee_image_recognition_client import TomovieeClient

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

API Usage

Basic Example

task_id = client._make_request({
    image='https://example.com/photo.jpg'
    control_type='2'  # subject/default
})

result = client.poll_until_complete(task_id)
import json
output = json.loads(result['result'])

Parameters

  • image (required): Image URL to analyze
  • control_type: 0=edge, 1=pose, 2=subject, 3=depth

Async Workflow

  1. Create task: Get task_id from API call
  2. Poll for completion: Use poll_until_complete(task_id)
  3. Extract result: Parse returned JSON for output URLs

Status codes:

  • 1 = Queued
  • 2 = Processing
  • 3 = Success (ready)
  • 4 = Failed
  • 5 = Cancelled
  • 6 = Timeout

Resources

scripts/

  • tomoviee_image_recognition_client.py - API client
  • generate_auth_token.py - Auth token generator

references/

See bundled reference documents for detailed API documentation and examples.

External Resources

  • Developer Portal: https://www.tomoviee.ai/developers.html
  • API Documentation: https://www.tomoviee.ai/doc/
  • Get API Credentials: Register at developer portal

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-05-01 05:57 安全 安全
  • v1.0.1
    2026-03-30 09:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

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

Humanizer

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

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

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