---
title: "Luma Photon Flash 1 Text-to-Image API & Playground - Comfy"
description: "Luma Photon Flash 1 Text-to-Image: Generates an image with optional style and character references, faster and cheaper than Photon-1. Typical cost: 0.57 credits per run."
canonical: https://comfy.org/hub/models/luma-photon-flash-1-text-to-image/
lang: en
index: https://comfy.org/llms.txt
---

[Models](https://comfy.org/hub/models/)

Luma

[Generate images](https://comfy.org/hub/models/?useCase=generate-images)

# Luma Photon Flash 1 Text-to-Image

Generates an image with optional style and character references, faster and cheaper than Photon-1.

- Use via API
- [Open in Cloud](https://stagingcloud.comfy.org/)

0.57 credits /Run

- [text-to-image](https://comfy.org/hub/models/?q=text-to-image)

## Playground

Input

Prompt

Reference image

Select or drop an image PNG, JPEG, WEBP ·  up to 25 MiB

Aspect ratio

Output

![Luma Photon Flash 1 Text-to-Image: Koi pond from above](https://media.comfy.org/website/workshop/luma/photon-flash-1-image-generation/koi-pond-from-above.png)

Example

## Try an example

-

## Call this model from your code

Sends your Playground inputs to Comfy Router.

[API docs (opens in a new tab)](https://docs.comfy.org/development/comfy-router/models#luma)

1. ### Get an API key

  Needs a paid Cloud plan with credits.

  [Get an API key (opens in a new tab)](https://platform.comfy.org/profile/api-keys?onboarding=models&model=luma--photon-flash-1-image-generation--generate-images)
2. ### Install the SDK

  Python 3.10+. Also on npm as @comfyorg/sdk.

  pip install comfy-sdk==0.2.0
3. ### Run it

  Calls Comfy Router at this endpoint with your COMFY_API_KEY.

  POST /v2/models/luma/photon-flash-1

Fill in the Playground inputs to generate a request.

## More from Luma

Compare Luma's other models. Price is the default setting; resolution and duration show the full range each model offers.

| Model | Price | Resolution | Duration |
| --- | --- | --- | --- |
| [Luma Uni 1 Image Edit](https://comfy.org/hub/models/luma-uni-1-image-edit/) | — | — | — |
| [Luma Uni 1 Text-to-Image](https://comfy.org/hub/models/luma-uni-1-text-to-image/) | — | — | — |
| [Luma Uni 1 Max Image Edit](https://comfy.org/hub/models/luma-uni-1-max-image-edit/) | — | — | — |
| [Luma Uni 1 Max Text-to-Image](https://comfy.org/hub/models/luma-uni-1-max-text-to-image/) | — | — | — |
| [Luma Photon 1 Text-to-Image](https://comfy.org/hub/models/luma-photon-1-text-to-image/) | 2.19 credits /Run | — | — |
| [Luma Photon 1 Image Edit](https://comfy.org/hub/models/luma-photon-1-image-edit/) | 2.19 credits /Run | — | — |
| [Luma Ray 2 Image-to-Video](https://comfy.org/hub/models/luma-ray-2-image-to-video/) | — | 540p – 4K | 5 – 9s |
| [Luma Ray 2 Text-to-Video](https://comfy.org/hub/models/luma-ray-2-text-to-video/) | — | 540p – 4K | 5 – 9s |
| [Luma Photon Flash 1 Image Edit](https://comfy.org/hub/models/luma-photon-flash-1-image-edit/) | 0.57 credits /Run | — | — |
| [Luma Ray Flash 2 Image-to-Video](https://comfy.org/hub/models/luma-ray-flash-2-image-to-video/) | — | 540p – 4K | 5 – 9s |
| [Luma Ray Flash 2 Text-to-Video](https://comfy.org/hub/models/luma-ray-flash-2-text-to-video/) | — | 540p – 4K | 5 – 9s |
