HiDream AI's image-to-image editing model for instruction-based image modifications and transformations
Example outputs coming soon
Details
hidream-e1-1
Providers & Pricing (1)
HiDream E1 is available exclusively through fal.ai, starting at $0.06/image.
fal/hidream-e1-1
HiDream E1 API OpenAI-compatible
Access HiDream E1 via our OpenAI-compatible API to perform text-to-image generation and instruction-based image editing through a single integration point.
https://api.lumenfall.ai/openai/v1
hidream-e1-1
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": "hidream-e1-1",
"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: 'hidream-e1-1',
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="hidream-e1-1",
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=hidream-e1-1" \
-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: 'hidream-e1-1',
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="hidream-e1-1",
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 1 imagesHiDream E1 FAQ
HiDream E1 starts at $0.06 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.
You can use HiDream E1 through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "hidream-e1-1". Code examples are available in Python, JavaScript, and cURL.
HiDream E1 is available through fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider.
Overview
HiDream E1 is an instruction-based image-to-image editing model developed by HiDream AI. It is designed to perform precise modifications and transformations on existing images based on natural language prompts. Unlike standard text-to-image models that generate visuals from scratch, E1 specializes in altering specific elements of a source image while maintaining the original context and structure.
Strengths
- Instructional Precision: Excels at following specific, action-oriented directives (e.g., “change the color of the shirt” or “add a sunset to the background”) without redrawing the entire scene.
- Context Retention: Demonstrates high fidelity in preserving the identity and spatial arrangement of unchanged elements within the source image.
- Stylistic Flexibility: Capable of executing both photorealistic edits and more dramatic artistic transformations, such as converting a photograph into a specific painting style.
- Efficient Processing: Optimized for rapid iterations, making it suitable for workflows that require multiple sequential edits to reach a final result.
Limitations
- Complex Spatial Reconfiguration: May struggle with edits that require moving objects to entirely new positions or changing camera angles significantly while maintaining consistency.
- Granular Detail Control: While effective for broad modifications, it may occasionally overlook very fine-grained textural details or subtle lighting nuances during complex background swaps.
- Textual Rendering: Like many image-based models, its ability to edit or generate coherent text within an image remains a secondary capability compared to its visual manipulation strengths.
Technical Background
HiDream E1 is built on a diffusion-based architecture specifically tuned for image-to-image tasks. It utilizes a conditioning mechanism that balances the visual information from the input image with the semantic requirements of the text prompt. This approach allows the model to treat the original image as a structural guide rather than a mere suggestion, ensuring that edits feel integrated rather than overlaid.
Best For
HiDream E1 is ideal for professional design workflows, social media content creation, and e-commerce product visualization where users need to iterate on existing assets. It is particularly effective for background replacement, wardrobe adjustments, and applying global style transfers to specific photographs.
HiDream E1 is available through Lumenfall’s unified API and playground, allowing developers to integrate these advanced editing capabilities into their applications with a single standardized interface.
Try HiDream E1 in Playground
Generate images with custom prompts — no API key needed.