360 Secure SkillHub
360 安全技能中心

Generate Tesla Car Wraps

核心功能是生成特斯拉不同车型的个性化车衣与涂装设计图,可在3D屏幕预览效果。典型场景为车主定制特斯拉外观涂装时,快速获取设计预览。需配置指定API密钥,支持CLI、Python或TypeScript脚本调用,输入含车型、风格、颜色等参数的JSON,输出为包含生成图URL的JSON结果。

ai-hub-admin
ai-hub-admin
热度 46.56
最近更新 2026-05-11 17:37:08
分类:创作依赖:第三方 API / 代码执行应用场景:图像生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add generate-tesla-car-wraps
Metadata
name
generate-tesla-car-wraps
description
Call Craftsman Agent API OneKey Router to generate Tesla Car Wrap Images and Paints that will display on 3D screen.
env
{"DEEPNLP_ONEKEY_ROUTER_ACCESS":{"required":true,"description":"OneKey Gateway API key"}}
dependencies
{"npm":["@aiagenta2z/onekey-gateway"],"python":["ai-agent-marketplace"]}
installation
{"npm":"npm -g install @aiagenta2z/onekey-gateway","python":"pip install ai-agent-marketplace"}

Generate Tesla Car Wraps

Call Craftsman Agent API OneKey Router to generate Tesla Car Wrap Images and Paints that will display on 3D screen.

Quick Start

  1. Set your environment variable DEEPNLP_ONEKEY_ROUTER_ACCESS.
  2. Use the CLI (primary suggested method) or the provided scripts.

Usage

1. CLI (Recommended)

CLI Illustration

onekey agent <unique_id> <api_id> $JSON --timeout 30000
  • <unique_id>: the unique identifier of the onekey routed agents, "owner/repo".
  • <api_id>: refers to the unique endpoint name of API.
  • $JSON: the json string passed to cli.
  • --timeout: controlls the timeout of API calling, unit is mill seconds.

Example

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_ACCESS_KEY
onekey agent craftsman-agent/craftsman-agent generate_tesla_wraps '{"prompt":"I would like to paint my tesla model YL similar to race car, color of a blue and purple with stars","images":[],"mode":"basic","car_model":"tesla_model_yl","output_number":1}' --timeout 30000

2. Python REST API

python3 scripts/generate_tesla_wraps.py --prompt "I would like to paint my tesla model YL similar to race car, color of a blue and purple with stars" --mode basic --car-model tesla_model_yl --output-number 1

3. TypeScript REST API

node scripts/generate_tesla_wraps.ts --prompt "I would like to paint my tesla model YL similar to race car, color of a blue and purple with stars" --mode basic --car-model tesla_model_yl --output-number 1

Authentication

Remember to set the environment variable:

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_ACCESS_KEY

Get your key at DeepNLP Workspace.

Demo Result

{"success":true,"text":"","images":[{"url":"https://us-static.aiagenta2z.com/local/files-wd/onekey_llm_router/efd67a8f-a427-4e56-8b00-c02d4eb332d5.png"}]}