This Claude skill integrates the powerful FLUX.2 Pro model to automate high-quality AI image generation. It streamlines the creative process by handling complex API polling, status monitoring, and file management, enabling users to transform text prompts into professional, photorealistic visual assets for digital content and marketing materials.
Use Cases
Social Media Content Creation: Generate high-resolution, engaging images specifically optimized for social media posts and digital storytelling.
Technical and Industrial Illustration: Produce professional visuals for IoT, hardware, and modern technology blogs using specialized prompt tips for industrial aesthetics.
Automated Marketing Assets: Integrate high-end AI image generation into automated workflows to create consistent visual content for landing pages and advertisements.
Rapid Prototyping for Design: Quickly visualize concepts and styles for creative direction using photorealistic outputs and customizable dimensions.
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