Luma Photon is a text-to-image model that converts text prompts into images for prompt-based visual generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Idle

$0.015per run·~66 / $1

Baker arranging bread on wooden shelves in a rustic bakery, flour dust in the air, morning glow from the window

Dog curled up on a living room rug, fire crackling in the fireplace, owner reading beside them, soft jazz playing in the background

Street vendor cooking noodles late at night, steam rising from the wok, city lights glowing behind, hungry customers in line

Young man sketching in a notebook under a streetlight at night, quiet alley, distant voices and city hum

A cozy living room on a rainy afternoon, warm lighting, books on the coffee table, a cat curled up on the sofa, real-life atmosphere

Morning sunlight streaming into a small kitchen, steam rising from a coffee mug, unwashed dishes in the sink, a realistic family home

A father helping his child with homework at the dinner table, soft lighting, papers and crayons scattered, homey and emotional vibe

People waiting at a bus stop on a cloudy morning, wet pavement, umbrellas, cars passing by, urban realism

Young woman walking down a quiet city street at sunset, shops closing, soft golden hour light, light breeze moving her coat

A noodle shop kitchen in the middle of dinner rush, steam rising, cooks working fast, bowls stacked high, oil-stained walls
Generate beautiful, atmospheric images with Luma Photon — Luma's flagship text-to-image model. Known for stunning lighting, natural compositions, and emotionally resonant scenes, Photon delivers professional-quality results at an affordable price.
Looking for faster generation? Try Luma Photon Flash for speed-optimized output at the lowest cost.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate. |
Flat rate per image.
| Output | Cost |
|---|---|
| Per image | $0.015 |
| Model | Cost | Speed | Best For |
|---|---|---|---|
| Photon | $0.015 | Standard | Quality output, professional work |
| Photon Flash | $0.005 | Fastest | High-volume, prototyping, budget work |
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/luma/photon with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Photon below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/luma/photon" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"enable_base64_output": false
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("luma/photon", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"enable_base64_output": false
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"luma/photon",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"enable_base64_output": false
}
)
print(output["outputs"][0]) # → URL of the generated outputPhoton is a Luma model for image generation, exposed as a REST API on WaveSpeedAI. Luma Photon is a text-to-image model that converts text prompts into images for prompt-based visual generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/luma/luma-photon.
Photon starts at $0.015 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `enable_base64_output`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/luma/luma-photon.
Average end-to-end generation time on WaveSpeedAI is around 7 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.
Commercial usage rights depend on the model's license, set by its provider (Luma). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.