npx skills add https://github.com/tensor-art/tensorart-skills --skill tensorart-generateInstallieren Sie diesen Skill über die CLI und beginnen Sie mit der Verwendung des SKILL.md-Workflows in Ihrem Arbeitsbereich.
AI Agent Skills for TensorArt/吐司 — Easily integrate TensorArt's AI image and video generation capabilities into your AI Agent.
tensorart-skills bridges AI Agents and the TensorArt OpenAPI, enabling agents to browse available generation tools, submit tasks, and retrieve image or video results — all through simple Python scripts with no external dependencies.
| Skill | Description |
|---|---|
| tensorart-generate | Browse tools, submit generation tasks, upload reference files, poll for results, and download outputs |
npx skills add https://github.com/Tensor-Art/tensorart-skills --skill tensorart-generate
Obtain your Access Key from your personal profile on TensorArt/吐司.
Then save your Access Key:
echo "your-access-key" > ~/.tensor_access_key
The agent follows a straightforward pipeline:
tensorart-skills/
├── README.md
├── LICENSE
└── skills/
└── tensorart-generate/
├── SKILL.md
└── scripts/
├── _api.py # Auth and HTTP helpers
├── list_tools.py # Fetch available tools
├── create_task.py # Submit a generation task
├── query_task.py # Poll task status
├── upload_file.py # Upload a file to Cloudflare R2
└── download_result.py # Download output files locally
Prerequisites: Python 3.6+, Access Key at ~/.tensor_access_key
# List all available tools
python3 skills/tensorart-generate/scripts/list_tools.py
# Create a task
python3 skills/tensorart-generate/scripts/create_task.py "toolName" '[{"type":"STRING","value":"a cat"}]'
# Query task (single)
python3 skills/tensorart-generate/scripts/query_task.py <taskId>
# Query task (poll until done, 3s interval)
python3 skills/tensorart-generate/scripts/query_task.py <taskId> --poll
# Upload a file
python3 skills/tensorart-generate/scripts/upload_file.py /path/to/image.png
# Download a result
python3 skills/tensorart-generate/scripts/download_result.py <url> [output-path]
skills/SKILL.md and a scripts/ directoryMIT © 2026 Tensor-Art