TopRank Skills

Home / Claw Skills / Intégration d'API / cloudflare-image-gen
Official OpenClaw rules 36%

cloudflare-image-gen

Generate images using Cloudflare Workers AI flux-1-schnell model. Use when user requests image generation with text-to-image using Cloudflare Workers API.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 cloudflare-image-gen 技能。 若已安装,则直接安装 cloudflare-image-gen 技能。

Overview

Skill Key
expysf98/cloudflare-image-gen
Author
expysf98
Source Repo
openclaw/skills
Version
-
Source Path
skills/expysf98/cloudflare-image-gen
Latest Commit SHA
3ee02c03a33b7fcae7eb83a83448f2557e4ea9d2

Extracted Content

SKILL.md excerpt

# Cloudflare Image Generation

This skill generates images using Cloudflare Workers AI `@cf/black-forest-labs/flux-1-schnell` model.

## Credentials

- Account ID: `1e89d3ce76cbfef3b5c340e3984b7a52`
- Token: `aCTA2KaKa1n3ayFDL-LPmZ-JgUC0HHgA5Msy18Bk`
- Model: `@cf/black-forest-labs/flux-1-schnell`

## Usage

Run the script directly:

```bash
python3 /home/ubuntu/.openclaw/workspace/skills/cloudflare-image-gen/scripts/generate_image.py "your prompt here" -o output.png
```

Or use the Python function:

```python
import sys
sys.path.insert(0, '/home/ubuntu/.openclaw/workspace/skills/cloudflare-image-gen/scripts')
from generate_image import generate_image

output_path = generate_image("a black horse")
```

## Output

The script saves the generated image as PNG and returns the file path. Send the image to the user via Telegram.

Related Claw Skills