讲师中心 微信公众号
AI工具推荐 视频效率加速

FreeAds 随手拍广告

Polar Sponsor
爱发电 赞助
.NET 9.0

AI 高端广告视频生成器:将产品图转为 8 秒专业广告(含 BGM、Slogan、音效、运镜),通过 Atlas Cloud API (Veo 3.1) 生成。触发词:随手拍广告、生成广告视频、产品广告;输出:视频 URL。

FreeAds 随手拍广告 🎬

功能概述

FreeAds 随手拍广告 🎬是一项面向实际任务的技能,主要用于AI 高端广告视频生成器 | 最终产出:8 秒 TVC 级 MP4 视频(含 BGM、音效、专业运镜);📦 安装: clawhub install lipeng0820/freeads-snap-ad;

核心要点

  • ⚠️ 核心原则:产品外观保护(最高优先级);
  • 这是本 Skill 的价值核心,必须严格遵守:;
  • 🛡️ 产品保真三原则;

使用与执行

外观不走样 - 产品的形状、轮廓、设计细节必。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;

结果检查与注意事项

若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。该技能适合用于一次性任务,也可以接入自动化工作流,与其他技能或上层代理配合完成更完整的业务链路;在组合使用时,应明确每一步的输入输出关系,并避免不同步骤之间出现参数冲突。

FreeAds 随手拍广告 🎬

AI 高端广告视频生成器 | 最终产出:8 秒 TVC 级 MP4 视频(含 BGM、音效、专业运镜)

📦 安装:clawhub install lipeng0820/freeads-snap-ad

⚠️ 核心原则:产品外观保护(最高优先级)

这是本 Skill 的价值核心,必须严格遵守:

🛡️ 产品保真三原则

  1. 外观不走样 - 产品的形状、轮廓、设计细节必须与原图完全一致
  2. 材质不臆断 - 如果无法确定材质,不要描述,让 Veo 3.1 从图片推断
  3. 品牌不乱改 - 如果看不清品牌标识,不要猜测或编造

📊 置信度判断机制

在产品识别时,模型必须对以下属性输出置信度分数(0-100):

{
  "product": {
    "type": {"value": "Air Fryer", "confidence": 95},
    "material": {"value": "matte white plastic", "confidence": 60},
    "color": {"value": "white", "confidence": 90},
    "brand": {"value": "unknown", "confidence": 20},
    "texture": {"value": "smooth finish", "confidence": 45}
  }
}

规则:当 confidence < 80 时,该属性不得在 Veo 3.1 提示词中描述!

🌐 语言处理规则

  1. 与用户对话:使用用户的语言(中文用户用中文回复)
  2. 与底层模型交互:始终使用英文
  3. 翻译输出:将模型返回的英文结果翻译成用户语言后展示

🔑 API Key 获取

当用户没有配置 ATLASCLOUD_API_KEY 时:

❌ 需要 Atlas Cloud API Key 才能生成视频 🎬

请按以下步骤获取:
1. 访问 Atlas Cloud: https://www.atlascloud.ai?ref=LJNA3T
   🎁 新用户福利:使用此链接注册,首次充值可获得 25% 奖励(最高 $100)!
2. 登录后进入 Console -> API Keys
3. 创建并复制 API Key
4. 配置环境变量:export ATLASCLOUD_API_KEY="your-api-key"

🚨 执行流程

交互式确认流程

Step 1: 识别产品(含置信度) → 展示结果 → 等待用户确认 ✅
Step 2: 场景设计 → 展示结果 → 等待用户确认 ✅
Step 3: 分镜脚本 → 展示结果 → 等待用户确认 ✅
Step 4: 展示 Slogan → 等待用户确认 ✅
Step 5: 展示 Veo 3.1 提示词(低置信度属性已过滤) → 等待用户确认 ✅
Step 6: 生成视频 → 同时展示 Tips → 返回视频 URL

🎯 产品识别 Prompt(带置信度)

PRODUCT_RECOGNITION_PROMPT = """You are a product identification expert. Analyze the product image with EXTREME PRECISION.

## CRITICAL: CONFIDENCE SCORING

For EACH attribute, you MUST provide a confidence score (0-100):
- 90-100: Absolutely certain, clearly visible
- 70-89: Reasonably confident, mostly visible
- 50-69: Uncertain, partially visible or ambiguous
- 0-49: Cannot determine, guessing, or not visible

## PROTECTION RULES

1. **DO NOT GUESS** - If you cannot clearly see something, confidence should be LOW
2. **DO NOT FABRICATE** - Never make up brand names, logos, or specific details
3. **DO NOT ASSUME** - If material/texture is unclear, say "unknown" with low confidence
4. **PRESERVE ORIGINAL** - Your goal is to DESCRIBE what you SEE, not what you IMAGINE

## OUTPUT FORMAT (JSON)

{
  "product": {
    "category": {"value": "product category", "confidence": 95},
    "name": {"value": "product name", "confidence": 90},
    "shape": {"value": "shape description", "confidence": 85},
    "color": {"value": "color description", "confidence": 92},
    "material": {"value": "material or 'unknown'", "confidence": 55},
    "texture": {"value": "texture or 'unknown'", "confidence": 40},
    "brand": {"value": "brand name or 'unknown'", "confidence": 25},
    "logo_visible": {"value": true/false, "confidence": 80},
    "key_features": [
      {"value": "feature 1", "confidence": 88},
      {"value": "feature 2", "confidence": 75}
    ]
  },
  "appearance_summary": "Brief factual description of what is CLEARLY VISIBLE in the image",
  "uncertain_elements": ["list of elements that are unclear or ambiguous"],
  "overall_product_confidence": 85
}

## EXAMPLES

❌ WRONG (low confidence but detailed description):
"material": {"value": "premium brushed aluminum with anodized coating", "confidence": 45}

✅ CORRECT (low confidence = vague or unknown):
"material": {"value": "metallic surface, specific material unknown", "confidence": 45}

❌ WRONG (fabricating brand):
"brand": {"value": "Xiaomi", "confidence": 30}

✅ CORRECT (honest about uncertainty):
"brand": {"value": "unknown - no visible branding", "confidence": 10}
"""

📝 Veo 3.1 提示词构建(置信度过滤)

关键:只有 confidence >= 80 的属性才能进入 Veo 3.1 提示词!

def build_veo_prompt(product_data, scene_data, shots_data, slogan):
    """
    构建 Veo 3.1 提示词,自动过滤低置信度属性
    """
    
    # 提取高置信度属性
    high_confidence_attrs = []
    
    for attr, data in product_data.items():
        if isinstance(data, dict) and data.get("confidence", 0) >= 80:
            high_confidence_attrs.append(f"{attr}: {data['value']}")
    
    # 如果高置信度属性很少,使用通用描述
    if len(high_confidence_attrs) < 3:
        product_description = "the product exactly as shown in the input image"
    else:
        product_description = ", ".join(high_confidence_attrs)
    
    # 构建提示词
    prompt = f"""Premium 8-second TVC commercial.

PRODUCT APPEARANCE PROTECTION (CRITICAL):
- The product MUST appear EXACTLY as shown in the input image
- DO NOT modify, enhance, or reimagine the product's appearance
- Maintain exact shape, color, proportions, and all visible details
- If there are logos or brand elements, keep them exactly as shown
- The input image is the ONLY source of truth for product appearance

PRODUCT: {product_description}

SCENE: {scene_data.get('setting_description', 'professional studio setting')}
LIGHTING: {scene_data.get('lighting', 'professional studio lighting')}
MOOD: {scene_data.get('mood', 'premium, elegant')}

SHOTS:
"""
    
    for shot in shots_data:
        prompt += f"- {shot['timing']}: {shot['description']}. Camera: {shot['camera']}n"
    
    prompt += f"""
SLOGAN: "{slogan}" appears elegantly in the final shot.

STYLE: Premium TVC commercial, cinematic quality, Super Bowl ad level.
AUDIO: Epic background music with synchronized sound effects.

ABSOLUTE REQUIREMENT: The product's visual appearance must be IDENTICAL to the input image. 
No creative liberties with product design, color, shape, or branding."""

    return prompt

🎬 分镜脚本 Prompt(保护产品外观)

STORYBOARD_PROMPT = """You are a TVC commercial director. Create a 3-shot storyboard for an 8-second video.

## PRODUCT APPEARANCE PROTECTION (HIGHEST PRIORITY)

⚠️ WARNING: You are NOT allowed to describe specific product details unless you are CERTAIN.

RULES:
1. Use phrases like "the product" or "the item" instead of detailed descriptions
2. Focus on CAMERA MOVEMENT, LIGHTING, and SCENE - NOT product details
3. DO NOT describe materials, textures, or brand elements unless confidence >= 80%
4. Let the input image speak for itself - Veo 3.1 will preserve the product appearance

## GOOD vs BAD EXAMPLES

❌ BAD (too specific, may cause distortion):
"The brushed stainless steel air fryer with digital LED display rotates..."

✅ GOOD (respects product appearance):
"The product rotates slowly, showcasing its design from multiple angles..."

❌ BAD (fabricating details):
"The Apple logo gleams under the studio lights..."

✅ GOOD (factual):
"Any visible branding catches the light naturally..."

## SCENE SELECTION

Based on product category, choose appropriate environment:
- Kitchen Appliance → Modern kitchen, marble countertop
- Electronics → Clean desk, tech workspace
- Fashion → Lifestyle setting, editorial style
- Beauty → Spa-like bathroom, soft lighting
- Default → Professional studio with gradient backdrop

## OUTPUT FORMAT (JSON)

{
  "scene": {
    "environment": "environment type",
    "setting_description": "scene description WITHOUT product details",
    "lighting": "lighting description",
    "mood": "emotional tone"
  },
  "slogan": "2-5 word slogan",
  "shots": [
    {
      "number": 1,
      "timing": "0-3s",
      "type": "REVEAL",
      "description": "Shot description focusing on camera and scene, NOT product details",
      "camera": "camera movement",
      "audio": "audio cue"
    },
    {
      "number": 2,
      "timing": "3-6s",
      "type": "SHOWCASE",
      "description": "Shot description - let the product's actual appearance shine",
      "camera": "camera movement",
      "audio": "audio cue"
    },
    {
      "number": 3,
      "timing": "6-8s",
      "type": "HERO",
      "description": "Final shot with slogan",
      "camera": "camera movement",
      "audio": "audio cue"
    }
  ],
  "product_appearance_note": "Brief note about what aspects of the product you're uncertain about"
}
"""

📊 用户确认界面(显示置信度)

产品识别结果

## 🎯 产品识别结果

| 属性 | 识别结果 | 置信度 | 是否用于视频描述 |
|------|----------|--------|------------------|
| **类型** | 厨房电器 | 🟢 95% | ✅ 是 |
| **名称** | 空气炸锅 | 🟢 92% | ✅ 是 |
| **颜色** | 白色 | 🟢 90% | ✅ 是 |
| **形状** | 方形立式 | 🟢 88% | ✅ 是 |
| **材质** | 未知(看起来像塑料) | 🟡 55% | ❌ 否(交由 Veo 判断) |
| **品牌** | 未识别 | 🔴 20% | ❌ 否(保持原样) |
| **纹理** | 未知 | 🔴 40% | ❌ 否(保持原样) |

### 🛡️ 产品保护说明

> 为保护产品外观不走样,以下属性将**不会**在视频提示词中详细描述,而是让 Veo 3.1 直接参考原图:
> - 材质(置信度 55% < 80%)
> - 品牌(置信度 20% < 80%)
> - 纹理(置信度 40% < 80%)
>
> 这确保视频中的产品外观与您提供的原图保持一致。

---
👆 以上识别结果是否准确?低置信度属性将保持原样不做描述。
- 回复「确认」继续
- 回复「修改」并告诉我需要调整的内容

🎥 Veo 3.1 最终提示词模板

注意:低置信度属性使用通用表述

Premium 8-second TVC commercial.

PRODUCT APPEARANCE PROTECTION (CRITICAL):
- The product MUST appear EXACTLY as shown in the input image
- DO NOT modify, enhance, or reimagine the product's appearance
- Maintain exact shape, color, proportions, and all visible details
- If there are logos or brand elements, keep them exactly as shown
- The input image is the ONLY source of truth for product appearance

PRODUCT: [仅包含高置信度属性,如 "white kitchen appliance with digital display"]
         [低置信度属性省略,由 Veo 从图片判断]

SCENE: Modern minimalist kitchen with marble countertop
LIGHTING: Soft natural morning light
MOOD: Fresh, clean, inviting

SHOTS:
- 0-3s: The product is revealed in its natural kitchen setting. Camera: Slow dolly in
- 3-6s: Smooth orbital rotation showcasing the product from multiple angles. Camera: 60-degree arc
- 6-8s: Hero shot with product centered, slogan fades in. Camera: Static with subtle drift

SLOGAN: "Crisp Perfection"

ABSOLUTE REQUIREMENT: The product's visual appearance must be IDENTICAL to the input image.
No creative liberties with product design, color, shape, or branding.

💡 Tips 生成(视频等待期间)

TIPS_PROMPT = """基于产品类型:{product_type}

生成 5 条关于如何保护产品外观、写出更好广告提示词的技巧。

重点强调:
1. 如何避免产品外观走样
2. 哪些细节不应该过度描述
3. 如何让视频保持产品原始形态
4. 场景选择的技巧
5. 运镜设计的建议

用中文输出。"""

模型配置

功能 模型 ID
产品识别(带置信度) moonshotai/kimi-k2.5
分镜脚本 moonshotai/kimi-k2.5
Tips 生成 moonshotai/kimi-k2.5
视频生成 google/veo3.1/image-to-video

版本历史

  • v3.7.0 - 🛡️ 核心升级:引入置信度判断机制,低于 80% 的属性不进入提示词;强化产品外观保护
  • v3.6.0 - 新增交互式确认流程;Tips 贴士;多语言支持
  • v3.5.x - 优化分镜结构;智能场景选择
目录

热门AI工具

更多
AionClaw
AionClaw Hot

AionClaw是一款面向办公、创作和编程任务的AI桌面智能体。

Lovart
Lovart Hot

一款面向视觉设计创作的AI设计平台,可通过智能体和画布工作流辅助制作海报、Logo、网页、PPT及其他视觉内容。

讯飞智作

讯飞智作是一款AI视频创作工具,AI文本配音工具,数字人课程、营销视频制作。

创客贴AI

创客贴AI是一款AI图像与设计工具,AI辅助的智能在线设计工具。

豆包大模型

豆包大模型是一款由字节跳动推出的企业级大语言模型服务平台。

Loomy
Loomy Hot

一款AI工具,主要用于科大讯飞发布的桌面级 AI 助理,比 OpenClaw 更易用、更安全!,适合需要提升相关任务效率的用户。

DeepSeek

DeepSeek是一款面向对话、写作、编程和推理场景的AI大模型工具。

小橡皮AI

一款AI工具,主要用于小橡皮一键去AI味,将机器味重的内容改得更有活人感,防止因为 AI 内容被平台打上 AI 标签,以及限流,适合需要提升相关任务效率的用户。

WorkBuddy

一款AI办公效率工具,主要用于腾讯云推出的AI原生桌面智能体工作台,适合需要提升相关任务效率的用户。

相关专题

更多
Gradle插件开发入门教程
Gradle插件开发入门教程

本专题介绍Gradle插件开发的基本流程,涵盖插件类编写、自定义任务注册、扩展参数设计和插件应用方法,帮助你理解插件如何组织构建逻辑,减少多个项目之间的重复配置。

0

2026.10.22

Gradle Wrapper配置教程
Gradle Wrapper配置教程

本专题介绍Gradle Wrapper的基本作用,涵盖文件组成、生成方法、版本配置和任务调用,帮助你理解项目如何使用指定的Gradle版本,减少不同开发环境带来的构建差异。

0

2026.10.22

Golangci-lint检查器使用教程
Golangci-lint检查器使用教程

本专题整理Golangci-lint常用Linters的用途与配置方法,覆盖错误处理、无效代码、安全、复杂度、命名和依赖检查,帮助项目合理选规则。

0

2026.10.22

Gradle怎么构建Java项目
Gradle怎么构建Java项目

本专题介绍Gradle Java项目构建方法,涵盖Java插件配置、依赖声明、源码编译、测试执行和打包检查,帮助你理解各阶段的任务关系,逐步完成项目构建。

0

2026.10.22

PHP时间戳漏洞修复教程
PHP时间戳漏洞修复教程

本专题汇总PHP常见时间戳漏洞,包括2038年溢出、时区漂移、时间戳伪造、重放攻击、时间盲注与日志审计失效等,并给出升级64位环境、使用 DateTimeImmutable、统一UTC、严格超时校验、预处理绑定、hash_equals 比对等修复方案,帮助开发者快速排查和加固时间相关代码。

0

2026.10.22

Golangci-lint配置文件与规则设置
Golangci-lint配置文件与规则设置

本专题聚焦Golangci-lint YAML配置文件,讲清运行参数、规则启停、目录排除、问题过滤及严重级别设置,便于团队统一检查标准。

0

2026.10.22

Golangci-lint安装与入门教程
Golangci-lint安装与入门教程

本专题讲解Golangci-lint的安装、初始化、基础命令和首次代码检查,覆盖本地环境、Docker及多平台用法,帮助Go开发者快速上手。

0

2026.10.22

PHP2Shell高危漏洞修复教程
PHP2Shell高危漏洞修复教程

PHP2Shell漏洞是什么,哪些PHP版本和运行环境会受到影响,服务器应该如何检测与修复?本专题提供版本自查脚本、Linux与Docker升级命令、PHP-FPM和Apache排查步骤,以及修复验证、临时缓解和应急响应方案。

0

2026.10.22

剧云人物设定与关系管理教程
剧云人物设定与关系管理教程

本专题介绍剧云人物设定与关系管理,讲解角色小传、性格职业、人物目标、背景资料和关系网络的创建及维护方法。

0

2026.10.22

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
热门推荐
/
最新课程
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn