---
title: "Seedream 4.0 Text-to-Image API & Playground - Comfy"
description: "Seedream 4.0 Text-to-Image by ByteDance: Generates or edits an image at up to ~4K with up to 10 reference images. Run it in your browser or call it via API."
canonical: https://comfy.org/hub/models/seedream-4-0-text-to-image/
lang: en
index: https://comfy.org/llms.txt
---

[Back to all models](https://comfy.org/hub/models/)

ByteDance

[Generate images](https://comfy.org/hub/models/?useCase=generate-images)

# Seedream 4.0 Text-to-Image

Generates or edits an image at up to ~4K with up to 10 reference images.

~6.3 credits x images /Run

- [text-to-image](https://comfy.org/hub/models/?q=text-to-image)
- [image-to-image](https://comfy.org/hub/models/?q=image-to-image)
- [edit](https://comfy.org/hub/models/?q=edit)

[Read docs](https://docs.comfy.org/development/comfy-router/models#byteplus)

Input

Prompt

Image size

Advanced settings

Seed

Reuse a seed with the same inputs to make results more repeatable.

Watermark

Output

![Seedream 4.0 Text-to-Image: Rooftop greenhouse at dusk](https://media.comfy.org/website/workshop/byteplus/seedream-4/rooftop-greenhouse-at-dusk.png)

Example

## Try an example

- Photorealistic wide shot of a rooftop greenhouse at dusk on top of an old brick building: rows of tomato vines and hanging ferns under warm grow lights, condensation on the glass panes, a small wooden workbench with clay pots and a watering can. Through the glass, a city skyline with office windows lighting up under a violet sky. 24mm lens, deep focus, warm interior against cool exterior, crisp leaf and glass detail.

## More from ByteDance

[Browse all Browse all models](https://comfy.org/hub/models/)

- [ByteDance

  ### Seedream 4.0 Image Edit

  Image to Image

  byteplus seedream text-to-image image-to-image edit](https://comfy.org/hub/models/seedream-4-0-image-edit/)
- [ByteDance

  ### Seedream 4.5

  Text to Image

  byteplus seedream text-to-image image-to-image edit](https://comfy.org/hub/models/seedream-4-5-text-to-image/)
- [ByteDance

  ### Seedream 5.0 Lite Image Edit

  Image to Image

  byteplus seedream text-to-image image-to-image edit](https://comfy.org/hub/models/seedream-5-0-lite-image-edit/)
- [ByteDance

  ### Seedream 5.0 Pro

  Text to Image

  byteplus seedream seedream-5-pro text-to-image image-to-image](https://comfy.org/hub/models/seedream-5-0-pro-text-to-image/)
