luma/photon-flash 🔢📝❓🖼️ → 🖼️

⭐ Official ▶️ 237.7K runs 📅 Dec 2024 ⚙️ Cog 0.16.8 ⚖️ License
image-consistent-character-generation image-style-transfer image-to-image text-to-image

About

Accelerated variant of Photon prioritizing speed while maintaining quality

Example Output

Prompt:

"A train car is engulfed in a massive explosion, with flames and smoke billowing into the sky as debris flies in all directions, cinematic photograph, explosive action, high contrast, dynamic lighting."

Output

Example output

Performance Metrics

7.02s Prediction Time
7.03s Total Time
1 Images
All Input Parameters
{
  "prompt": "A train car is engulfed in a massive explosion, with flames and smoke billowing into the sky as debris flies in all directions, cinematic photograph, explosive action, high contrast, dynamic lighting.",
  "aspect_ratio": "16:9",
  "image_reference_weight": 0.85,
  "style_reference_weight": 0.85
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
prompt (required) Type: string
Text prompt for image generation
aspect_ratio Default: 16:9
Aspect ratio of the generated image
image_reference Type: string
Reference image to guide generation
style_reference Type: string
Style reference image to guide generation
character_reference Type: string
Character reference image to guide generation
image_reference_url Type: string
Deprecated: Use image_reference instead
style_reference_url Type: string
Deprecated: Use style_reference instead
image_reference_weight Type: numberDefault: 0.85Range: 0 - 1
Weight of the reference image. Larger values will make the reference image have a stronger influence on the generated image.
style_reference_weight Type: numberDefault: 0.85Range: 0 - 1
Weight of the style reference image
character_reference_url Type: string
Deprecated: Use character_reference instead
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 16612
Running prediction... 
Generating...
Generated image in 6.6sec
Downloading 1281581 bytes
Downloaded 1.22MB in 0.33sec
Version Details
Version ID
8cee7d47f81d8f4f77c1aec44ffb3d1ce09d36388db637ceaa8a6cbcf30b63e1
Version Created
November 7, 2025
Run on Replicate →