ApiframeApiframe Docs
Image GenerationSeedream

Seedream 4.5

Upgraded image model with stronger spatial understanding and world knowledge by ByteDance.

Use in Apiframe Studio

POST /v2/images/generatemodel: "seedream-4.5"

Upgraded version of Seedream 4 with stronger spatial understanding, world knowledge, and cinematic aesthetics. Supports up to 4K resolution and multi-reference image-to-image generation with up to 14 input images.

See Image Generation overview for common request fields, response format, and error codes.

Model-specific parameters

ParameterTypeDescription
seedreamParams.aspect_ratiostringAspect ratio. Use "match_input_image" to match input image, or "W:H" format (e.g. "16:9")
seedreamParams.sizestring"2K" (default) or "4K". Note: 1K is not supported in Seedream 4.5. Use "custom" for specific dimensions
seedreamParams.widthintegerCustom width (1024–4096). Only used when size is "custom"
seedreamParams.heightintegerCustom height (1024–4096). Only used when size is "custom"
seedreamParams.image_inputstring[]Up to 14 input image URLs for image-to-image generation

Credit cost

Credits per generation
4

Code examples

curl -X POST https://api.apiframe.ai/v2/images/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a warm nostalgic film-style interior of a cozy cafe, shot on 35mm, afternoon sunlight",
    "model": "seedream-4.5",
    "seedreamParams": {
      "size": "4K",
      "aspect_ratio": "16:9"
    }
  }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/images/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "a warm nostalgic film-style interior of a cozy cafe, shot on 35mm, afternoon sunlight",
        "model": "seedream-4.5",
        "seedreamParams": {
            "size": "4K",
            "aspect_ratio": "16:9",
        },
    },
)
print(response.json())
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "a warm nostalgic film-style interior of a cozy cafe, shot on 35mm, afternoon sunlight",
    model: "seedream-4.5",
    seedreamParams: { size: "4K", aspect_ratio: "16:9" },
  }),
});
console.log(await response.json());

Try it

POST/v2/images/generateTry it

On this page