HiDream E1 AI Image Editing Model

HiDream AI's image-to-image editing model for instruction-based image modifications and transformations

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.

Base URL
https://api.lumenfall.ai/openai/v1
Model
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": "..." }] }

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": "..." }] }