Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

BytePlus: Seedream 4.0

byteplus/seedream-4-0-250828

Access Seedream 4.0 AI image generation using Puter.js API.

Get Started

Model Card

Seedream 4.0 is ByteDance's unified text-to-image and image-editing model, available here through BytePlus's hosted API. Released in September 2025, it replaced Seedream 3.0's separate generation and editing pipelines with a single architecture that handles both.

It generates images up to 4K resolution, more than 10 times faster than Seedream 3.0, and accepts up to 10 reference images at once while keeping characters and styles consistent across a series of outputs. ByteDance reports that on its own MagicArena Elo evaluation, Seedream 4.0 surpassed Google's Gemini 2.5 Flash Image, known as Nano Banana, in single-image editing.

On Artificial Analysis's independent Text-to-Image Elo leaderboard it scores 1,225, ahead of Black Forest Labs' FLUX.2 Dev (1,200) though behind newer flagship models. It fits multi-image storytelling and editing workflows where character and style consistency across a sequence of images matters.

Cost Per Image $0.03

per generation

Configuration N/A

resolution

Release Date Aug 28, 2025

 

Code Example

Use Seedream 4.0 in your app with the Puter.js AI API — no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.txt2img("A serene mountain landscape at sunset", {
    model: "byteplus/seedream-4-0-250828"
}).then(image => {
    document.body.appendChild(image);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2img("A serene mountain landscape at sunset", {
            model: "byteplus/seedream-4-0-250828"
        }).then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

More AI Models From BytePlus

Find other BytePlus models

Chat

Dola Seed 2.1 Turbo

Dola Seed 2.1 Turbo is ByteDance's faster, lower-cost variant in the Seed 2.1 family, offered internationally through BytePlus's Model Ark platform. It accepts text, image, and video input, with a 256K context window and function calling for agent workflows. On ByteDance's own benchmarks against Claude Opus 4.7, GPT-5.5, and Gemini 3.1 Pro, Turbo scores 89 on VideoMME for long video understanding and 79.2 on OVOBench for streaming video, ahead of Gemini 3.1 Pro's 86.7 and 64.1. It scores 88.0 on BeyondAIME reasoning, above Seed 2.1 Pro's 87.0. On knowledge tests like SuperGPQA it trails GPT-5.5 and Gemini. These are vendor-reported figures, not independently verified. It suits high-volume API use such as video analysis, document processing, and agent pipelines, where cost and video handling matter more than peak coding scores.

Image

Dola Seedream 5.0 Pro

Dola Seedream 5.0 Pro is ByteDance's Seedream 5.0 Pro image generation and editing model, offered here through BytePlus's ModelArk API under the "Dola" branding BytePlus uses across its hosted model lineup. It generates images as independently editable layers, separating subjects, text, and background so pieces can be repositioned or swapped after generation. It supports pixel-level editing through selection points, arrows, and annotation boxes, reads color codes and material specifications, and renders text across 14 or more languages including Arabic, Korean, Thai, French, Russian, and Japanese. On Artificial Analysis's independent Text-to-Image Elo leaderboard it scores 1,283, ranking 8th overall, ahead of Black Forest Labs' FLUX.2 Max (1,233) and just behind Google's Nano Banana Pro (1,299). It fits production teams that need layered, editable output and multilingual text rather than a single flattened image.

Chat

GLM-5.2

GLM-5.2 is an open-weight Mixture-of-Experts model from Zhipu AI (Z.ai), available here through BytePlus's hosted API. The model has roughly 744 billion total parameters and a 1 million token context window, and Z.ai released its weights under an MIT license. GLM-5.2 is built for coding, particularly long-horizon and agentic coding tasks. On SWE-bench Pro it scored 62.1, ahead of GPT-5.5 (58.6) and its predecessor GLM-5.1 (58.4). On the Artificial Analysis Intelligence Index it scored 51, the highest score among open-weight models at release. It suits teams building coding agents or working with large codebases who want an open-weight model, accessed here through BytePlus's API instead of self-hosting.

Frequently Asked Questions

How do I use Seedream 4.0?

You can access Seedream 4.0 by BytePlus through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.

Is Seedream 4.0 free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Seedream 4.0 to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Seedream 4.0?
Seedream 4.0 costs $0.03 per image.
Price
Per image$0.03
Who created Seedream 4.0?

Seedream 4.0 was created by BytePlus and released on Aug 28, 2025.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Seedream 4.0 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add Seedream 4.0 image generation to your app without worrying about API keys or setup.

Read the Docs View Tutorials