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
累計下載
2783
星標
1
全站排名
#3,886
全站前 77% · 「設計創意」前 74%
平台累計安裝累計下載星標評論
ClawHub ↗8125301-
SkillHub ↗23027831—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

透過 Fliz REST API 將文字或簡報轉換為 AI 影片,並管理影片狀態、翻譯和複製,也可查詢語音與音樂資源、接收 Webhook 通知。示例涉及認證 API 請求和影片建立,可能消耗服務額度;提交文字會由 Fliz 處理。保護 API 金鑰,不要提交未獲準處理的機密內容,併為公開部署的 Webhook 增加訪問控制。

資料釋出於 2026-10-27

可以用來做什麼

  • 將文字內容轉換為 AI 生成的影片
  • 在應用或自動化流程中整合影片生成和狀態通知

什麼時候用

  • 需要透過 API 建立或管理 Fliz 影片時
  • 需要配置生成流程、身份驗證或 Webhook 時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

把這段已獲准處理的文字轉換成影片,並先說明會傳送給 Fliz 的內容。

月度資料趨勢

累計下載2783
1904237628482026-03 · 累計下載 19692026-05 · 累計下載 22282026-06 · 累計下載 22862026-07 · 累計下載 24122026-08 · 累計下載 25322026-09 · 累計下載 278326-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092783—1
2026-082532+5.0%1
2026-072412+5.5%1
2026-062286+2.6%1
2026-052228—1
2026-031969—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),按月更新。口徑說明見資料方法。