Pricing
Compare models →Flat rate per run. Each run produces one edited image, and the price is the same whatever the prompt or source image.
| Output | Cost |
|---|---|
| Per image (one run, default settings) | $0.01 |
| 100 images (100 runs) | $1.00 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | The image to generate an image from. |
README
Luma Photon Flash Modify
Edit images at lightning speed with Luma Photon Flash Modify. This ultra-fast model handles text replacement, element modifications, and quick edits with minimal cost — perfect for high-volume workflows, rapid iteration, and simple image adjustments.
Looking for higher quality? Try Luma Photon Modify for enhanced output.
Why It Looks Great
- Flash speed: Optimized for the fastest possible generation.
- Text replacement: Edit text directly within images seamlessly.
- Natural language editing: Describe changes in plain English.
- Ultra-affordable: Just $0.01 per image (one run, default settings) — the lowest cost option.
- Prompt Enhancer: Built-in tool to refine your editing instructions.
- High-volume ready: Perfect for batch processing at scale.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text instruction describing the edit or modification you want. |
| image | No | Source image to modify (upload or public URL). |
How to Use
- Write your edit instruction — describe what you want to change.
- Use Prompt Enhancer (optional) — click to refine your instruction.
- Upload your image — drag and drop or paste a public URL.
- Run — click the button to apply the edit.
- Download — preview and save your modified image.
Pricing
Flat rate per run. Each run produces one edited image, and the price is the same whatever the prompt or source image.
| Output | Cost |
|---|---|
| Per image (one run, default settings) | $0.01 |
| 100 images (100 runs) | $1.00 |
Best Use Cases
- Text Replacement — Fix typos, update text, or change words within images.
- Quick Fixes — Make simple adjustments and corrections rapidly.
- High-Volume Editing — Process large batches of images affordably.
- Rapid Iteration — Test edit concepts quickly before final production.
- E-commerce Updates — Quickly modify product text and labels.
Example Prompts
- "Replace 'y2ek' with 'y2k' on the shirt"
- "Change the text from 'SALE' to 'NEW'"
- "Fix the spelling of 'recieve' to 'receive'"
- "Replace the logo text with 'BRAND'"
- "Change '2024' to '2025' on the banner"
- "Update the price tag from '$99' to '$79'"
Model Comparison
| Model | Cost | Speed | Best For |
|---|---|---|---|
| Photon Flash Modify | $0.01 per image (default settings) | Fastest | Text edits, quick fixes, high-volume |
| Photon Modify | See model page | Fast | Background replacement, scene changes |
Pro Tips for Best Results
- Flash is ideal for text corrections and simple modifications.
- Be precise about what to change: specify the original and replacement text.
- Use quotes around text to be replaced for clarity.
- At $0.01 per image (default settings), experiment freely to find the best result.
- For complex scene changes or background swaps, consider Photon Modify.
- Perfect for fixing typos, updating dates, or changing labels.
Notes
- If using a URL, ensure it is publicly accessible.
- Flash mode prioritizes speed — ideal for quick edits and high volume.
- Best for text modifications and simple element changes.
- For more complex edits, use the standard Photon Modify model.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Photon Flash Modify Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/luma/photon-flash-modify for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251118/6784e7f4b50aebc7e17fe396/92v6kbln5iw9.jpg"
}Photon Flash Modify Image Editing API — Frequently asked questions
What is the Photon Flash Modify API?
Photon Flash Modify is a Luma model for image editing, exposed as a REST API on OpenSIAI. Luma Photon Flash Modify is a text-to-image model optimized for creative image generation and prompt-driven modifications. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Photon Flash Modify API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/luma/photon-flash-modify.
How much does Photon Flash Modify cost per run or per second?
Photon Flash Modify starts at $0.01 per run or per second. 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.
What inputs does Photon Flash Modify accept?
Key inputs: prompt, image. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/luma/photon-flash-modify.
How long does Photon Flash Modify take to generate?
Reported generation time on OpenSIAI is around 30 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Photon Flash Modify outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Luma). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
