---
title: "Seedream 4.0 Text-to-Image API & Playground - Comfy"
description: "Seedream 4.0 Text-to-Image by ByteDance: Generates images from a text prompt at sizes up to 4096×4096, and can return a batch of related images via the 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 images from a text prompt at sizes up to 4096×4096, and can return a batch of related images via the API.

~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

-

## 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/)
