PHOTON
Photon is a high-speed, lightweight rendering engine for creating realistic graphics and animations in real-time
Avg Run Time: 11.000s
Model Slug: photon
Playground
Input
Output
Example Result
Preview and download your result.

API & SDK
Create a Prediction
Send a POST request to create a new prediction. This will return a prediction ID that you'll use to check the result. The request should include your model inputs and API key.
Get Prediction Result
Poll the prediction endpoint with the prediction ID until the result is ready. The API uses long-polling, so you'll need to repeatedly check until you receive a success status.
Readme
Overview
photon — Text-to-Image AI Model
Developed by Luma as part of the photon family, photon is a text-to-image AI model that transforms descriptive prompts into photorealistic, high-fidelity images in seconds, solving the need for rapid, professional-grade visuals without complex tools or studios. Unlike traditional rendering engines, photon excels in multi-image referencing and character consistency, enabling creators to match specific styles or maintain identities across generations. Luma's photon delivers stunning results for Luma text-to-image workflows, making it ideal for artists and developers seeking text-to-image AI model efficiency on platforms like Eachlabs.
Technical Specifications
What Sets photon Apart
Photon stands out in the competitive text-to-image AI models comparison landscape with its native support for multi-image referencing, allowing users to upload multiple reference images to capture precise styles and compositions. This enables seamless style transfer and scene matching that generic models can't replicate without extensive fine-tuning. It also ensures exceptional character consistency by locking in facial features and appearances from uploaded references across new scenes, perfect for storytelling or product visualization.
- Multi-Image Referencing: Upload one or more images to guide style, mood, or elements; this produces outputs tightly aligned to your vision, ideal for AI image editor API integrations.
- Character Consistency: Reference a single character image to maintain identity in varied prompts; users gain reliable assets for series or campaigns without regeneration loops.
- High-Fidelity Output: Generates photorealistic images at resolutions like 512x768 or higher with pricing at $0.02 per image for Photon 1, supporting fast production workflows.
These capabilities, powered by Luma's advanced architecture, outperform standard text-to-image tools in precision and speed for real-world text-to-image applications.
Key Considerations
- Prompt Precision: The quality and relevance of the prompt significantly influence the output. Avoid vague or overly complex instructions.
- Aspect Ratio Compatibility: Ensure the chosen aspect_ratio aligns with the intended use case to prevent cropping or distortion.
- Reference Input Quality: High-resolution and contextually appropriate references enhance output fidelity.
- Seed Reproducibility: Use the same seed for identical outputs or vary it to explore creative possibilities.
Legal Information for Photon
By using this model, you agree to:
- Luma Privacy
- Luma Terms of Use
Tips & Tricks
How to Use photon on Eachlabs
Access photon seamlessly through Eachlabs' Playground for instant text-to-image testing, API for production-scale photon API calls, or SDK for custom integrations. Provide a detailed prompt, optional multi-image references for style or character consistency, and select resolutions like 512x768; expect high-fidelity PNG outputs in seconds at competitive costs. Eachlabs delivers optimized photon performance with easy scaling.
---Capabilities
Enhanced Visual Outputs
- Generates high-quality, contextually rich visuals tailored to user inputs.
- Combines multiple references seamlessly to create cohesive and visually striking outputs.
Adaptive Input Handling
- Supports diverse input types and combinations for versatile content generation.
- Offers robust control over visual style, composition, and thematic elements.
Creative Exploration for Photon
- Enables experimentation with prompts, references, and aspect ratios for innovative results.
- Facilitates reproducibility and variation through the seed parameter.
What Can I Use It For?
Use Cases for photon
For creators building immersive stories, photon lets you upload a character portrait and prompt "place this elf warrior in a misty ancient forest at dawn, wielding a glowing sword," ensuring the face and pose remain identical while adapting the environment—streamlining narrative illustration without manual edits.
Marketers using photon API for e-commerce can reference product photos with multi-image inputs like fabric swatches and backgrounds, generating "this sneaker on a urban street at night with neon reflections," to create diverse lifestyle shots that boost conversion rates.
Developers integrating Luma text-to-image into apps reference style images for consistent branding; input a logo and mood board to output "corporate team in modern office brainstorming with holographic displays," enabling scalable AI image editor for e-commerce features.
Designers crafting concepts upload sketches and material refs for rapid prototyping, such as "futuristic car interior with leather seats and ambient lighting," leveraging photon's fidelity for client-ready visuals in minutes.
Things to Be Aware Of
- Combine multiple references (image, style, character) to explore unique compositions.
- Experiment with aspect ratios to discover the best fit for your desired output.
- Use varying weights for style and image references to find the perfect balance.
- Test different seed values to uncover unexpected and creative results.
- Create cohesive visual stories by linking prompt and reference inputs strategically.
Limitations
- Prompt Dependency: Outputs are highly influenced by the clarity and specificity of the prompt.
- Reference Quality: Poor-quality reference URLs may result in suboptimal outputs.
- Aspect Ratio Constraints: Certain extreme ratios might not yield ideal results.
Output Format: JPG
Pricing
Pricing Detail
This model runs at a cost of $0.030 per execution.
Pricing Type: Fixed
The cost remains the same regardless of which model you use or how long it runs. There are no variables affecting the price. It is a set, fixed amount per run, as the name suggests. This makes budgeting simple and predictable because you pay the same fee every time you execute the model.
Related AI Models
You can seamlessly integrate advanced AI capabilities into your applications without the hassle of managing complex infrastructure.
