The FLUX.2 Pro Image Generation skill empowers Claude to generate high-fidelity, photorealistic AI images using the state-of-the-art FLUX.2 Pro model. It automates the entire creative workflow—from prompt optimization to asynchronous image processing and local file storage—enabling the seamless creation of professional visual assets for digital content.
Use Cases
Social Media Marketing: Automatically generate high-quality, contextually relevant images for social media posts to increase engagement and brand consistency.
Technical & IoT Illustration: Create professional-grade visuals of hardware, sensors, and industrial tech setups for blog posts, whitepapers, and technical documentation.
Rapid Prototyping: Quickly visualize creative concepts and photorealistic mockups for marketing campaigns, landing pages, and presentation decks using detailed style prompts.
Automated Content Creation: Integrate image generation into automated publishing pipelines to ensure every article or post is accompanied by a unique, high-resolution visual.
name
flux-image
description
FLUX.2 Pro gorsel uretimi. Use when generating AI images for posts.
FLUX.2 Pro Image Generation
Quick Reference
Fonksiyon
Amac
generate_image_flux()
Gorsel uret
get_credits()
Kredi sorgula
Kullanim
from app.flux_helper import generate_image_flux
result = await generate_image_flux(
prompt="Professional IoT sensor, modern tech style",
width=1024,
height=1024,
output_format="png"
)
if result["success"]:
image_path = result["image_path"]
Parametreler
Param
Default
Aciklama
prompt
required
Ingilizce prompt
width
1024
Genislik (px)
height
1024
Yukseklik (px)
output_format
"png"
png veya jpeg
max_wait_seconds
120
Timeout
API Akisi
1. POST /flux-2-pro -> task_id al
2. GET /get_result?id=task_id (polling, 2s aralik)
3. Status: Ready -> image URL indir
4. Dosyaya kaydet -> image_path don
Professional IoT sensor device mounted on greenhouse wall,
green LED indicator blinking, modern agricultural technology,
morning sunlight, shallow depth of field, photorealistic