Back to Templates

Generate Images with Luma Photon Flash AI via Replicate

Created by

Created by: Yaron Been || yaron-nofluff

Yaron Been

Last update

Last update a day ago

Share


Luma Photon Flash Image Generator

Description

Accelerated variant of Photon prioritizing speed while maintaining quality

Overview

This n8n workflow integrates with the Replicate API to use the luma/photon-flash model. This powerful AI model can generate high-quality image content based on your inputs.

Features

  • Easy integration with Replicate API
  • Automated status checking and result retrieval
  • Support for all model parameters
  • Error handling and retry logic
  • Clean output formatting

Parameters

Required Parameters

  • prompt (string): Text prompt for image generation

Optional Parameters

  • seed (integer, default: None): Random seed. Set for reproducible generation
  • aspect_ratio (string, default: 16:9): Aspect ratio of the generated image
  • image_reference (string, default: None): Reference image to guide generation
  • style_reference (string, default: None): Style reference image to guide generation
  • character_reference (string, default: None): Character reference image to guide generation
  • image_reference_url (string, default: None): Deprecated: Use image_reference instead
  • style_reference_url (string, default: None): Deprecated: Use style_reference instead
  • image_reference_weight (number, default: 0.85): Weight of the reference image. Larger values will make the reference image have a stronger influence on the generated image.
  • style_reference_weight (number, default: 0.85): Weight of the style reference image
  • character_reference_url (string, default: None): Deprecated: Use character_reference instead

How to Use

  1. Set up your Replicate API key in the workflow
  2. Configure the required parameters for your use case
  3. Run the workflow to generate image content
  4. Access the generated output from the final node

API Reference

Requirements

  • Replicate API key
  • n8n instance
  • Basic understanding of image generation parameters