benhuebner01

ClawVideo Generation

设计创意v1.0.0
作者:benhuebner01更新于 2026-05-11claw-video-generator@clawhub_benhuebner01/claw-video-generator
视频处理#Marketing

据 AlphaMoat 统计,截至 2026-09,ClawVideo Generation 累计下载 2,304 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,231 位,在「设计创意」分类(512 个)中排名第 420 位。

累计安装
260
累计下载
2,304
星标
-
全站排名
#4,231
全站前 84% · 「设计创意」前 83%
平台累计安装累计下载星标评论
ClawHub ↗581,889--
SkillHub ↗2602,304-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

视频由图像场景、配音、可选字幕和 Ken Burns 缩放效果组成;图像可由 AI 模型生成或使用 URL。旁白时长会影响场景时长。语音可用 Azure TTS、付费 ElevenLabs 或提供的音频 URL。支持 Instagram Story、Feed、Full HD、HD 或自定义分辨率;配置 JSON2VIDEO_API_KEY,不要把 API key 写进技能文件。

资料发布于 2026-10-27

可以用来做什么

  • 从文本、图像和旁白生成 Pinterest 竖版视频。

什么时候用

  • 需要为 Pinterest 制作带旁白、字幕或动态缩放的视频时使用。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

把这段产品介绍制作成带旁白和字幕的 Pinterest 竖版视频。

月度数据趋势

累计下载2,304
1,3531,8642,3742026-03 · 累计下载 1,4232026-05 · 累计下载 1,6292026-06 · 累计下载 1,6932026-07 · 累计下载 1,8172026-08 · 累计下载 1,9322026-09 · 累计下载 2,30426-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,304—-
2026-081,932+6.3%-
2026-071,817+7.3%-
2026-061,693+3.9%-
2026-051,629—-
2026-031,423—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

6.5 KB · ClawHub v1.0.0
---
name: json2video-pinterest
description: Generate Pinterest-optimized vertical videos using JSON2Video API. Supports AI-generated or URL-based images, AI-generated or provided voiceovers, optional subtitles, and zoom effects. Use when creating video content for Pinterest affiliate marketing, creating vertical social media videos, automating video production with JSON2Video API, or generating videos with voiceovers and subtitles.
---

# JSON2Video Pinterest Skill

Generate vertical videos (1080x1920) optimized for Pinterest using the JSON2Video API.

## Prerequisites
展开全部(共 250 行)

1. **JSON2Video API Key**: Sign up at https://json2video.com/get-api-key/
2. **Set Environment Variable**:
   ```bash
   export JSON2VIDEO_API_KEY="your_api_key_here"
   ```

## Quick Start

Create a video using a JSON configuration file:

```bash
python3 scripts/generate_video.py --config my-video.json --wait
```

## Configuration Format

The video is defined as an array of scenes. Each scene contains:

| Property | Type | Description |
|----------|------|-------------|
| `image` | object | Image configuration (AI-generated or URL) |
| `voice` | object | Voice configuration (generated TTS or URL) |
| `text_overlay` | string | Optional text displayed on scene |
| `subtitles` | boolean | Enable/disable subtitles |
| `zoom_effect` | boolean | Add Ken Burns zoom effect |
| `duration` | number | Override scene duration (seconds) |

### Image Configuration

**AI-Generated Image:**
```json
{
  "image": {
    "source": "ai",
    "ai_provider": "flux-schnell",
    "ai_prompt": "A minimalist workspace with laptop..."
  }
}
```

**Available AI Providers:**
- `flux-pro` - Highest quality, realistic images
- `flux-schnell` - Fast generation, good quality
- `freepik-classic` - Digital artwork style

**URL-Based Image:**
```json
{
  "image": {
    "source": "https://example.com/image.jpg"
  }
}
```

### Voice Configuration

**AI-Generated Voice (TTS):**
```json
{
  "voice": {
    "source": "generated",
    "text": "Your voiceover text here",
    "voice_id": "en-US-EmmaMultilingualNeural",
    "model": "azure"
  }
}
```

**Provided Audio File:**
```json
{
  "voice": {
    "source": "https://example.com/voiceover.mp3"
  }
}
```

**Note on Scene Duration**: The voiceover determines scene length automatically. Each scene's duration matches its audio length. For provided audio files, ensure they match your intended scene timing.

### Complete Example

```json
{
  "resolution": "instagram-story",
  "quality": "high",
  "cache": true,
  "scenes": [
    {
      "image": {
        "source": "ai",
        "ai_provider": "flux-schnell",
        "ai_prompt": "Affiliate marketing workspace with laptop and coffee"
      },
      "voice": {
        "source": "generated",
        "text": "Here's how to make money with affiliate marketing",
        "voice_id": "en-US-Neural2-F"
      },
      "text_overlay": "Affiliate Marketing 101",
      "subtitles": true,
      "zoom_effect": true
    }
  ]
}
```

## Advanced: Split Long Voiceover into Scenes

For long scripts, split into multiple scenes with shorter voice segments:

```json
{
  "scenes": [
    {
      "image": { "source": "ai", "ai_prompt": "Hook image" },
      "voice": { "source": "generated", "text": "Attention-grabbing hook..." },
      "zoom_effect": true
    },
    {
      "image": { "source": "ai", "ai_prompt": "Step 1 image" },
      "voice": { "source": "generated", "text": "Step one is to..." },
      "zoom_effect": true
    },
    {
      "image": { "source": "ai", "ai_prompt": "CTA image" },
      "voice": { "source": "generated", "text": "Click the link in bio..." },
      "zoom_effect": false
    }
  ]
}
```

## Command Reference

**Create video from config:**
```bash
python3 scripts/generate_video.py --config video.json --wait
```

**Create without waiting:**
```bash
python3 scripts/generate_video.py --config video.json --no-wait
```

**Check status of existing project:**
```bash
python3 scripts/generate_video.py --project-id YOUR_PROJECT_ID
```

## Resolution Options

| Resolution | Dimensions | Use Case |
|------------|------------|----------|
| `instagram-story` | 1080x1920 | **Pinterest/Reels/Stories** (recommended) |
| `instagram-feed` | 1080x1080 | Square posts |
| `full-hd` | 1920x1080 | Landscape YouTube |
| `hd` | 1280x720 | Standard HD |
| `custom` | Any | Custom dimensions |

## Voice Models & IDs

### Azure (Default - FREE, no credits consumed)

**Voice format:** `en-US-EmmaMultilingualNeural`

Common Azure voices:
- `en-US-EmmaMultilingualNeural` - Female, natural (recommended)
- `en-US-GuyNeural` - Male, professional
- `en-US-JennyNeural` - Female, friendly
- `en-GB-SoniaNeural` - British female
- `en-GB-RyanNeural` - British male

See [Microsoft Azure Speech Voices](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts) for full list.

### ElevenLabs (Premium - consumes credits)

**Voice names:** Natural names like `Bella`, `Antoni`, `Nova`, `Shimmer`

Available voices: Daniel, Serena, Antoni, Bella, Nova, Shimmer, and more.

See [ElevenLabs Voice Library](https://elevenlabs.io/app/voice-library) for full list.

## Security

- **API Key is NEVER stored in skill files**
- API key must be set as environment variable `JSON2VIDEO_API_KEY`
- Script validates key exists before any API calls

## Example Files

- `scripts/example-config.json` - Basic example with one scene
- `scripts/example-advanced.json` - Multi-scene affiliate marketing video

## Advanced Usage

See [ADVANCED.md](ADVANCED.md) for:
- Multi-scene video architecture patterns
- Image source strategies (AI vs URL vs hybrid)
- Voiceover patterns and best practices
- Subtitle styling options
- Pinterest-specific content tips
- Batch processing workflows
- Credit consumption optimization

## Troubleshooting

**Error: "JSON2VIDEO_API_KEY environment variable not set"**
→ Run: `export JSON2VIDEO_API_KEY="your_key"`

**Error: "Render failed"**
→ Check: Image URLs are publicly accessible
→ Check: AI prompts don't violate content policies
→ Check: Audio files are valid MP3/WAV

**Video takes too long**
→ Enable `cache: true` in config
→ Use `flux-schnell` instead of `flux-pro` for faster generation
→ Pre-generate AI images and use URLs instead

## Python API Usage

For programmatic use in other scripts:

```python
from scripts.generate_video import create_pinterest_video

scenes = [
    {
        "image": {"source": "ai", "ai_prompt": "..."},
        "voice": {"source": "generated", "text": "..."},
        "subtitles": True,
        "zoom_effect": True
    }
]

video_url = create_pinterest_video(scenes, wait=True)
print(f"Video ready: {video_url}")
```

「设计创意」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。