Luma AI logoLuma AIImage1 route

Photon Flash Modify API

Make images with Photon Flash Modify through MartLLM.

luma/photon-flash-modifyConnect to ClaudeGet an API key
Show more

Made by Luma AI. MartLLM does not run this model. Here, sellers serve it through their own provider accounts.

Photon Flash Modify pricing

Official price% off listCheapest offer
$0.01 per image4.8%$0.0095 per image

Request

curl https://api.martllm.com/v1/images/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "luma/photon-flash-modify",
  "prompt": "Make the sky a warm sunset with soft pink clouds; keep everything else exactly the same",
  "resolution": "1k",
  "n": 1,
  "image_url": "https://example.com/photo.jpg"
}'

# → {"created": …, "data": [{"url": "https://api.martllm.com/v1/media/artifacts/<id>/0"}]}

# Download it
curl -L -o image.png -H "Authorization: Bearer $UBERLLM_API_KEY" "https://api.martllm.com/v1/media/artifacts/<id>/0"

Set UBERLLM_API_KEY to your key. Download the link with your key. A request that fails costs nothing. Full API guide

Options

Resolutions
1k
Input pictures
Up to 1
Model id
luma/photon-flash-modify

Try Photon Flash Modify

Settings

Start picture

About $0.0095 Before it starts you see the most it can cost. If it fails, you pay nothing.

The same request as the settings on the left, ready to copy.

curl https://api.martllm.com/v1/images/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "luma/photon-flash-modify",
  "prompt": "",
  "resolution": "1k",
  "n": 1
}'

# → {"created": …, "data": [{"url": "https://api.martllm.com/v1/media/artifacts/<id>/0"}]}

# Download it
curl -L -o image.png -H "Authorization: Bearer $UBERLLM_API_KEY" "https://api.martllm.com/v1/media/artifacts/<id>/0"

Examples to start from

01

Change the sky

Make the sky a warm sunset with soft pink clouds; keep everything else exactly the same

With your picture

02

Clean studio background

Replace the background with a clean white studio backdrop and a soft shadow under the subject

With your picture

03

Watercolor style

Turn this photo into a watercolor painting with soft edges and paper texture, same composition

With your picture

Photon Flash Modify API parameters

ParameterTypeWhat it does
modelluma/photon-flash-modifyRequired
promptstringRequired. What to make.
image_urlstringOne of these. A picture as an https:// link or a data: URI.
input_imagesarray<string>, Up to 1One of these. Several pictures (https:// links or data: URIs).
resolution1kOptional. Detail level.
ninteger, 1 to 10Optional · 1. How many pictures.
response_formaturl, b64_jsonOptional · url

Read from GET https://api.martllm.com/v1/models/luma/photon-flash-modify: the same rules the API checks every request against.

Photon Flash Modify API FAQ

How much does Photon Flash Modify cost per image?

On November 28, 2026, Photon Flash Modify costs $0.0095 per image through MartLLM, 4.8% below its list price of $0.01. Prices come from sellers on the MartLLM market and change during the day. A picture that fails costs nothing, and MartLLM adds no fee.

How do I make an image with Photon Flash Modify?

Send a POST to https://api.martllm.com/v1/images/generations with your MartLLM key, model "luma/photon-flash-modify" and a prompt. The image comes back in the answer.

Are there other fees?

MartLLM adds no fee to model prices. A card fee of 5.5% + $0.50 is added when you buy credit, and a request that fails is not billed.

Guides

Compare with similar models

Embed this price

Show these prices on your own site. The table reads the current prices from MartLLM, so it stays up to date.

Script: the table sets its own height

<script async src="https://martllm.com/embed.js" data-models="luma/photon-flash-modify"></script>

Plain iframe, for sites that allow no scripts

<iframe src="https://martllm.com/embed/prices?models=luma/photon-flash-modify" title="AI model API prices" width="100%" height="127" loading="lazy" style="border:0;max-width:720px"></iframe>

Price badge for a README (Markdown)

[![Photon Flash Modify API price on MartLLM](https://api.martllm.com/api/v1/public/badge/luma/photon-flash-modify.svg)](https://martllm.com/models/luma/photon-flash-modify?utm_source=embed&utm_medium=referral&utm_campaign=price-badge)

Every option is in the embed docs.