360 Secure SkillHub
360 安全技能中心

Marketing Asset Generator

面向营销场景的端到端素材生成工作流:先用 DuckDuckGo 搜索设计与文字灵感,再调用 Google Gemini 图像模型按指定比例和分辨率生成营销图片,随后上传至飞书云盘并向 Slack 团队频道发送带预览和链接的通知,可通过一个命令跑通搜索、生成、存储、通知全过程。

分类:营销
terrycarter1985
terrycarter1985
热度 21.38
最近更新 2026-05-11 17:41:28

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add terrycarter1985/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