Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

auto-ad-generator自动广告生成器

Agent Skill

auto-ad-generator 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,889

周安装

118

GitHub Stars

公开资料未说明

下载量

925
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:auto-ad-generator(自动广告生成器)
来源仓库:https://github.com/snakeruru/auto-ad-generator
安装命令:
openclaw skills install auto-ad-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install auto-ad-generator

简介

为多行业生成专业广告海报,提升营销物料制作效率。auto-ad-generator 属于效率类 Skill,可作为该场景下的辅助能力补充。

  • 支持汽车、文旅、香精、茶叶等领域定制化视觉设计。
  • 输入关键词与素材后可自动生成布局方案与文案建议。
  • 安装后用于创意策划阶段,需人工审核输出结果是否符合品牌调性。
  • 建议查看仓库说明了解模型能力边界与版权注意事项。

SKILL.md

name
auto-ad-generator
description
Generate professional advertisement posters for multiple industries including automotive, cultural tourism, fragrance, tea, and more. Create commercial layouts with AI-generated backgrounds using PIL (local/free) or Dreamina/即梦 (high-quality AI), composite product images with typography, and export to multiple platform formats (WeChat, Xiaohongshu, airport displays). Use when the user wants to create ads, marketing posters, commercial photography layouts, brand promotional materials, or replicate advertisement styles with product replacement. Trigger on phrases like "generate ad", "make poster", "create advertisement", "like Li Auto style", "product poster", "marketing material", or when the user uploads product images and asks for marketing layouts.
metadata
openclaw
requires
bins
env

Auto Ad Generator

Generate professional advertisement posters with AI-powered backgrounds and product compositing.

依赖声明 (Dependencies)

本 Skill 需要以下外部服务和工具:

必需的二进制文件

  • python3 - Python 3.8+
  • dreamina - Dreamina CLI (通过 curl -s https://jimeng.jianying.com/cli | bash 安装)

必需的环境变量

  • DREAMINA_API_KEY - Dreamina API 密钥
  • REMOVE_BG_API_KEY - remove.bg API 密钥(可选,用于背景移除)

可选 API 服务

  • DALL-E / Midjourney / Stability AI - 用于 AI 图像生成
  • Dreamina/即梦 - 主要 AI 生成后端
  • remove.bg - 产品图背景移除

Overview

This skill supports multiple industries and platforms:

  • Industries: Automotive, cultural tourism, fragrance/beauty, tea, recruitment, public welfare
  • Platforms: WeChat official accounts (21:9), Xiaohongshu (3:4), airport displays (16:9/9:16), lightboxes
  • Backends: PIL (local/free) or Dreamina/即梦 CLI (AI-powered, high quality)

Quick Start

Generate an Ad

# Using Dreamina AI backend
python main.py --backend dreamina \
  --car ./product.jpg \
  --brand "Brand Name" \
  --subtitle "Product Tagline" \
  --slogan "Marketing Slogan" \
  --platform xiaohongshu \
  --style premium \
  --output ./output

# Using PIL (local, free)
python main.py --backend pil \
  --car ./product.jpg \
  --brand "Brand Name" \
  --output ad.jpg

Interactive Mode

python main.py
# Follow prompts to select backend, platform, and style

Core Workflow

1. Analyze Input

When user provides car images and requests:

  • Identify car type: sedan, SUV, MPV, etc.
  • Extract key features: color, design highlights, target audience
  • Determine ad style: luxury, sporty, family-friendly, tech-focused

2. Gather Requirements

Ask the user (unless provided):

1. Brand name and model?
2. Main headline/slogan?
3. Subtitle/description?
4. Target audience? (young professionals, families, etc.)
5. Celebrity endorser image? (optional)
6. Preferred color scheme? (or auto-detect from brand)

3. Generate Ad Components

Background Generation

Use image generation to create gradient background:

Prompt template:
"Premium gradient background for car advertisement, 
{primary_color} to {secondary_color} smooth gradient, 
subtle light rays, luxury automotive aesthetic, 
minimalist, high-end commercial photography style, 
no text, no car, clean background only"

Car Subject Enhancement

  • Clean up the car image (remove background if needed)
  • Enhance lighting and reflections
  • Position car at 3/4 front angle or side profile

Typography Layout

Layout Structure (1080x1920 vertical):
┌─────────────────┐
│   HEADLINE      │ ← 40-60px, bold, white or contrast color
│   subtitle      │ ← 20-28px, lighter weight
│                 │
│   [CAR IMAGE]   │ ← Main visual, 60% of frame
│   [Celebrity]   │ ← Optional, overlapping or beside
│                 │
│   Slogan        │ ← Bottom area
│   Logo          │ ← Corner placement
└─────────────────┘

4. Style Reference: Li Auto Aesthetic

Color Palettes:

  • Premium: Deep blue → Purple gradient (#1a237e → #7c4dff)
  • Warm: Orange → Pink gradient (#ff6b35 → #f7931e)
  • Cool: Teal → Cyan gradient (#00897b → #00bcd4)
  • Dark: Black → Deep gray with subtle blue tint

Typography:

  • Headline: Bold, condensed sans-serif
  • Subtitle: Light weight, generous letter-spacing
  • Slogan: Italic or script for emotional touch

Lighting:

  • Soft, diffused key light
  • Subtle rim light on car edges
  • Gradient background with light source from top

5. Execution Steps

# Pseudo-code for skill execution
def generate_car_ad(car_image, params):
    # Step 1: Analyze car
    car_analysis = analyze_image(car_image)
    
    # Step 2: Generate background
    background = generate_image(
        prompt=build_background_prompt(params['style']),
        size="1024x1536"
    )
    
    # Step 3: Process car image
    car_processed = remove_background(car_image)
    car_enhanced = enhance_lighting(car_processed)
    
    # Step 4: Composite
    composite = overlay_car_on_background(
        background, 
        car_enhanced,
        position="center-bottom",
        scale=0.7
    )
    
    # Step 5: Add text
    final = add_typography(
        composite,
        headline=params['headline'],
        subtitle=params['subtitle'],
        slogan=params['slogan'],
        font_style=params['style']
    )
    
    # Step 6: Add logo
    if params.get('logo'):
        final = overlay_logo(final, params['logo'])
    
    return final

6. Quality Checklist

Before presenting to user:

  • [ ] Car is the clear focal point
  • [ ] Text is readable against background
  • [ ] Color harmony between car and background
  • [ ] Professional lighting on car
  • [ ] Brand/logo placement is subtle but visible
  • [ ] Overall composition follows rule of thirds

Example Outputs

Example 1: Li Auto Style SUV Ad

Input: SUV image, "理想i6", "新形态纯电五座SUV" Output: Purple-blue gradient, car at 3/4 angle, large white text, celebrity placement

Example 2: Sporty Sedan Ad

Input: Sports sedan, "P7", "纯粹驾驶乐趣" Output: Dark background with orange accent lighting, dynamic angle, bold typography

Example 3: Family MPV Ad

Input: Minivan, "MEGA", "全家人的幸福空间" Output: Warm gradient, spacious composition, friendly tone, emphasis on interior space

Tools & Scripts

Required Tools

  • Image generation (DALL-E, Midjourney, or local SD)
  • Image editing (remove.bg API or local model)
  • Text overlay (PIL/Pillow or similar)
  • Image composition (layer blending)

Bundled Scripts

  • scripts/generate_background.py - Generate gradient backgrounds
  • scripts/composite_ad.py - Layer car, background, text
  • scripts/typography.py - Add professional text layout

Guidelines

Do

  • Match background color to car's personality (sporty=warm, luxury=cool)
  • Keep text minimal - one headline, one subtitle max
  • Ensure car lighting matches background light source
  • Use high-resolution source images (min 1024px width)

Don't

  • Overcrowd with too much text
  • Use clashing colors (unless intentional for contrast)
  • Place car too small in frame (should be 50-70% of composition)
  • Ignore the brand's existing visual identity

Edge Cases

  • No car image provided: Ask user to upload, or generate concept car
  • Low resolution input: Upscale first, or use as thumbnail/concept only
  • Multiple cars: Focus on hero car, use others as supporting elements
  • Specific brand requirements: Follow brand guidelines over Li Auto style

Reference Materials

See references/ directory for:

  • li_auto_examples.md - Analysis of Li Auto ad patterns
  • color_palettes.json - Pre-defined gradient combinations
  • typography_guide.md - Font pairing recommendations
  • composition_templates/ - Layout reference images

Dreamina (即梦) Integration

This skill supports Dreamina CLI for AI-powered background generation with higher quality results.

Prerequisites

# Install Dreamina CLI
curl -s https://jimeng.jianying.com/cli | bash

# Login (required before use)
dreamina login --headless

Two Backend Modes

Mode 1: PIL (Local, Free)

Uses Python PIL to generate simple gradient backgrounds.

  • Pros: No API cost, instant, offline
  • Cons: Basic quality, limited styles
python main.py --backend pil --car image.jpg --brand 理想 --model i6

Mode 2: Dreamina (AI-powered)

Uses Dreamina's text2image for professional AI backgrounds.

  • Pros: High quality, diverse styles, professional aesthetics
  • Cons: Consumes credits (~10-50 per image)
python main.py --backend dreamina --car image.jpg --brand 理想 --model i6 \
  --platform xiaohongshu --style premium

Platform Presets

PlatformRatioSizeUse Case
wechat21:9~900×383公众号头图
xiaohongshu3:41242×1660小红书封面
airport_h16:91920×1080机场横屏广告
airport_v9:161080×1920机场竖屏广告
lightbox16:9Custom灯箱广告

Style Presets

StyleMoodBest For
premium豪华科技汽车、高端产品
warm运动年轻年轻品牌、运动产品
cool环保现代新能源、科技产品
dark神秘高端奢侈品、夜景
cultural国风山水文旅、传统文化
fragrance粉金轻奢美妆、香化
tea禅意自然茶叶、健康

Complete Workflow with Dreamina

# Step 1: Generate AI background
python main.py --backend dreamina \
  --car ./assets/suv.png \
  --brand 理想 \
  --model i6 \
  --subtitle "新形态纯电五座SUV" \
  --slogan "理想,就是活成自己喜欢的样子" \
  --platform xiaohongshu \
  --style premium \
  --output ./output

# Step 2: Check generation status
dreamina query_result --submit_id=<id_from_step1>

# Step 3: Download result and composite (manual or scripted)
# Step 4: Add typography using composite_ad.py

Credit Management

# Check remaining credits
dreamina user_credit

# Typical consumption:
# - text2image (2k): ~10-20 credits
# - text2image (4k): ~30-50 credits
# - image_upscale: ~20-40 credits

Advanced: Image-to-Image

Use existing image as base for style transfer:

from scripts.dreamina_backend import image_to_image

result = image_to_image(
    prompt="luxury car advertisement style, premium gradient background",
    image_path="existing_car_shot.jpg",
    ratio="16:9"
)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.45%
按下载量换算670

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills