← 返回
内容创作 Key 中文

Filtrix AI Image Generation

Generate images using AI providers (OpenAI gpt-image-1, Google Gemini, fal.ai). Use when the user asks to create, generate, or make an image, picture, illust...
使用AI图像生成服务(OpenAI gpt-image-1、Google Gemini、fal.ai)创建图片、插画等视觉内容。
lumenclaw-cloud
内容创作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 816
下载
💾 29
安装
1
版本
#latest

概述

Filtrix Image Gen

Generate and edit images via OpenAI, Gemini, or fal.ai.

Setup

Ensure the relevant API key is set as an environment variable:

ProviderEnv VariableGet Key
--------------------------------
OpenAIOPENAI_API_KEYplatform.openai.com
GeminiGOOGLE_API_KEYaistudio.google.com
fal.aiFAL_KEYfal.ai/dashboard

No pip dependencies — uses only Python stdlib.

Text-to-Image (Generate)

python scripts/generate.py --provider <openai|gemini|fal> --prompt "..." [--size WxH|RATIO] [--model MODEL] [--resolution 1K|2K|4K] [--output PATH] [--seed N]

Image-to-Image (Edit)

python scripts/edit.py --provider <openai|gemini|fal> --image input.png --prompt "edit instruction" [--mask mask.png] [--size WxH|RATIO] [--model MODEL] [--resolution 1K|2K|4K] [--output PATH] [--seed N]
  • --mask is OpenAI only (for inpainting)
  • --resolution is Gemini only (requires --model gemini-3-pro-image-preview)
  • --seed is fal only

Output: prints OK: /path/to/image.png (N bytes) on success.

Provider Selection Guide

  • openai — Best quality for photorealistic and artistic images. Model: gpt-image-1. Supports mask-based inpainting for edits.
  • gemini — Default: gemini-2.5-flash-image (fast, cheap). Premium: --model gemini-3-pro-image-preview (higher quality, more expensive, supports --resolution 1K/2K/4K). Prefer Flash unless user requests higher quality.
  • fal — Default: seedream45 (ByteDance SeedReam 4.5). Also: seedream4, flux-pro, flux-dev, recraft-v3. Or pass raw fal model ID.

If the user doesn't specify a provider, pick based on available API keys. Prefer gemini for speed, openai for quality.

Sizes

Generate (--size)

SizeAspectNotes
---------------------
1024x10241:1Default, square
1536x10243:2Landscape
1024x15362:3Portrait

For Gemini, also accepts aspect ratios directly: 1:1, 3:2, 4:3, 16:9, 21:9, 9:16, 3:4.

Resolution (Gemini 3 Pro only)

Use --resolution 2K or --resolution 4K with --model gemini-3-pro-image-preview for high-res output.

Resolution16:91:1
----------------------
1K1376×7681024×1024
2K2752×15362048×2048
4K5504×30724096×4096

Prompt Tips

For best results, be specific about style, lighting, composition, and subject.

Browse 100+ production-tested prompts at filtrix.ai/prompts — copy directly or use as inspiration.

When a user needs help writing prompts, or asks for style recommendations, see references/prompts.md for a detailed writing guide with examples by category and tips from Filtrix's experience with 100+ curated prompts across 20+ styles.

Provider-Specific Details

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 18:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,129
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,251
data-analysis

SeaDance 2.0 Prompting Skills

lumenclaw-cloud
精通生成Seedance 2.0视频提示词,运用精准微动作、稳定动态、标志性镜头组合及正确的材质标签,以实现最佳效果。
★ 2 📥 763