All models




Seedream 4.0
bytedance/seedream-4.0
ByteDance Image GenerationImage EditingHigh Resolution
Seedream 4.0 is ByteDance's image creation model that combines text-to-image generation and image editing into a single architecture, offering fast, high-resolution output up to 4K.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "bytedance/seedream-4.0",
"prompt": "<your prompt>"
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "bytedance/seedream-4.0", "prompt": "<your prompt>"}'Examples





Parameters
Input
prompt string required
Text prompt describing what to generate.
aspect_ratio string optional
Output aspect ratio (e.g. 16:9, 1:1, 9:16).
enhance_prompt boolean optional
Let the model automatically expand/improve your prompt.
height integer optional
Output height in pixels.
size string optional
Output dimensions (width × height).
width integer optional
Output width in pixels.
Output
image: string