PrunaAI's sub-1-second multi-image editing model supporting up to 5 reference images with state-of-the-art quality
Details
p-image-edit
Providers & Pricing (1)
P-Image Edit is available exclusively through Replicate, starting at $0.01/image.
replicate/p-image-edit
Output
Pricing Notes (2)
- • Sub-second multi-image editing model
- • Supports up to 5 reference images
Provider Performance
Fastest generation through replicate at 1,980ms median latency with 57.9% success rate.
Aggregated from real API requests over the last 30 days.
Generation Time
Success Rate
Time to First Byte
Provider Rankings
| # | Provider | p50 Gen Time | p95 Gen Time | Success Rate | TTFB (p50) |
|---|---|---|---|---|---|
| 1 | replicate | 1,980ms | 3,827ms | 57.9% | 1,980ms |
P-Image Edit API OpenAI-compatible
Use P-Image Edit via Lumenfall’s OpenAI-compatible API to perform sub-1-second image generation and multi-reference image editing.
https://api.lumenfall.ai/openai/v1
p-image-edit
Text to Image Generate
Create images from text descriptions
curl -X POST \
https://api.lumenfall.ai/openai/v1/images/generations \
-H "Authorization: Bearer $LUMENFALL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "p-image-edit",
"prompt": "A serene mountain landscape at sunset",
"size": "1024x1024"
}'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://api.lumenfall.ai/openai/v1'
});
const response = await client.images.generate({
model: 'p-image-edit',
prompt: 'A serene mountain landscape at sunset',
size: '1024x1024'
});
// { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
console.log(response.data[0].url);
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.lumenfall.ai/openai/v1"
)
response = client.images.generate(
model="p-image-edit",
prompt="A serene mountain landscape at sunset",
size="1024x1024"
)
# { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
print(response.data[0].url)
Image Editing Edit
Transform existing images with text instructions
curl -X POST \
https://api.lumenfall.ai/openai/v1/images/edits \
-H "Authorization: Bearer $LUMENFALL_API_KEY" \
-F "model=p-image-edit" \
-F "[email protected]" \
-F "prompt=Add a starry night sky to this image" \
-F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }
import OpenAI from 'openai';
import fs from 'fs';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://api.lumenfall.ai/openai/v1'
});
const response = await client.images.edit({
model: 'p-image-edit',
image: fs.createReadStream('source.png'),
prompt: 'Add a starry night sky to this image',
size: '1024x1024'
});
// { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
console.log(response.data[0].url);
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.lumenfall.ai/openai/v1"
)
response = client.images.edit(
model="p-image-edit",
image=open("source.png", "rb"),
prompt="Add a starry night sky to this image",
size="1024x1024"
)
# { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
print(response.data[0].url)
Gallery
View all 2 imagesP-Image Edit FAQ
P-Image Edit starts at $0.01 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.
You can use P-Image Edit through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "p-image-edit". Code examples are available in Python, JavaScript, and cURL.
P-Image Edit is available through Replicate on Lumenfall. Lumenfall automatically routes requests to the best available provider.
Overview
P-Image Edit is a high-speed image-to-image editing model developed by PrunaAI designed for near-instantaneous visual transformations. It stands out in the generative AI landscape by offering sub-second inference times while supporting up to five separate reference images for a single edit. This multi-reference capability allows the model to synthesize stylistic and structural elements from several sources simultaneously, maintaining high visual quality without typical performance bottlenecks.
Strengths
- Latency Performance: Achieves sub-one-second processing times, making it suitable for real-time interactive applications and high-throughput production pipelines.
- Multi-Reference Composition: Supports inputting up to five reference images, allowing the model to bridge visual information across multiple context sources more effectively than single-image editing models.
- Temporal and Structural Consistency: Maintains state-of-the-art visual quality during the editing process, ensuring that the output respects the core attributes of the primary input while integrating text-prompted changes.
- Flexibility in Modality: Operates on a text-and-image input structure, providing granular control over how specific visual elements are modified or preserved.
Limitations
- Inference Constraints: While optimized for speed, the sub-second performance may vary depending on the resolution of the input images or the complexity of the specified edits.
- Context Management: Balancing five different reference images requires precise prompting; the model may prioritize certain references over others depending on the visual weights of the input data.
- Limited Customization: Being a specialized editing model, it may not perform as well in “text-to-image” only scenarios compared to general-purpose diffusion models like Stable Diffusion XL.
Technical Background
P-Image Edit is built by PrunaAI with a focus on optimization and efficient inference. While the specific architecture builds upon modern diffusion techniques, the primary technical innovation lies in its multi-reference processing layer and the underlying acceleration that enables sub-second execution. This allows the model to bypass the heavy computational overhead usually associated with high-fidelity image-to-image tasks.
Best For
- Real-time Creative Tools: Applications where users need immediate feedback while adjusting image styles or elements.
- Batch Media Processing: Workflows that require applying consistent edits or branding across large sets of images quickly.
- Concept Blending: Scenarios where a final image needs to combine the aesthetic of several different source inspirations into a cohesive new output.
P-Image Edit is available for integration and testing through Lumenfall’s unified API and playground, providing a streamlined way to incorporate high-speed image editing into your stack.
Try P-Image Edit in Playground
Generate images with custom prompts — no API key needed.