360 Secure SkillHub
360 安全技能中心

Marketing Asset Generator

这是OpenClaw的AI营销资产生成全流程工作流,核心功能包括:通过DuckDuckGo搜索设计灵感、Gemini生成指定规格的营销图片、自动上传至飞书网盘、通过Slack通知团队并可提及成员。典型场景如夏季促销banner生成、新品上市营销资产制作,支持Python API调用,也能集成ClawFlow搭建自动化管道,输入设计/图片prompt即可获取资产链接及团队通知。

terrycarter1985
terrycarter1985
热度 34.48
最近更新 2026-05-11 17:41:28
分类:营销依赖:代码执行 / 联网浏览搜索 / 读写文件 / 第三方 API应用场景:图像生成 / 品牌素材 / 工作流 / 自动化脚本 ...

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add marketing-asset-generator
Metadata
name
marketing-asset-generator
description
AI-powered marketing asset generation workflow. Combines DuckDuckGo design inspiration search, Gemini Nano Banana Pro image generation, Feishu Drive cloud storage, and Slack team notifications.
tags
["marketing","image-generation","gemini","feishu","slack","automation","workflow"]
version
1.0.0
author
OpenClaw
license
MIT
repository
https://github.com/openclaw/openclaw
homepage
https://clawhub.com
metadata
{"openclaw":{"requires":{"envs":["GEMINI_API_KEY","FEISHU_APP_ID","FEISHU_APP_SECRET","FEISHU_TARGET_FOLDER_TOKEN","SLACK_BOT_TOKEN","SLACK_TARGET_CHANNEL_ID","MARKETING_TEAM_SLACK_MENTIONS"],"pip":["python-dotenv","duckduckgo-search","google-genai","requests","requests-toolbelt","slack-sdk"],"bins":["python3"]},"examples":[{"name":"Generate summer sale banner","prompt":"Generate a summer sale marketing banner and notify the team"},{"name":"Product launch campaign","prompt":"Create marketing assets for new product launch with inspiration search"}]}}

Marketing Asset Generator Skill

AI-powered end-to-end marketing asset generation workflow for OpenClaw agents.

Features

  • 🔍 Design Inspiration Search - DuckDuckGo image and text search for reference materials
  • 🎨 AI Image Generation - Powered by Google Gemini 3 Pro Image (Nano Banana Pro)
  • ☁️ Cloud Storage - Automatic upload to Feishu Drive
  • 💬 Team Notifications - Slack integration with previews and direct links
  • ⚡ Complete Workflow - Single command to run research → generate → store → notify

Installation

clawhub install marketing-asset-generator

Configuration

Set these environment variables in your .env file:

Variable Description Required
GEMINI_API_KEY Google Gemini API key ✅
FEISHU_APP_ID Feishu Open Platform App ID ✅
FEISHU_APP_SECRET Feishu Open Platform App Secret ✅
FEISHU_TARGET_FOLDER_TOKEN Feishu Drive folder token for uploads ✅
SLACK_BOT_TOKEN Slack Bot OAuth token ✅
SLACK_TARGET_CHANNEL_ID Slack channel ID for notifications ✅
MARKETING_TEAM_SLACK_MENTIONS User/team mentions (e.g., @here or <@U12345>) ❌

Usage

Python API

from marketing_asset_workflow import MarketingAssetGenerator

generator = MarketingAssetGenerator()
result = generator.run_full_workflow(
    design_prompt="summer sale 2024 marketing campaign design",
    image_prompt="Vibrant summer sale marketing banner with tropical elements, 50% off text, bright colors, modern design, 16:9 aspect ratio"
)

Individual Methods

# Search for design inspiration
inspiration = generator.search_design_inspiration("B2B SaaS landing page design")

# Generate marketing image
files = generator.generate_marketing_image(
    prompt="Professional B2B SaaS hero banner, blue color scheme, clean design",
    aspect_ratio="16:9",
    image_size="2K"
)

# Upload to Feishu Drive
links = [generator.upload_to_feishu_drive(f) for f in files]

# Notify Slack
generator.send_slack_notification(files, links, inspiration)

Image Configuration Options

Parameter Values
aspect_ratio 1:1, 16:9, 9:16, 4:3, 3:4
image_size 512, 1K, 2K, 4K

ClawFlow Integration

This skill can be used with ClawFlow to create automated marketing pipelines:

  • Scheduled campaign asset generation
  • Event-triggered asset creation
  • Multi-language marketing localization
  • A/B test variant generation

Support

For issues and feature requests, visit clawhub.com