Token导航 LogoToken导航TokenDH.com
图像处理敏感数据clawhub未标认证来源可访问clear审计提醒

falimagegenfalimagegen 图像

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

50,001

周安装

2,117

GitHub Stars

1

下载量

17,613
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:falimagegen(falimagegen 图像)
来源仓库:https://github.com/xxmzdxxxm/falimagegen
安装命令:
openclaw skills install falimagegen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install falimagegen

简介

调用fal.ai模型API进行图像生成(文本到图像和图像到图像)。当用户要求集成 fal、构造请求、运行作业、处理身份验证或从 fal 模型 API 返回图像 URL 时使用。

SKILL.md

name
fal-image-gen
description
Call fal.ai model APIs for image generation (text-to-image and image-to-image). Use when a user asks to integrate fal, construct requests, run jobs, handle auth, or return image URLs from fal model APIs.

Fal Image Gen

Overview

Use this skill to implement text-to-image or image-to-image calls against fal model APIs. Prioritize correctness by checking the current docs for the selected model’s required inputs/outputs and authentication requirements.

Quick Start

  1. Identify the target model ID from the fal model API docs.
  2. Collect inputs from the user.
  • Text-to-image: prompt, optional negative_prompt, size/aspect, steps, seed, safety options.
  • Image-to-image: source image URL, strength/denoise, plus prompt/options above.
  1. Pick the calling method.
  • If the user prefers SDKs: provide Python and/or JavaScript examples.
  • If the user prefers REST: provide a curl/HTTP example.
  1. Execute the request and return image URL(s) from the response.

Workflow: Text-to-Image

  1. Resolve the model ID and schema.
  • Open the fal model API docs and confirm the exact input fields and output format.
  1. Validate inputs.
  • Ensure prompt is non-empty and size/aspect settings are supported by the model.
  1. Build the request.
  • SDK: call the SDK’s run/submit method with an input object.
  • REST: call the model endpoint with a JSON body that matches the schema.
  1. Execute and parse output.
  • Extract image URL(s) from the response fields defined by the model.
  1. Return URLs.
  • Provide a clean list of URLs and note any metadata the user asked for (seed, size, etc.).

Workflow: Image-to-Image

  1. Resolve the model ID and schema.
  2. Validate inputs.
  • Ensure the source image is reachable by URL (or converted to the required format).
  • Confirm any strength/denoise range constraints from docs.
  1. Build the request.
  • Include source image + prompt + other options as required by the model.
  1. Execute and parse output.
  • Extract image URL(s) from the response fields defined by the model.
  1. Return URLs.

SDK vs REST Guidance

  • Prefer SDKs for simpler auth and retries.
  • Prefer REST when the user needs raw HTTP examples, or when running in environments without SDK support.
  • Never hardcode API keys. Follow the docs for the required environment variable or header name.

Minimal Examples (Fill From Docs)

Use these as templates only. Replace placeholders after checking the docs.

Python (SDK)

# Pseudocode: replace with the exact fal SDK import + call pattern from docs
import os
# from fal import client  # or the current SDK import

MODEL_ID = "<model-id-from-docs>"
input_data = {
    "prompt": "a cinematic photo of a red fox",
    # "image_url": "https://..."  # for image-to-image
    # "negative_prompt": "...",
    # "width": 1024,
    # "height": 1024,
}

# result = client.run(MODEL_ID, input=input_data)
# urls = extract_urls(result)

JavaScript (SDK)

// Pseudocode: replace with the exact fal SDK import + call pattern from docs
// import { client } from "@fal-ai/client";

const MODEL_ID = "<model-id-from-docs>";
const input = {
  prompt: "a cinematic photo of a red fox",
  // image_url: "https://..." // for image-to-image
};

// const result = await client.run(MODEL_ID, { input });
// const urls = extractUrls(result);

REST (curl)

# Pseudocode: replace endpoint, headers, and payload schema from docs
curl -X POST "https://<fal-api-base>/<model-endpoint>" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a cinematic photo of a red fox"
  }'

Resources

  • references/fal-model-api-checklist.md: Checklist for gathering inputs and validating responses.
  • references/fal-model-examples.md: Example templates for text-to-image, image-to-image, and REST usage.

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.48%
按下载量换算13,470

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills