Seedream 4.0

AI Image Editing Model

$$ · 3¢

ByteDance's image generation model with integrated text-to-image and image editing capabilities in a unified architecture, supporting up to 4K resolution

Seedream 4.0 API OpenAI-compatible

Access Seedream 4.0 via Lumenfall’s OpenAI-compatible API to generate 4K images and perform complex image edits through a single, unified endpoint. Developers can integrate ByteDance's text-to-image and editing architecture into any application using standard API protocols.

Base URL
https://api.lumenfall.ai/openai/v1
Model
seedream-4

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": "seedream-4",
    "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=seedream-4" \
  -F "[email protected]" \
  -F "prompt=Add a starry night sky to this image" \
  -F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }