jb-fliz

Fliz AI Video Generator

设计创意v1.0.0
作者:jb-fliz更新于 2026-05-11fliz-ai-video-generator@clawhub_jb-fliz/fliz-ai-video-generator
视频处理#Fliz#Api Integration#Video Generation#Webhook#Content Creation

据 AlphaMoat 统计,截至 2026-09,Fliz AI Video Generator 累计下载 2,783 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,886 位,在「设计创意」分类(512 个)中排名第 374 位。

累计安装
230
累计下载
2,783
星标
1
全站排名
#3,886
全站前 77% · 「设计创意」前 74%
平台累计安装累计下载星标评论
ClawHub ↗812,5301-
SkillHub ↗2302,7831—

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

这个技能是做什么的

通过 Fliz REST API 将文本或简报转换为 AI 视频,并管理视频状态、翻译和复制,也可查询语音与音乐资源、接收 Webhook 通知。示例涉及认证 API 请求和视频创建,可能消耗服务额度;提交文本会由 Fliz 处理。保护 API 密钥,不要提交未获准处理的机密内容,并为公开部署的 Webhook 增加访问控制。

资料发布于 2026-10-27

可以用来做什么

  • 将文本内容转换为 AI 生成的视频
  • 在应用或自动化流程中集成视频生成和状态通知

什么时候用

  • 需要通过 API 创建或管理 Fliz 视频时
  • 需要配置生成流程、身份验证或 Webhook 时

示例提示词

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

把这段已获准处理的文本转换成视频,并先说明会发送给 Fliz 的内容。

月度数据趋势

累计下载2,783
1,9042,3762,8482026-03 · 累计下载 1,9692026-05 · 累计下载 2,2282026-06 · 累计下载 2,2862026-07 · 累计下载 2,4122026-08 · 累计下载 2,5322026-09 · 累计下载 2,78326-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

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

月份累计下载环比星标
2026-092,783—1
2026-082,532+5.0%1
2026-072,412+5.5%1
2026-062,286+2.6%1
2026-052,228—1
2026-031,969—1

SKILL.md 原文

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

6.4 KB · ClawHub v1.0.0
---
name: fliz-ai-video-generator
version: 1.0.0
author: gregorybeyrouti
description: |
  Complete integration guide for the Fliz REST API - an AI-powered video generation platform that transforms text content into professional videos with voiceovers, AI-generated images, and subtitles.
  
  Use this skill when:
  - Creating integrations with Fliz API (WordPress, Zapier, Make, n8n, custom apps)
  - Building video generation workflows via API
展开全部(共 234 行)
  - Implementing webhook handlers for video completion notifications
  - Developing automation tools that create, manage, or translate videos
  - Troubleshooting Fliz API errors or authentication issues
  - Understanding video processing steps and status polling
  
  Key capabilities: video creation from text/Brief, video status monitoring, translation, duplication, voice/music listing, webhook notifications.
homepage: https://fliz.ai
tags: [video, ai, fliz, content-creation, automation, api]
metadata:
  clawdbot:
    emoji: "🎬"
    primaryEnv: FLIZ_API_KEY
---

# Fliz API Integration Skill

Transform text content into AI-generated videos programmatically.

## Quick Reference

| Item | Value |
|------|-------|
| Base URL | `https://app.fliz.ai` |
| Auth | Bearer Token (JWT) |
| Get Token | https://app.fliz.ai/api-keys |
| API Docs | https://app.fliz.ai/api-docs |
| Format | JSON |

## Authentication

All requests require Bearer token authentication:

```bash
curl -X GET "https://app.fliz.ai/api/rest/voices" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
```

Test connection by calling `GET /api/rest/voices` - returns 200 if token is valid.

## Core Endpoints

### 1. Create Video

```
POST /api/rest/video
```

**Minimal request:**
```json
{
  "fliz_video_create_input": {
    "name": "Video Title",
    "description": "Full content text to transform into video",
    "format": "size_16_9",
    "lang": "en"
  }
}
```

**Response:**
```json
{
  "fliz_video_create": {
    "video_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
  }
}
```

> **CRITICAL**: The `description` field must contain the FULL TEXT content. Fliz does NOT extract content from URLs - upstream systems must fetch/process content first.

### 2. Get Video Status

```
GET /api/rest/videos/{id}
```

Poll this endpoint to track video generation progress. Check the `step` field:

| Step | Status |
|------|--------|
| `pending` → `scrapping` → `script` → `image_*` → `speech` → `video_rendering` | Processing |
| `complete` | ✅ Ready - `url` field contains MP4 |
| `failed` / `failed_unrecoverable` | ❌ Error - check `error` field |
| `user_action` | ⚠️ Requires manual intervention |

### 3. List Videos

```
GET /api/rest/videos?limit=20&offset=0
```

### 4. Translate Video

```
POST /api/rest/videos/{from_video_id}/translate?new_lang=fr
```

Creates a new video in the target language.

### 5. Duplicate Video

```
POST /api/rest/videos/{from_video_id}/duplicate
```

### 6. List Voices / Musics

```
GET /api/rest/voices
GET /api/rest/musics
```

## Video Creation Parameters

### Required Fields
- `name` (string): Video title
- `description` (string): Full text content
- `format` (enum): `size_16_9` | `size_9_16` | `square`
- `lang` (string): ISO 639-1 code (en, fr, es, de, pt, etc.)

### Optional Customization

| Field | Description | Default |
|-------|-------------|---------|
| `category` | `article` \| `product` \| `ad` | `article` |
| `script_style` | Narrative style | auto |
| `image_style` | Visual style | `hyperrealistic` |
| `caption_style` | Subtitle style | `animated_background` |
| `caption_position` | `bottom` \| `center` | `bottom` |
| `caption_font` | Font family | `poppins` |
| `caption_color` | Hex color (#FFFFFF) | white |
| `caption_uppercase` | Boolean | false |
| `voice_id` | Custom voice ID | auto |
| `is_male_voice` | Boolean | auto |
| `music_id` | Music track ID | auto |
| `music_url` | Custom music URL | null |
| `music_volume` | 0-100 | 15 |
| `watermark_url` | Image URL | null |
| `site_url` | CTA URL | null |
| `site_name` | CTA text | null |
| `webhook_url` | Callback URL | null |
| `is_automatic` | Auto-process | true |
| `video_animation_mode` | `full_video` \| `hook_only` | `full_video` |
| `image_urls` | Array of URLs | null |

> **Note**: For `product` and `ad` categories, `image_urls` is required (3-10 images).

For complete enum values, see [references/enums-values.md](references/enums-values.md).

## Webhooks

Configure `webhook_url` to receive notifications when video is ready or fails:

```json
{
  "event": "video.complete",
  "video_id": "a1b2c3d4-...",
  "step": "complete",
  "url": "https://cdn.fliz.ai/videos/xxx.mp4"
}
```

## Error Handling

| HTTP Code | Meaning | Action |
|-----------|---------|--------|
| 200 | Success | Continue |
| 400 | Bad Request | Check params |
| 401 | Unauthorized | Invalid/expired token |
| 404 | Not Found | Invalid video ID |
| 429 | Rate Limited | Retry with backoff |
| 500 | Server Error | Retry later |

## Integration Patterns

### Polling Pattern (Recommended)
```
1. POST /api/rest/video → get video_id
2. Loop: GET /api/rest/videos/{id}
   - If step == "complete": done, get url
   - If step contains "failed": error
   - Else: wait 10-30s, retry
```

### Webhook Pattern
```
1. POST /api/rest/video with webhook_url
2. Process webhook callback when received
```

## Code Examples

See [assets/examples/](assets/examples/) for ready-to-use implementations:
- `python_client.py` - Full Python wrapper
- `nodejs_client.js` - Node.js implementation
- `curl_examples.sh` - cURL commands
- `webhook_handler.py` - Flask webhook server

## Scripts

| Script | Usage |
|--------|-------|
| `scripts/test_connection.py` | Validate API key |
| `scripts/create_video.py` | Create video from text file |
| `scripts/poll_status.py` | Monitor video generation |
| `scripts/list_resources.py` | Fetch voices/musics |

Run with: `python scripts/<script>.py --api-key YOUR_KEY`

## Common Issues

**"Invalid API response"**: Verify JSON structure matches documentation exactly.

**Video stuck in processing**: Check `step` field - some steps like `user_action` require manual intervention in Fliz dashboard.

**No URL extraction**: The API requires direct text input. Build content extraction into your integration.

## References

- [API Reference](references/api-reference.md) - Complete endpoint documentation
- [Enum Values](references/enums-values.md) - All valid parameter values
- [Integration Examples](assets/examples/) - Ready-to-use code

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

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