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": <string>
  }'

# 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": "<string>"}'

Examples

example
example
example
example
example

Parameters

Input
aspect_ratio string
enhance_prompt boolean
height integer
prompt string required
size string
width integer
Output
image: string