Token导航 LogoToken导航TokenDH.com
图像处理敏感数据clawhub未标认证来源可访问clear审计提醒

tl-imageTL 图像

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

7,240

周安装

311

GitHub Stars

公开资料未说明

下载量

2,538
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tl-image(TL 图像)
来源仓库:https://github.com/bob5-tensorslab/tl-image
安装命令:
openclaw skills install tl-image
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tl-image

简介

使用 TensorsLab AI 模型生成与编辑图像内容。

  • 适用于头像、水印与文本转图像等视觉素材创建。
  • 支持高级编辑与提示词优化,提升生成质量。tl-image 属于图像处理类 Skill,可作为该场景下的辅助能力补充。
  • 涉及人物或品牌素材时应核对授权与真实性要求。
  • 安装后可在 OpenClaw 中使用,建议确认输出格式与尺寸限制。

SKILL.md

name
tensorslab-image
description
Generate and edit images using TensorsLab's AI models. Supports text-to-image, image-to-image generation, plus advanced editing: avatar generation, watermark removal, object erasure, face replacement, and general image editing. Features automatic prompt enhancement, progress tracking, and local file saving. Requires TENSORSLAB_API_KEY environment variable.

TensorsLab Image Generation

Overview

This skill enables AI-powered image generation through TensorsLab's API, supporting both text-to-image and image-to-image workflows. The agent enhances user prompts with detailed visual descriptions before calling the API, ensuring high-quality outputs.

Authentication Check

Before any image generation, verify the API key is configured:

# 仅检查变量是否存在,不输出完整值
[ -n "$TENSORSLAB_API_KEY" ] && echo "✅ API key is set" || echo "❌ TENSORSLAB_API_KEY is not set"

If not set, display this friendly message:

您好!要生成高质量的内容,您需要先进行简单的配置:
1. 访问 https://tensorai.tensorslab.com/ 登录并订阅。
2. 在控制台中获取您的专属 API Key。
3. 将其保存为环境变量:
   - Windows (PowerShell): $env:TENSORSLAB_API_KEY="您的Key"
   - Mac/Linux: export TENSORSLAB_API_KEY="您的Key"

Models

ModelDescriptionBest For
seedreamv45Latest enhanced modelGeneral purpose, highest quality
seedreamv4Standard modelFast generation, good quality
zimageAlternative modelSpecific artistic styles

Default: seedreamv4

Workflow

For additional scenarios beyond basic generation (avatar generation, watermark removal, object erasure, face replacement), see references/scenarios.md.

1. Text-to-Image Generation

User request: "画一个在月球上吃热狗的宇航员"

Agent processing:

  1. Extract the core subject and action
  2. Enhance prompt with details (lighting, composition, style, atmosphere)
  3. Call API with enriched prompt
  4. Monitor progress with heartbeat updates
  5. Download to ./tensorslab_output/

Example enhanced prompt:

An astronaut sitting on the lunar surface, eating a hot dog with mustard,
cinematic lighting, Earth visible in the background, highly detailed,
photorealistic, 8k quality, dramatic shadows from the low sun angle

2. Image-to-Image Generation

User request: "把 cat.png 的背景换成太空" or "参考 sketch.png 渲染成 3D 模型"

Agent processing:

  1. Extract image file paths (absolute or relative to current directory)
  2. Enhance prompt with transformation instructions
  3. Upload source images with prompt
  4. Monitor and download results

Parameters for image-to-image:

  • sourceImage: Array of image files (for local upload)
  • imageUrl: URL of source image
  • prompt: Description of desired transformation

3. Image Editing (General Purpose)

General-purpose editing for any local image modifications.

User request examples:

  • "把这张图的天空改成日落色"
  • "给人物加上墨镜"
  • "把头发颜色染成粉色"

Agent processing:

  1. Extract image file path
  2. Parse the specific editing instruction (what to change, where)
  3. Build enhanced prompt with precise editing guidance
  4. Call API with source image and editing prompt
  5. Save result to ./tensorslab_output/

Example enhanced prompt:

Change the sky to sunset colors with warm orange and pink gradients,
matching the existing lighting conditions and atmospheric perspective,
seamless blend at the horizon line

For avatar generation, watermark removal, object erasure, and face replacement scenarios, see references/scenarios.md.

4. Resolution Options

Supported formats:

  • Aspect ratios: 9:16, 16:9, 3:4, 4:3, 1:1, 2:3, 3:2
  • Resolution levels: 2K, 4K
  • Specific dimensions: WxH format (e.g., 2048x2048, 1920x1080)

- Constraint: Total pixels must be between 3,686,400 and 16,777,216

Using the Script

依赖:脚本需要 requests 库,首次使用前执行: ``bash pip install requests ``

Execute the Python script directly:

# Text-to-image
python scripts/tensorslab_image.py "a cat on the moon"

# With specific resolution
python scripts/tensorslab_image.py "sunset over mountains" --resolution 16:9

# Image-to-image
python scripts/tensorslab_image.py "watercolor style" --source cat.png

# Specify model
python scripts/tensorslab_image.py "cyberpunk city" --model seedreamv45

# Custom output directory
python scripts/tensorslab_image.py "a beautiful landscape" --output-dir ./my_images

Task Status Flow

StatusCodeMeaning
Queued1Task waiting in queue
Processing2Currently generating
Completed3Done, images ready
Failed4Error occurred

Error Handling

Translate API errors to user-friendly messages:

Error CodeMeaningUser Message
9000Insufficient credits"亲,积分用完啦,请前往 https://tensorai.tensorslab.com"/ 充值"
9999General errorShow the specific error message

Output

All images are saved to output directory with naming pattern:

  • Default: ./tensorslab_output/ (current working directory)
  • Custom: Use --output-dir or -o to specify a different path
  • Naming: {task_id}_{index}.{ext} - e.g., abcd_1234567890_0.png

After completion, inform user:

🎉 您的图片处理完毕!已存放于 ./tensorslab_output/{filename}

Resources

  • scripts/tensorslab_image.py: Main API client with full CLI support
  • references/api_reference.md: Detailed API documentation
  • references/scenarios.md: Advanced usage scenarios (avatar generation, watermark removal, object erasure, face replacement)

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.63%
按下载量换算1,843

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills