---
title: "Seedream 4 Playground & API | Made"
description: "Try Seedream 4 in Made's playground or integrate it with one API key. 3 credits / image, priced before you run it."
url: https://www.made.app/playground/seedream-4-0
---

Image 3 credits / image

# Seedream 4

Seedream 4.0 combines detailed text-to-image generation with optional reference-image guidance, making it useful for polished concepts across square, portrait, landscape, and wide formats.

[View docs](https://www.made.app/developers) [Model guide](https://www.made.app/models/seedream-4-0)

```
// Node.js. Running this creates one paid generation.
import { randomUUID } from 'node:crypto';
const base = "https://www.made.app/api";
const headers = {
  Authorization: `Bearer ${process.env.MADE_API_KEY}`,
  'Content-Type': 'application/json',
};
const input = {
  "model": "seedream_4",
  "prompt": "Canvas glamping tent in a red desert at twilight, string lights and a low fire pit, first stars. 35mm film still, soft natural light, muted earth tones with one terracotta accent, shallow depth of field, subtle film grain, candid and unposed, no text, logos, or watermark.",
  "aspect_ratio": "1:1"
};

async function api(path, body) {
  const response = await fetch(base + path, {
    method: body ? 'POST' : 'GET', headers,
    ...(body && { body: JSON.stringify(body) }),
  });
  if (!response.ok) throw new Error(await response.text());
  return response.json();
}

const { cost } = await api('/v1/cost', input);
console.log('Quoted cents:', cost.customerCostCents);
// Preserve this request ID when retrying a submission.
const requestId = randomUUID();
let job = await api('/v1/generations', {
  ...input, request_id: requestId,
  max_cost_cents: cost.customerCostCents,
});
console.log('Request:', job.id);
while (!['succeeded', 'failed', 'canceled'].includes(job.status)) {
  await new Promise(resolve => setTimeout(resolve, 3000));
  job = await api('/v1/generations/' + job.id);
}
if (job.status !== 'succeeded') throw new Error(JSON.stringify(job.error || job.status));
console.log(job.result.assets);
```

## Input

Prompt

Aspect ratio

**Advanced settings**

seed

[Sign in to generate](https://www.made.app/login?returnUrl=%2Fplayground%2Fseedream-4-0%23playground)

Uses your credits. See the exact price before generating.

## Result

Example

![glamping tent in a red desert at twilight generated with Seedream 4.0 in Made](https://www.made.app/images/models/seedream-4-0/desert-tent.jpg)

Seedream 4.0: Desert camp

## Price

3 credits / image. Check the exact cost for your settings before generating. Failed generations are refunded. [Full price sheet](https://www.made.app/price-sheet).

## More models by ByteDance

Compare available models and their prices. The exact price depends on your settings.

| Model name | Price | Resolution | Duration |
| --- | --- | --- | --- |
| [Seedance 1.5 Pro](https://www.made.app/playground/seedance-1-5-pro) | 5.2 credits / second | — | 4–12s |
| [Seedance 1 Pro](https://www.made.app/playground/seedance-1-pro) | 12.5 credits / second | — | 5–10s |
| [Seedance 2.0](https://www.made.app/playground/seedance-2-0) | from 30.24 credits / second | 720p · 1080p | 4–15s |
| [Seedance 2.0 Fast](https://www.made.app/playground/seedance-2-0-fast) | 24.19 credits / second | — | 4–15s |
| [Seedance 2.0 (Image to Video)](https://www.made.app/playground/seedance-2-0-i2v) | from 30.24 credits / second | 720p · 1080p | 4–15s |
| [Seedance 2.0 Mini](https://www.made.app/playground/seedance-2-0-mini) | from 7.21 credits / second | 480p · 720p | 4–15s |
| [Seedance 2.0 Mini (Video Reference)](https://www.made.app/playground/seedance-2-0-mini-video-reference) | from 4.33 credits / second | 480p · 720p | 4–15s |
| [Seedance 2.5](https://www.made.app/playground/seedance-2-5) | from 22.05 credits / second | 480p · 720p · 1080p | 4–30s |
| [Seedance 2.5 (Video Editing)](https://www.made.app/playground/seedance-2-5-edit) | Priced by input | 480p · 720p · 1080p | — |
| [Seedance 2.5 Person Reference](https://www.made.app/playground/seedance-2-5-person-reference) | from 16.5 credits / second | 480p · 720p · 1080p | 4–30s |
| [Seedance 2.5 (Reference to Video)](https://www.made.app/playground/seedance-2-5-reference) | from 22.05 credits / second | 480p · 720p · 1080p | 4–30s |
| [Seedance 2.5 (Video Reference)](https://www.made.app/playground/seedance-2-5-video-reference) | from 13.23 credits / second | 480p · 720p · 1080p | 4–15s |

---

Markdown version of https://www.made.app/playground/seedream-4-0. Every public Made page has one at its URL plus .md (https://www.made.app/playground/seedream-4-0.md). Site summary for AI assistants: https://www.made.app/llms.txt
