From 6560f1d77928b7437115783769bca3bc68c6192c Mon Sep 17 00:00:00 2001 From: Timothy Kassis Date: Thu, 4 Dec 2025 14:50:30 -0800 Subject: [PATCH] Change Flux.2-dev to flex since dev does not exist --- .claude-plugin/marketplace.json | 2 +- README.md | 2 +- scientific-skills/generate-image/SKILL.md | 8 ++++---- .../generate-image/scripts/generate_image.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index a5614c2..1cc7bb1 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -7,7 +7,7 @@ }, "metadata": { "description": "Claude scientific skills from K-Dense Inc", - "version": "2.8.0" + "version": "2.8.1" }, "plugins": [ { diff --git a/README.md b/README.md index 0b434a3..556c5a0 100644 --- a/README.md +++ b/README.md @@ -413,7 +413,7 @@ This repository contains **123+ scientific skills** organized across multiple do - Writing: Scientific Writing, Peer Review - Document processing: DOCX, PDF, PPTX, XLSX, MarkItDown - Publishing: Paper-2-Web -- Illustration: Generate Image (AI image generation with FLUX.2 Pro and Gemini 3 Pro) +- Illustration: Generate Image (AI image generation with FLUX.2 Pro and Gemini 3 Pro (Nano Banana Pro)) #### 🔬 **Scientific Databases** (27+ skills) - Protein: UniProt, PDB, AlphaFold DB diff --git a/scientific-skills/generate-image/SKILL.md b/scientific-skills/generate-image/SKILL.md index c2201de..c090662 100644 --- a/scientific-skills/generate-image/SKILL.md +++ b/scientific-skills/generate-image/SKILL.md @@ -43,12 +43,12 @@ The script will automatically detect the `.env` file and provide clear error mes - `black-forest-labs/flux.2-pro` - Fast, high quality, supports generation + editing **Generation only**: -- `black-forest-labs/flux.2-dev` - Development version, generation only +- `black-forest-labs/flux.2-flex` - Fast and cheap, but not as high quality as pro Select based on: -- **Quality**: Use gemini-3-pro or flux.2-pro -- **Editing**: Use gemini-3-pro or flux.2-pro (both support image editing) -- **Cost**: Use flux.2-dev for generation only +- **Quality**: Use gemini-3-pro or flux.2-flex +- **Editing**: Use gemini-3-pro or flux.2-flex (both support image editing) +- **Cost**: Use flux.2-flex for generation only ## Common Usage Patterns diff --git a/scientific-skills/generate-image/scripts/generate_image.py b/scientific-skills/generate-image/scripts/generate_image.py index e758364..1dd71d1 100755 --- a/scientific-skills/generate-image/scripts/generate_image.py +++ b/scientific-skills/generate-image/scripts/generate_image.py @@ -5,7 +5,7 @@ Generate and edit images using OpenRouter API with various image generation mode Supports models like: - google/gemini-3-pro-image-preview (generation and editing) - black-forest-labs/flux.2-pro (generation and editing) -- black-forest-labs/flux.2-dev (generation) +- black-forest-labs/flux.2-flex (generation) - And more image generation models available on OpenRouter For image editing, provide an input image along with an editing prompt. @@ -230,7 +230,7 @@ Examples: Popular image models: - google/gemini-3-pro-image-preview (default, high quality, generation + editing) - black-forest-labs/flux.2-pro (fast, high quality, generation + editing) - - black-forest-labs/flux.2-dev (development version) + - black-forest-labs/flux.2-flex (development version) """ )