Overview
The AI Image Generator Pipeline is a production-ready automation skill that transforms webhook triggers into fully optimized, published images across your digital ecosystem. This skill orchestrates a complete workflow: receive webhook events → intelligently generate or enhance prompts → call DALL-E 3 or Flux AI → optimize images for web/mobile → upload to WordPress, AWS S3, or Cloudinary → notify stakeholders.
Why this matters: Content teams waste 40% of time on image sourcing and optimization. This skill eliminates manual steps, ensures consistency, and scales visual content production without hiring designers.
Integrations: WordPress (REST API), AWS S3, Cloudinary, Slack (notifications), Zapier (webhook triggers), Make.com, Google Drive (backup storage), Stripe (usage billing).
Quick Start
Try these example prompts immediately to see the skill in action:
Generate a hero image for a blog post about sustainable fashion with
DALL-E 3, optimize for web (1920x1080), and upload to my WordPress
media library with alt text "sustainable fashion hero image".
Webhook trigger: When a new Shopify product is created, generate
a product lifestyle image using Flux AI with the product description
as the prompt, compress to 500KB, and upload to S3 with CDN URL.
Batch generate 5 variations of a minimalist coffee shop interior
using DALL-E, apply Instagram-style filters, add watermarks, and
create a WordPress gallery post with all variations.
Monitor incoming webhook events from my email marketing platform.
For each campaign, generate a hero banner image from the campaign
subject line, optimize for mobile (800x600), and auto-insert into
the email template's image placeholder.
Capabilities
1. Intelligent Prompt Generation
- Accepts raw webhook data and transforms it into detailed, style-consistent prompts
- Maintains prompt templates for brand consistency (e.g., "minimalist tech startup aesthetic")
- Supports dynamic variables:
{product_name}, {brand_color}, {target_audience}
- Automatic prompt enhancement with style descriptors, lighting, composition cues
Example:
Input webhook: {"product": "Blue Wireless Earbuds", "category": "electronics"}
Generated prompt: "Premium blue wireless earbuds on white marble surface,
studio lighting, minimalist composition, product photography, 8k, trending on behance"
2. Multi-Model Image Generation
- DALL-E 3: Superior quality, better prompt adherence, ideal for branded content
- Flux AI: Faster generation, excellent for batch operations, lower cost
- Model selection logic: automatic based on quality/speed requirements or user preference
- Supports size variants: 1024x1024, 1024x1792, 1792x1024 (DALL-E); flexible (Flux)
- Retry logic with exponential backoff for API failures
3. Advanced Image Optimization
- Format conversion: JPEG (web), PNG (transparency), WebP (modern browsers), AVIF (next-gen)
- Compression: Intelligent quality settings (0-100), target file sizes (50KB-5MB)
- Resizing: Responsive breakpoints (mobile: 375px, tablet: 768px, desktop: 1920px)
- Watermarking: Brand logo overlay, text watermarks, opacity control
- Filters & effects: Saturation boost, contrast enhancement, color grading presets
- Metadata embedding: SEO-friendly alt text, EXIF data, copyright notices
Example:
Optimize for WordPress:
- Generate 3 sizes: 300x300 (thumbnail), 800x600 (medium), 1920x1080 (full)
- Convert to WebP with quality 85
- Compress to max 200KB per image
- Add brand watermark (bottom-right, 20% opacity)
- Embed alt text and SEO keywords
4. Multi-Destination Publishing
- WordPress: Direct REST API upload to media library, auto-attach to posts, set featured images
- AWS S3: Bucket organization by date/category, CloudFront CDN integration, access control
- Cloudinary: Cloud-based optimization, dynamic URL transformations, version control
- Google Drive: Automated backup, folder organization, sharing permissions
- Custom webhooks: POST optimized image URLs to your own systems
5. Webhook Event Processing
- Listens on custom webhook endpoint (auto-generated)
- Supports: Shopify (product creation), WordPress (post publish), Stripe (payment events), custom JSON
- Webhook signature verification (HMAC-SHA256) for security
- Automatic retry on failed deliveries (3 attempts, exponential backoff)
- Webhook history and audit logs
6. Batch Operations & Scheduling
- Process multiple images in parallel (configurable concurrency: 1-10)
- Schedule generation at off-peak hours to save API costs
- Cron-based triggers: "Generate product images every morning at 2 AM"
- Dry-run mode to preview outputs before publishing
Configuration
Required Environment Variables
# Image Generation APIs
OPENAI_API_KEY=sk-... # DALL-E 3 access
FLUX_API_KEY=flux-... # Flux AI access (optional)
# WordPress Integration
WORDPRESS_URL=https://mysite.com # Your WordPress domain
WORDPRESS_API_TOKEN=abc123xyz # Application password (WordPress 5.6+)
WORDPRESS_USER=automation # API user account
# AWS S3 Integration
AWS_S3_BUCKET=my-images-bucket # S3 bucket name
AWS_ACCESS_KEY_ID=AKIA... # IAM access key
AWS_SECRET_ACCESS_KEY=... # IAM secret key
AWS_REGION=us-east-1 # S3 region
# Cloudinary (Optional)
CLOUDINARY_CLOUD_NAME=mycloud # Cloudinary account
CLOUDINARY_API_KEY=... # Cloudinary API key
CLOUDINARY_API_SECRET=... # Cloudinary API secret
# Slack Notifications (Optional)
SLACK_WEBHOOK_URL=https://hooks... # Slack incoming webhook
SLACK_CHANNEL=#content-alerts # Notification channel
# Security
WEBHOOK_SECRET=your-secret-key # HMAC signing key for webhooks
Configuration Options
# config.yaml example
image_generation:
model: "dalle3" # "dalle3" or "flux"
quality: "high" # "standard", "high"
size: "1024x1024" # DALL-E sizes
style: "vivid" # "vivid" or "natural"
optimization:
formats: ["webp", "jpg"] # Output formats
quality: 85 # JPEG/WebP quality (0-100)
max_file_size_kb: 200 # Max compressed size
add_watermark: true # Embed brand watermark
watermark_path: "./assets/logo.png"
watermark_opacity: 0.2
publishing:
primary_destination: "s3" # "wordpress", "s3", "cloudinary"
secondary_destinations: ["wordpress"]
s3_folder_structure: "images/{date}/{category}"
wordpress_post_status: "draft" # Auto-publish or save as draft
generate_srcset: true # Create responsive image sets
webhook:
port: 3000
path: "/webhook/images"
timeout_ms: 30000
max_retries: 3
notifications:
slack_enabled: true
notify_on: ["success", "failure"]
include_image_preview: true
Setup Instructions
Install dependencies:
npm install openai @aws-sdk/client-s3 cloudinary axios
# or: pip install openai boto3 cloudinary requests
Set environment variables:
export OPENAI_API_KEY="sk-..."
export WORDPRESS_URL="https://mysite.com"
# ... (see above for all vars)
Generate webhook endpoint:
# The skill auto-generates a unique webhook URL:
# https://openclaw.ai/webhooks/ai-image-gen-{skill_id}
# Copy this and add it to your Shopify/WordPress/Stripe webhook settings
Test the connection:
curl -X POST https://openclaw.ai/webhooks/ai-image-gen-{skill_id} \
-H "Content-Type: application/json" \
-d '{"product": "Test Product", "description": "A blue widget"}'
Example Outputs
Scenario 1: E-Commerce Product Image Generation
Input (Shopify webhook):
{
"event": "product.created",
"product": {
"id": 12345,
"title": "Wireless Noise-Canceling Headphones",
"description": "Premium audio with 30-hour battery",
"vendor": "AudioTech Pro"
}
}
Generated Prompt:
"Premium wireless noise-canceling headphones in matte black and silver,
studio product photography, white background, professional lighting,
high-end audio equipment aesthetic, 8k quality, trending on product hunt"
Output:
WordPress Media Library:
├── audiotech-pro-headphones-1024x1024.webp (150 KB)
├── audiotech-pro-headphones-800x600.webp (98 KB)
├── audiotech-pro-headphones-300x300.webp (32 KB)
└── Meta: alt="Premium wireless noise-canceling headphones by AudioTech Pro"
AWS S3:
└── s3://my-images/images/2024-01-15/electronics/
├── audiotech-pro-headphones-full.webp
└── audiotech-pro-headphones-thumb.webp
Slack Notification:
✅ Image generated successfully
Product: Wireless Noise-Canceling Headphones
Model: DALL-E 3
Size: 1024x1024
File size: 150 KB
WordPress: https://mysite.com/wp-content/uploads/2024/01/audiotech-pro.webp
CDN URL: https://d123.cloudfront.net/images/2024-01-15/audiotech-pro.webp
Scenario 2: Blog Content Image Generation
Input (WordPress post publish event):
{
"event": "post.published",
"post": {
"id": 42,
"title": "10 Sustainable Fashion Trends for 2024",
"excerpt": "Eco-friendly clothing is no longer niche. Here are the trends defining sustainable fashion.",
"category": "Fashion"
}
}
Generated Output:
Image 1 (Hero banner - 1920x1080):
- Prompt: "Sustainable fashion 2024 trends, eco-friendly clothing,
organic materials, minimalist aesthetic, diverse models, natural lighting,
editorial photography, trending on vogue"
- Format: WebP, 85% quality, 180 KB
- Alt text: "Sustainable fashion trends 2024 - eco-friendly clothing collection"
- Destination: WordPress featured image + S3 backup
Image 2 (Social media square - 1080x1080):
- Same prompt, cropped for Instagram
- Format: WebP, 90% quality, 120 KB
- Watermark: "SustainableFashionBlog.com" (bottom-right, 15% opacity)
Batch Output:
├── featured-image-hero-1920x1080.webp
├── featured-image-hero-1080x1080.webp (Instagram)
├── featured-image-hero-800x600.webp (mobile)
└── featured-image-hero-300x300.webp (thumbnail)
Tips & Best Practices
1. Prompt Engineering for Consistency
- Create brand style guides as prompt templates:
Template: "{product_name} in {brand_color}, {style} aesthetic,
{lighting}, {composition}, {quality_level}, trending on {platform}"
- Use consistent descriptors: "studio lighting" vs "natural light", "minimalist" vs "maximalist"
- Test prompts manually first; refine before automating
2. Cost Optimization
- DALL-E 3: $0.04-0.10 per image (1024x1024). Best for hero/featured images.
- Flux: $0.01-0.03 per image. Best for batch operations and thumbnails.
- Strategy: Use Flux for thumbnails/social, DALL-E 3 for hero images
- Set up cost alerts: notify when monthly spend exceeds $100
- Use dry-run mode to preview before publishing (saves API calls)
3. Image Optimization Best Practices
- WebP format: 25-35% smaller than JPEG, supported by 95% of browsers
- Responsive images: Generate 3 sizes minimum (mobile/tablet/desktop)
- File size targets: Thumbnails <50KB, medium <150KB, full <300KB
- Watermarking: Use 15-25% opacity to avoid obscuring content
- SEO: Always include descriptive alt text (80-120 characters)
4. Webhook Reliability
- Implement idempotency: use product ID + timestamp as unique key to prevent duplicates
- Monitor webhook logs: check failed deliveries in the skill dashboard
- Set up Slack alerts for generation failures
- Test webhook signatures in development before production
5. WordPress Integration Tips
- Use "draft" status initially; review before auto-publishing
- Set featured images automatically:
_thumbnail_id meta field
- Organize media by folder:
/2024/01/products/ structure
- Leverage WordPress image sizes: register custom sizes in theme
- Use SEO plugins (Yoast) to auto-fill meta descriptions from alt text
6. Batch Processing Efficiency
- Process in parallel (concurrency: 5-10) to reduce total time
- Schedule batch jobs at 2-4 AM to use cheaper off-peak API rates
- Monitor API rate limits: DALL-E (3 req/min free tier, 50 req/min paid)
- Use caching: store generated prompts to avoid re-generating
7. Brand Consistency Across Channels
- Create separate prompt templates for each platform:
- Instagram: square (1080x1080), vibrant colors, trendy aesthetic
- LinkedIn: professional (1200x627), corporate look, minimal text
- Website: responsive (1920x1080), aligned with brand guidelines
- Use consistent color palettes: reference brand hex codes in prompts
- A/B test: generate 2 variations, track engagement to refine prompts
Safety & Guardrails
What This Skill Will NOT Do
Copyright & IP Protection:
- Will NOT generate images that mimic copyrighted artwork or trademarked designs
- Will NOT bypass DALL-E's content policy (no celebrity likenesses without permission)
- Will NOT create images of real people without explicit consent
- Recommendation: Review generated images for IP issues before publishing
Harmful Content:
- Will NOT generate violent, explicit, or hateful content
- Will NOT create deepfakes or misleading images
- Will NOT generate images that violate OpenAI/Flux terms of service
- Built-in content filters block prohibited prompts
**Unauthorized Publishing
1---2name: ai-image-generator-pipeline3description: "Automate AI image generation from webhooks with DALL-E/Flux, optimization, and WordPress/CDN upload. Use when the user needs batch image creation, content automation, or visual asset pipelines."4version: 1.0.05homepage: https://github.com/ncreighton/empire-skills6metadata:7 {8 "openclaw": {9 "requires": {10 "env": ["OPENAI_API_KEY", "FLUX_API_KEY", "WORDPRESS_URL", "WORDPRESS_API_TOKEN", "AWS_S3_BUCKET", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"],11 "bins": ["imagemagick", "ffmpeg"]12 },13 "os": ["macos", "linux", "win32"],14 "files": ["SKILL.md"],15 "emoji": "🎨"16 }17 }18---1920## Overview2122The **AI Image Generator Pipeline** is a production-ready automation skill that transforms webhook triggers into fully optimized, published images across your digital ecosystem. This skill orchestrates a complete workflow: receive webhook events → intelligently generate or enhance prompts → call DALL-E 3 or Flux AI → optimize images for web/mobile → upload to WordPress, AWS S3, or Cloudinary → notify stakeholders.2324**Why this matters:** Content teams waste 40% of time on image sourcing and optimization. This skill eliminates manual steps, ensures consistency, and scales visual content production without hiring designers.2526**Integrations:** WordPress (REST API), AWS S3, Cloudinary, Slack (notifications), Zapier (webhook triggers), Make.com, Google Drive (backup storage), Stripe (usage billing).2728---2930## Quick Start3132Try these example prompts immediately to see the skill in action:3334```35Generate a hero image for a blog post about sustainable fashion with 36DALL-E 3, optimize for web (1920x1080), and upload to my WordPress 37media library with alt text "sustainable fashion hero image".38```3940```41Webhook trigger: When a new Shopify product is created, generate 42a product lifestyle image using Flux AI with the product description 43as the prompt, compress to 500KB, and upload to S3 with CDN URL.44```4546```47Batch generate 5 variations of a minimalist coffee shop interior 48using DALL-E, apply Instagram-style filters, add watermarks, and 49create a WordPress gallery post with all variations.50```5152```53Monitor incoming webhook events from my email marketing platform. 54For each campaign, generate a hero banner image from the campaign 55subject line, optimize for mobile (800x600), and auto-insert into 56the email template's image placeholder.57```5859---6061## Capabilities6263### 1. **Intelligent Prompt Generation**64- Accepts raw webhook data and transforms it into detailed, style-consistent prompts65- Maintains prompt templates for brand consistency (e.g., "minimalist tech startup aesthetic")66- Supports dynamic variables: `{product_name}`, `{brand_color}`, `{target_audience}`67- Automatic prompt enhancement with style descriptors, lighting, composition cues6869**Example:**70```71Input webhook: {"product": "Blue Wireless Earbuds", "category": "electronics"}72Generated prompt: "Premium blue wireless earbuds on white marble surface, 73studio lighting, minimalist composition, product photography, 8k, trending on behance"74```7576### 2. **Multi-Model Image Generation**77- **DALL-E 3**: Superior quality, better prompt adherence, ideal for branded content78- **Flux AI**: Faster generation, excellent for batch operations, lower cost79- Model selection logic: automatic based on quality/speed requirements or user preference80- Supports size variants: 1024x1024, 1024x1792, 1792x1024 (DALL-E); flexible (Flux)81- Retry logic with exponential backoff for API failures8283### 3. **Advanced Image Optimization**84- **Format conversion**: JPEG (web), PNG (transparency), WebP (modern browsers), AVIF (next-gen)85- **Compression**: Intelligent quality settings (0-100), target file sizes (50KB-5MB)86- **Resizing**: Responsive breakpoints (mobile: 375px, tablet: 768px, desktop: 1920px)87- **Watermarking**: Brand logo overlay, text watermarks, opacity control88- **Filters & effects**: Saturation boost, contrast enhancement, color grading presets89- **Metadata embedding**: SEO-friendly alt text, EXIF data, copyright notices9091**Example:**92```93Optimize for WordPress: 94- Generate 3 sizes: 300x300 (thumbnail), 800x600 (medium), 1920x1080 (full)95- Convert to WebP with quality 8596- Compress to max 200KB per image97- Add brand watermark (bottom-right, 20% opacity)98- Embed alt text and SEO keywords99```100101### 4. **Multi-Destination Publishing**102- **WordPress**: Direct REST API upload to media library, auto-attach to posts, set featured images103- **AWS S3**: Bucket organization by date/category, CloudFront CDN integration, access control104- **Cloudinary**: Cloud-based optimization, dynamic URL transformations, version control105- **Google Drive**: Automated backup, folder organization, sharing permissions106- **Custom webhooks**: POST optimized image URLs to your own systems107108### 5. **Webhook Event Processing**109- Listens on custom webhook endpoint (auto-generated)110- Supports: Shopify (product creation), WordPress (post publish), Stripe (payment events), custom JSON111- Webhook signature verification (HMAC-SHA256) for security112- Automatic retry on failed deliveries (3 attempts, exponential backoff)113- Webhook history and audit logs114115### 6. **Batch Operations & Scheduling**116- Process multiple images in parallel (configurable concurrency: 1-10)117- Schedule generation at off-peak hours to save API costs118- Cron-based triggers: "Generate product images every morning at 2 AM"119- Dry-run mode to preview outputs before publishing120121---122123## Configuration124125### Required Environment Variables126127```bash128# Image Generation APIs129OPENAI_API_KEY=sk-... # DALL-E 3 access130FLUX_API_KEY=flux-... # Flux AI access (optional)131132# WordPress Integration133WORDPRESS_URL=https://mysite.com # Your WordPress domain134WORDPRESS_API_TOKEN=abc123xyz # Application password (WordPress 5.6+)135WORDPRESS_USER=automation # API user account136137# AWS S3 Integration138AWS_S3_BUCKET=my-images-bucket # S3 bucket name139AWS_ACCESS_KEY_ID=AKIA... # IAM access key140AWS_SECRET_ACCESS_KEY=... # IAM secret key141AWS_REGION=us-east-1 # S3 region142143# Cloudinary (Optional)144CLOUDINARY_CLOUD_NAME=mycloud # Cloudinary account145CLOUDINARY_API_KEY=... # Cloudinary API key146CLOUDINARY_API_SECRET=... # Cloudinary API secret147148# Slack Notifications (Optional)149SLACK_WEBHOOK_URL=https://hooks... # Slack incoming webhook150SLACK_CHANNEL=#content-alerts # Notification channel151152# Security153WEBHOOK_SECRET=your-secret-key # HMAC signing key for webhooks154```155156### Configuration Options157158```yaml159# config.yaml example160image_generation:161 model: "dalle3" # "dalle3" or "flux"162 quality: "high" # "standard", "high"163 size: "1024x1024" # DALL-E sizes164 style: "vivid" # "vivid" or "natural"165166optimization:167 formats: ["webp", "jpg"] # Output formats168 quality: 85 # JPEG/WebP quality (0-100)169 max_file_size_kb: 200 # Max compressed size170 add_watermark: true # Embed brand watermark171 watermark_path: "./assets/logo.png"172 watermark_opacity: 0.2173174publishing:175 primary_destination: "s3" # "wordpress", "s3", "cloudinary"176 secondary_destinations: ["wordpress"]177 s3_folder_structure: "images/{date}/{category}"178 wordpress_post_status: "draft" # Auto-publish or save as draft179 generate_srcset: true # Create responsive image sets180181webhook:182 port: 3000183 path: "/webhook/images"184 timeout_ms: 30000185 max_retries: 3186187notifications:188 slack_enabled: true189 notify_on: ["success", "failure"]190 include_image_preview: true191```192193### Setup Instructions1941951. **Install dependencies:**196 ```bash197 npm install openai @aws-sdk/client-s3 cloudinary axios198 # or: pip install openai boto3 cloudinary requests199 ```2002012. **Set environment variables:**202 ```bash203 export OPENAI_API_KEY="sk-..."204 export WORDPRESS_URL="https://mysite.com"205 # ... (see above for all vars)206 ```2072083. **Generate webhook endpoint:**209 ```bash210 # The skill auto-generates a unique webhook URL:211 # https://openclaw.ai/webhooks/ai-image-gen-{skill_id}212 # Copy this and add it to your Shopify/WordPress/Stripe webhook settings213 ```2142154. **Test the connection:**216 ```bash217 curl -X POST https://openclaw.ai/webhooks/ai-image-gen-{skill_id} \218 -H "Content-Type: application/json" \219 -d '{"product": "Test Product", "description": "A blue widget"}'220 ```221222---223224## Example Outputs225226### Scenario 1: E-Commerce Product Image Generation227228**Input (Shopify webhook):**229```json230{231 "event": "product.created",232 "product": {233 "id": 12345,234 "title": "Wireless Noise-Canceling Headphones",235 "description": "Premium audio with 30-hour battery",236 "vendor": "AudioTech Pro"237 }238}239```240241**Generated Prompt:**242```243"Premium wireless noise-canceling headphones in matte black and silver, 244studio product photography, white background, professional lighting, 245high-end audio equipment aesthetic, 8k quality, trending on product hunt"246```247248**Output:**249```250WordPress Media Library:251├── audiotech-pro-headphones-1024x1024.webp (150 KB)252├── audiotech-pro-headphones-800x600.webp (98 KB)253├── audiotech-pro-headphones-300x300.webp (32 KB)254└── Meta: alt="Premium wireless noise-canceling headphones by AudioTech Pro"255256AWS S3:257└── s3://my-images/images/2024-01-15/electronics/258 ├── audiotech-pro-headphones-full.webp259 └── audiotech-pro-headphones-thumb.webp260261Slack Notification:262✅ Image generated successfully263Product: Wireless Noise-Canceling Headphones264Model: DALL-E 3265Size: 1024x1024266File size: 150 KB267WordPress: https://mysite.com/wp-content/uploads/2024/01/audiotech-pro.webp268CDN URL: https://d123.cloudfront.net/images/2024-01-15/audiotech-pro.webp269```270271### Scenario 2: Blog Content Image Generation272273**Input (WordPress post publish event):**274```json275{276 "event": "post.published",277 "post": {278 "id": 42,279 "title": "10 Sustainable Fashion Trends for 2024",280 "excerpt": "Eco-friendly clothing is no longer niche. Here are the trends defining sustainable fashion.",281 "category": "Fashion"282 }283}284```285286**Generated Output:**287```288Image 1 (Hero banner - 1920x1080):289- Prompt: "Sustainable fashion 2024 trends, eco-friendly clothing, 290 organic materials, minimalist aesthetic, diverse models, natural lighting, 291 editorial photography, trending on vogue"292- Format: WebP, 85% quality, 180 KB293- Alt text: "Sustainable fashion trends 2024 - eco-friendly clothing collection"294- Destination: WordPress featured image + S3 backup295296Image 2 (Social media square - 1080x1080):297- Same prompt, cropped for Instagram298- Format: WebP, 90% quality, 120 KB299- Watermark: "SustainableFashionBlog.com" (bottom-right, 15% opacity)300301Batch Output:302├── featured-image-hero-1920x1080.webp303├── featured-image-hero-1080x1080.webp (Instagram)304├── featured-image-hero-800x600.webp (mobile)305└── featured-image-hero-300x300.webp (thumbnail)306```307308---309310## Tips & Best Practices311312### 1. **Prompt Engineering for Consistency**313- Create brand style guides as prompt templates:314 ```315 Template: "{product_name} in {brand_color}, {style} aesthetic, 316 {lighting}, {composition}, {quality_level}, trending on {platform}"317 ```318- Use consistent descriptors: "studio lighting" vs "natural light", "minimalist" vs "maximalist"319- Test prompts manually first; refine before automating320321### 2. **Cost Optimization**322- DALL-E 3: $0.04-0.10 per image (1024x1024). Best for hero/featured images.323- Flux: $0.01-0.03 per image. Best for batch operations and thumbnails.324- **Strategy:** Use Flux for thumbnails/social, DALL-E 3 for hero images325- Set up cost alerts: notify when monthly spend exceeds $100326- Use dry-run mode to preview before publishing (saves API calls)327328### 3. **Image Optimization Best Practices**329- **WebP format:** 25-35% smaller than JPEG, supported by 95% of browsers330- **Responsive images:** Generate 3 sizes minimum (mobile/tablet/desktop)331- **File size targets:** Thumbnails <50KB, medium <150KB, full <300KB332- **Watermarking:** Use 15-25% opacity to avoid obscuring content333- **SEO:** Always include descriptive alt text (80-120 characters)334335### 4. **Webhook Reliability**336- Implement idempotency: use product ID + timestamp as unique key to prevent duplicates337- Monitor webhook logs: check failed deliveries in the skill dashboard338- Set up Slack alerts for generation failures339- Test webhook signatures in development before production340341### 5. **WordPress Integration Tips**342- Use "draft" status initially; review before auto-publishing343- Set featured images automatically: `_thumbnail_id` meta field344- Organize media by folder: `/2024/01/products/` structure345- Leverage WordPress image sizes: register custom sizes in theme346- Use SEO plugins (Yoast) to auto-fill meta descriptions from alt text347348### 6. **Batch Processing Efficiency**349- Process in parallel (concurrency: 5-10) to reduce total time350- Schedule batch jobs at 2-4 AM to use cheaper off-peak API rates351- Monitor API rate limits: DALL-E (3 req/min free tier, 50 req/min paid)352- Use caching: store generated prompts to avoid re-generating353354### 7. **Brand Consistency Across Channels**355- Create separate prompt templates for each platform:356 - Instagram: square (1080x1080), vibrant colors, trendy aesthetic357 - LinkedIn: professional (1200x627), corporate look, minimal text358 - Website: responsive (1920x1080), aligned with brand guidelines359- Use consistent color palettes: reference brand hex codes in prompts360- A/B test: generate 2 variations, track engagement to refine prompts361362---363364## Safety & Guardrails365366### What This Skill Will NOT Do3673681. **Copyright & IP Protection:**369 - Will NOT generate images that mimic copyrighted artwork or trademarked designs370 - Will NOT bypass DALL-E's content policy (no celebrity likenesses without permission)371 - Will NOT create images of real people without explicit consent372 - Recommendation: Review generated images for IP issues before publishing3733742. **Harmful Content:**375 - Will NOT generate violent, explicit, or hateful content376 - Will NOT create deepfakes or misleading images377 - Will NOT generate images that violate OpenAI/Flux terms of service378 - Built-in content filters block prohibited prompts3793803. **Unauthorized Publishing