Skip to main content
ByteDanceMediumUltra

Seedream 4.5

Upgraded ByteDance image model with stronger spatial understanding and world knowledge. Supports single/multi-reference image-to-image editing and sequential (multi-image) generation.

90 credits
per image โ€” sequential mode (auto) scales per generated image, up to max_images (15)
Strong spatial understanding and world knowledge
Multi-reference image-to-image generation (up to 14 input images)
Sequential generation mode producing up to 15 related images in one call
2K and 4K resolution, plus custom width/height
Wide range of aspect ratios including auto-match to input image

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/seedream-4.5",
  "input": {
    "prompt": "A warm, nostalgic film-style interior of a cozy cafรฉ, shot on 35mm-inspired digital photography with soft afternoon sunlight filtering through the front windows.",
    "size": "4K",
    "aspect_ratio": "16:9",
    "sequential_image_generation": "disabled"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for image generation (max 4000 characters)
image_inputarrayNo[]Input image(s) for image-to-image generation (1-14 images for single/multi-reference)
sizestringNo2KImage resolution: 2K, 4K, or custom (1K is not supported)
2K4Kcustom
widthintegerNo2048Custom image width, 1024-4096 (only used when size=custom)
heightintegerNo2048Custom image height, 1024-4096 (only used when size=custom)
aspect_ratiostringNomatch_input_imageImage aspect ratio. Ignored when size=custom
match_input_image1:14:33:44:55:416:99:163:22:321:99:21
sequential_image_generationstringNodisabled'disabled' generates one image; 'auto' lets the model generate multiple related images
disabledauto
max_imagesintegerNo1Max images to generate when sequential_image_generation=auto (1-15). Billed per generated image
disable_safety_checkerbooleanNofalseDisable the safety checker for generated images

How to Provide File Input

There are 3 ways to provide files for the image_input parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=bytedance/seedream-4.5" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_input=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "bytedance/seedream-4.5",
  "input": {
    "prompt": "your prompt here",
    "image_input": ["https://example.com/image.jpg"]
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

4K Interior Photography (Default)

High-resolution single-image generation at 4K

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/seedream-4.5",
  "input": {
    "prompt": "A warm, nostalgic film-style interior of a cozy cafรฉ, shot on 35mm-inspired digital photography with soft afternoon sunlight filtering through the front windows.",
    "size": "4K",
    "aspect_ratio": "16:9",
    "sequential_image_generation": "disabled"
  }
}'

Sequential Story Scenes

Generate up to 15 related images (e.g. story scenes or character variations) in one call

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/seedream-4.5",
  "input": {
    "prompt": "A children's book spread showing a fox exploring a forest across four consecutive scenes",
    "sequential_image_generation": "auto",
    "max_images": 4
  }
}'

Tips & Best Practices

1sequential_image_generation=auto bills per generated image (up to max_images) โ€” set max_images conservatively to control cost
2Use image_input with up to 14 reference images for multi-reference composition and character consistency
31K resolution is not supported โ€” use 2K (default) or 4K for higher fidelity
4aspect_ratio is ignored when size=custom; set width/height instead

Use Cases

Story scene sets and character variation sheets in one call
Multi-reference product photography compositing
Style transfer and photo editing guided by reference images
High-resolution (4K) marketing and print imagery