← 返回 Skills 市场
jb-fliz

Fliz AI Video Generator

作者 jb-fliz · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1831
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install fliz-ai-video-generator
功能描述
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 - 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.
使用说明 (SKILL.md)

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:

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:

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

Response:

{
  "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
pendingscrappingscriptimage_*speechvideo_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.

Webhooks

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

{
  "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/ 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/\x3Cscript>.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

安全使用建议
This skill appears to be a legitimate Fliz API integration. Before installing or running: 1) Keep your FLIZ_API_KEY secret — store it in a secure secrets manager or environment variable and avoid committing it to source control. 2) Review the example scripts (create_video, webhook_handler, etc.) before running; they make outbound requests to https://app.fliz.ai and write simple logs/files (e.g., videos_YYYYMMDD.jsonl) to the working directory. 3) If you expose the webhook handler publicly, secure the endpoint (IP allowlist, HMAC signatures, or a shared secret) to prevent spoofed callbacks. 4) Run examples in an isolated environment (virtualenv/container) so dependencies (requests, flask, axios) don’t affect other projects. 5) Rotate the API key if you ever suspect it was logged or exposed. Overall there are no red flags, but standard operational precautions for API keys and webhooks apply.
功能分析
Type: OpenClaw Skill Name: fliz-ai-video-generator Version: 1.0.0 The skill bundle provides a legitimate integration for the Fliz AI video generation API. All code (Python, Node.js, Shell scripts) and documentation (`SKILL.md`, `README.md`, `references/*.md`) consistently direct network requests to `https://app.fliz.ai` for video creation and management. API keys are handled securely via environment variables or command-line arguments, and local file operations are limited to reading input or writing output/log files, which is aligned with the stated purpose. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts against the agent.
能力评估
Purpose & Capability
Name/description, SKILL.md, README, and the included example clients/scripts all target the Fliz REST API. The declared primary credential (FLIZ_API_KEY) is appropriate. No unrelated services, binaries, or config paths are requested.
Instruction Scope
SKILL.md and example scripts only instruct the agent/user to call Fliz endpoints, poll status, create videos, list resources, or run a webhook handler. Webhook examples write local logs/files (jsonl) and expect a public webhook URL when used — this is within the integration scope. The instructions do not request arbitrary file system/credential access or external endpoints unrelated to Fliz.
Install Mechanism
No install spec (instruction-only) is provided. Code files are included but there is no remote download or archive extraction step. The included Python/Node.js examples rely on standard packages (requests, axios, flask) — typical for such integrations.
Credentials
Only the Fliz API key is required (primaryEnv: FLIZ_API_KEY). A few examples reference optional env vars for runtime (FLASK_PORT, FLASK_DEBUG) which are standard and not privileged. No unrelated secrets or numerous credentials are requested.
Persistence & Privilege
The skill does not request permanent presence (always: false) and does not modify other skills or system-wide agent settings. Example scripts write local files for webhook history/records, which is normal for a webhook handler and clearly indicated in the code.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fliz-ai-video-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fliz-ai-video-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Full Fliz REST API integration. Create AI videos from text, poll status, translate, duplicate. Includes Python/Node.js/cURL examples, 68 image styles, 16 script styles, webhook support.
元数据
Slug fliz-ai-video-generator
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Fliz AI Video Generator 是什么?

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 - 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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1831 次。

如何安装 Fliz AI Video Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install fliz-ai-video-generator」即可一键安装,无需额外配置。

Fliz AI Video Generator 是免费的吗?

是的,Fliz AI Video Generator 完全免费(开源免费),可自由下载、安装和使用。

Fliz AI Video Generator 支持哪些平台?

Fliz AI Video Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Fliz AI Video Generator?

由 jb-fliz(@jb-fliz)开发并维护,当前版本 v1.0.0。

💬 留言讨论