ckt-design

根据用户的海报平面设计需求,调用创客贴智能设计API生成设计缩略图。擅长制作邀请函、日签、小红书配图、商品海报、Banner等平面设计。当用户提到需要做海报、设计、邀请函、日签、小红书图、商品图、Banner,或提及平面设计、创客贴相关需求时使用此技能。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ckt-design" with this command: npx skills add hitlmt/ckt-design

创客贴智能海报设计

根据用户的设计需求,调用创客贴智能设计服务生成海报缩略图并展示。

执行流程

Step 1: 调用智能设计API

使用 HTTP GET 请求调用创客贴设计服务,将用户的原始设计需求作为 prompt 参数传入:

curl -G "https://gw.chuangkit.com/openplatform/intelligentDesign/api/generate" \
  --data-urlencode "prompt=用户的设计需求"

API 返回 JSON 格式,结构如下:

{
  "body": {
    "code": 200,
    "msg": "success",
    "data": [
      {
        "taskId": "任务ID",
        "designId": "设计ID",
        "imageUrl": "缩略图地址",
        "redirectUrl": "编辑跳转地址"
      }
    ]
  },
  "header": {
    "code": "1"
  }
}

每个设计结果包含:imageUrl(缩略图地址)和 redirectUrl(在线编辑地址)。

Step 2: 解析并展示结果

根据返回的 body.code 判断执行结果:

  • code != 200:设计生成失败,向用户提示错误信息(body.msg)。
  • code == 200:设计生成成功,执行以下操作:
    1. body.data 数组中取第一个设计结果的 imageUrl
    2. 使用默认浏览器打开该缩略图地址展示给用户

打开浏览器命令参考:

# macOS
open "缩略图URL"

# Windows
start "缩略图URL"

# Linux
xdg-open "缩略图URL"

注意事项

  • prompt 参数需要进行 URL 编码(--data-urlencode 会自动处理)
  • API 可能返回多个设计结果,默认取第一个展示
  • 如果用户需要查看更多设计方案,可以遍历 data 数组中的其他结果

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Poster Maker

AI 海报制作大师。三种模式:风格复刻、创意生成、直播预告海报。含产品原图还原方法论和生成脚本。Nano Banana Pro 生成,支持 Ofox/OpenRouter。

Registry SourceRecently Updated
1190Profile unavailable
General

Poster Designer

Create professional posters and visual designs using AI image generation. Supports event posters, product showcases, announcements, and social media graphics...

Registry SourceRecently Updated
1020Profile unavailable
General

Post Creator

Generate beautiful single-page HTML posters with various styles. Use when users want to create posters, flyers, promotional images, marketing materials, or v...

Registry Source
2540Profile unavailable
General

Colormind

Generate color palettes and get color suggestions via the Colormind.io API (list models, generate palettes with optional locked colors).

Registry SourceRecently Updated
7900Profile unavailable