# Seedream 5.0 Pro API

URL: https://useflowapi.com/models/bytedance/seedream-5-0-pro

Seedream 5.0 Pro costs $0.042 per image on FlowAPI (1K); you call it with model id `bytedance/seedream-5.0-pro` through one REST endpoint or the MCP server, and failed jobs are refunded in full.

## Prices

| Spec | Price (USD) | Unit | $0.5 trial |
| --- | --- | --- | --- |
| 1K | $0.042 | per image | Yes |

## Parameters

| Parameter | Values | Default | Note |
| --- | --- | --- | --- |
| `resolution` | 1K | 1K | Selects the price row. |
| `n` | 1–4 | 1 | Images per request; price × n. |

Input modes (`input.type`): `text`, `image`. See [image generation](/docs/image-generation) for references and roles.

## Code

**cURL**

```bash
curl https://useflowapi.com/v1/generations \
  -H "Authorization: Bearer $FLOWAPI_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: seedream-5-0-pro-1" \
  -d '{"model":"bytedance/seedream-5.0-pro","input":{"type":"text","prompt":"A red bicycle leaning on a brick wall"},"parameters":{"resolution":"1K","n":1}}'
```

**TypeScript (fetch, Node 18+)**

```ts
const res = await fetch('https://useflowapi.com/v1/generations', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FLOWAPI_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'seedream-5-0-pro-1',
  },
  body: JSON.stringify({
    "model": "bytedance/seedream-5.0-pro",
    "input": {
      "type": "text",
      "prompt": "A red bicycle leaning on a brick wall"
    },
    "parameters": {
      "resolution": "1K",
      "n": 1
    }
  }),
});
const job = await res.json();
console.log(job.id, job.status, job.price.amount);
```

**Python (requests)**

```python
import os, requests

res = requests.post(
    "https://useflowapi.com/v1/generations",
    headers={
        "Authorization": f"Bearer {os.environ['FLOWAPI_KEY']}",
        "Idempotency-Key": "seedream-5-0-pro-1",
    },
    json={
      "model": "bytedance/seedream-5.0-pro",
      "input": {
        "type": "text",
        "prompt": "A red bicycle leaning on a brick wall"
      },
      "parameters": {
        "resolution": "1K",
        "n": 1
      }
    },
)
job = res.json()
print(job["id"], job["status"], job["price"]["amount"])
```

Check the price first with `POST /v1/quotes` (same body, never charges). Then poll `GET /v1/jobs/{id}` ([async jobs](/docs/jobs)).

## Use it from an AI agent

Add the [FlowAPI MCP server](/mcp) to Claude, Cursor or any MCP client and ask for a image with `bytedance/seedream-5.0-pro`.

## About this page

Seedream 5.0 Pro is made by ByteDance. FlowAPI is an independent API service and is not affiliated with or endorsed by ByteDance. Prices on this page are read from FlowAPI's live price table.

## FAQ

**How much does the Seedream 5.0 Pro API cost?**

Seedream 5.0 Pro costs $0.042 per image at 1K on FlowAPI.

**Is FlowAPI the official Seedream 5.0 Pro API?**

No. FlowAPI is an independent API service, not affiliated with ByteDance, that runs Seedream 5.0 Pro for you at a flat price.

**Are failed Seedream 5.0 Pro jobs refunded?**

Yes. A failed, timed-out or cancelled job is refunded in full automatically.

**How many Seedream 5.0 Pro images can one request make?**

One request makes 1 to 4 images (parameters.n), priced at $0.042 each at 1K.
