Skip to main content
use-apify.com

Image Generation: guides & tutorials

Scrape prompts, styles, and metadata from galleries to benchmark models or build datasets. Apify helps collect visual web signals without manual downloads.

2 articles

View all tags

Image generation work often starts with scraped prompts, styles, and metadata from galleries to benchmark models or build datasets. These guides cover collecting visual web signals without manual downloads.

Apify helps gather the prompt and metadata corpora that creative automation depends on. Below you will find tutorials for scraping data that supports image generation workflows.

Related topics

ComfyUI7 min read

ComfyUI on a Cloud GPU: Run Stable Diffusion and FLUX Remotely (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

ComfyUI is a node-based workflow editor for Stable Diffusion and FLUX. It is more powerful and flexible than AUTOMATIC1111, with a steeper learning curve. The catch: SDXL wants 12GB+ VRAM, and FLUX wants 24GB+. Most consumer GPUs fall short. The solution: run ComfyUI on a cloud GPU server and access it via SSH tunnel or reverse proxy. This guide covers setup on a fresh GPU server, model management, essential workflows, and remote access. For hosting, Liquid Web offers GPU VPS with RTX 4090, A100, and H100 options.

AI7 min read

ComfyUI + n8n: Automate AI Image Generation Workflows (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

Trigger ComfyUI from n8n, generate images, and send them to Slack, S3, or your CMS. No manual clicking. This guide covers the ComfyUI API mode, building n8n workflows with HTTP Request nodes, dynamic prompts, batch generation, error handling, and the Make.com alternative. ComfyUI must be running with --listen to accept API requests — see ComfyUI on a cloud GPU for setup.

Guides on this site

Frequently asked questions

Frequently Asked Questions

Scraping collects reference images, style samples, and product photos that inform prompts or provide training data for custom models. Apify actors can download and organize image datasets from e-commerce sites, design galleries, or social platforms, building the raw material that fine-tuning and ControlNet workflows need.

Copyright law around AI training data is actively litigated. Images are creative works with full copyright protection. Training on scraped images without a license may constitute infringement depending on jurisdiction and fair use analysis. Getty Images, Shutterstock, and others have sued AI companies over training data. Always involve legal counsel.

Apify collects and stores images; ComfyUI or AUTOMATIC1111 processes them for generation. Python scripts using Pillow preprocess collected images for training. Hugging Face datasets hosts organized collections. The pipeline: scrape → validate → organize → preprocess → train or prompt, each stage with its own quality checks.

Extract image URLs from product pages alongside metadata—SKU, category, color attributes. Download asynchronously with async HTTP clients, validate formats, and organize by category. Apify datasets store metadata while key-value stores or S3 hold binary files. Maintain a manifest mapping SKUs to file paths for downstream processing.