You have a Seedream prompt that works in a web app and now you want it in your own code. That means an API key. There are two ways to get one: ByteDance's own cloud, BytePlus ModelArk, where you create a key, pick a model ID and pay per image; or an API platform that runs Seedream behind a single key along with other models. This guide covers both, with the exact steps, the official prices on 12 October 2026, and what changes between them.
Short answer: sign in to the BytePlus console, open the API keys page, click Create API key, and call https://ark.ap-southeast.bytepluses.com/api/v3/images/generations with the key as a bearer token and a model ID such as dola-seedream-5-0-pro-260628. Seedream 5.0 Pro costs $0.045 per image up to 1.5K and $0.09 above that, Flash $0.018 and Lite $0.035. BytePlus applies a content filter by default. A SpicyAPI key runs the same Seedream model versions with no added filter, at $0.036 per 1K image for 5.0 Pro, and the same key calls video and other image models too.
- One model, official account: BytePlus ModelArk. Cheapest route to Seedream 5.0 Flash.
- Several models, unfiltered output, or lower Pro pricing: an API platform key such as SpicyAPI.
- "Free Seedream API key" pages: the official price list has no free output quota. Keys shared online are someone else's quota.
Option 1: get a Seedream API key from BytePlus ModelArk
BytePlus is ByteDance's international cloud, and ModelArk is its model service. Seedream is one of the image models there, alongside Seedance video and Seed language models. One account and one key cover all of them.
- Create a BytePlus account and sign in to the console. Add a payment method before you rely on it: per the official pricing page, an account that stays in arrears for two hours has its model services suspended until it is topped up.
- Open the API keys page. If your organisation uses project spaces, switch to the right one in the lower-left corner first, because a key only reaches models in its own project.
- Click Create API key, confirm the name, and click Create. The key appears in the API keys list. Keys created after 17 September 2026 use a new plaintext format; older keys still work.
- Put the key in an environment variable (the docs use
ARK_API_KEY) rather than in your code.
The official key steps stop there. The console also has a Model activation page, which shows your rate limits; several third-party guides add an activation step before the first image call, so if a call is rejected for access, that page is the first place to look.
Then call the image endpoint with the model ID:
curl https://ark.ap-southeast.bytepluses.com/api/v3/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ARK_API_KEY" \
-d '{
"model": "dola-seedream-5-0-pro-260628",
"prompt": "An adult woman in her early thirties in a cream silk blouse reads a paperback by a rain-streaked café window at dusk, warm lamp light on her face, city lights blurred outside, a cup of coffee on the marble table, calm and absorbed expression, cinematic photograph, 50mm lens, shallow depth of field, natural skin texture",
"size": "2K",
"output_format": "png",
"watermark": false
}'The call is synchronous. The response has a data array, and each item's url is a download link for one image. The link is kept for only 24 hours, so download or copy the file to your own storage straight away. Set response_format to b64_json if you would rather get the image bytes in the response. watermark defaults to true, which adds a visible mark, so set it to false if you don't want one.
Three more things are worth knowing before you build on it:
- Restrict each key. A key can be limited to specific model IDs and to specific IP addresses. One account can hold up to 50 keys, so a separate, restricted key per app is cheap insurance against a leak.
- Mind the rate limit. Seedream 5.0 Pro and Flash allow 500 images per minute per model version on an account; above that, calls return an error.
- Content moderation is on by default. ModelArk's content pre-filter screens requests against BytePlus's content rules and is enabled on new endpoints; you can switch it off per endpoint, but a baseline of BytePlus content policies still applies. Images that are blocked are not billed.
Seedream model IDs on BytePlus
| Model | Model ID |
|---|---|
| Seedream 5.0 Pro | dola-seedream-5-0-pro-260628 |
| Seedream 5.0 Flash | dola-seedream-5-0-flash-260915 |
| Seedream 5.0 Lite | seedream-5-0-lite-260128 |
| Seedream 4.5 | seedream-4-5-251128 |
| Seedream 4.0 | seedream-4-0-250828 |
BytePlus now calls the 5.0 Pro and Flash models "Dola Seedream". It is the same model line. The date suffix changes when a new snapshot ships, so copy the ID from the model list rather than guessing it.
Official Seedream API prices
From the ModelArk pricing page, checked 12 October 2026:
| Model | Output, per image | Input images |
|---|---|---|
| Seedream 5.0 Pro | $0.045 up to 2.61 MP (1.5K); $0.09 above | First free, then $0.003 each |
| Seedream 5.0 Pro, layer decomposition | $0.0225 up to 1.5K; $0.045 above (per layer) | — |
| Seedream 5.0 Flash | $0.018 | Free |
| Seedream 5.0 Lite | $0.035 | Free |
| Seedream 4.5 | $0.04 | Free |
| Seedream 4.0 | $0.03 | Free |
There is no free output quota on the list. A batch of 1,000 Seedream 5.0 Pro images at 2K costs $90, and 1,000 Flash images cost $18.
Option 2: use Seedream through one SpicyAPI key
An API platform gives you one key for many models and handles the provider accounts behind it. On SpicyAPI, the steps are:
- Sign up and open API keys in the console.
- Create a key. You can cap it per day, per month and for its lifetime, and restrict which models it may call.
- Add balance by card, Apple Pay, Google Pay or crypto. It is a US dollar balance with no subscription, and paid balance does not expire.
- Call the task endpoint with the model name:
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
--data '{
"model": "bytedance/seedream-5.0-pro/text-to-image",
"input": {
"prompt": "An adult woman in her early thirties in a cream silk blouse reads a paperback by a rain-streaked café window at dusk, warm lamp light on her face, city lights blurred outside, a cup of coffee on the marble table, calm and absorbed expression, cinematic photograph, 50mm lens, shallow depth of field, natural skin texture",
"resolution": "2k",
"aspect_ratio": "16:9"
}
}'
This call is asynchronous: it returns a task ID straight away. Poll GET https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=<id> until the task finishes, or pass a callback URL when you create it. Finished images are stored on SpicyAPI's own storage and kept for up to 14 days, behind signed links, so you are not racing a 24-hour expiry. The API reference has the fields, and the Seedream 5.0 Pro page has the full input schema, including edits with reference images and layer decomposition.
Prices per image on 12 October 2026:
| Model | SpicyAPI | BytePlus official |
|---|---|---|
| Seedream 5.0 Pro, 1K | $0.036 | $0.045 |
| Seedream 5.0 Pro, 2K | $0.072 | $0.09 |
| Seedream 5.0 Lite | $0.0345 | $0.035 |
| Seedream 5.0 Flash | $0.029 | $0.018 |
| Seedream 4.0 | $0.03 | $0.03 |
Pro is 20% below the official price at both sizes; SpicyAPI offers 1K and 2K, not 1.5K. Lite and 4.0 cost about the same. Flash costs more on SpicyAPI than on BytePlus. If Flash is all you need and your content fits BytePlus's policies, the official key is the cheaper choice.
The bigger difference is what comes back. SpicyAPI adds no content filter to Seedream. In our September tests, Seedream 5.0 Pro delivered 33 of 34 content-test runs across text-to-image and editing, Lite delivered all 34, and Flash softened a couple of the stronger requests. The full results are in Is Seedream uncensored?. The model itself still decides what it draws, and adult characters and the rights to any photo you edit remain your responsibility.
Which key should you get?
| You want | Get |
|---|---|
| Only Seedream, mostly general or commercial images, an account directly with ByteDance | A BytePlus ModelArk key |
| The lowest price for Seedream 5.0 Flash | A BytePlus ModelArk key |
| Seedream plus video (Seedance, Wan, MiniMax) or other image models under one key and one balance | A platform key |
| Images without a provider filter in front | A platform key without an added filter, such as SpicyAPI |
| Seedream 5.0 Pro at a lower per-image price | SpicyAPI ($0.036 at 1K) |
You can also use both: BytePlus for the general work it is cheapest at, and a platform key for everything else.
What about a "free Seedream API key"?
"Seedream API key free" and "Seedream API key generator" are common searches. There is no official free key. BytePlus charges for every output image, and input images are free. Keys posted on GitHub or in forums belong to someone else's account. They stop working when the owner notices, and anything you build on one breaks with them. Generator sites that promise a free key are either reselling access or handing out keys that are not theirs.
The cheapest honest way to test is to send a handful of images: ten Seedream 5.0 Pro images at 1K cost under 50 cents on either route. On SpicyAPI, failed tasks are usually not charged (each model page says if a model is an exception), and the price of a run is shown before you submit it.
Troubleshooting a new key
- 401 or "invalid API key": check that the header is
Authorization: Bearer <key>and that there is no trailing space or newline in your environment variable. - Access or "model not found" errors on BytePlus: the model ID is misspelled, the key is restricted to other models, or the key belongs to another project space. If none of those apply, check the Model activation page.
- Content errors on BytePlus: the pre-filter blocked the prompt or the output. These are not billed. Rewording may help for borderline general content. For unfiltered work, read BytePlus's usage policy first, because its baseline content rules apply to the whole account even with the filter switched off.
- Links stop working the next day: BytePlus image URLs expire after 24 hours. Save the file when the response arrives.
- Calls stop after working for days: check the account balance. An account in arrears for two hours is suspended until it is topped up.
Frequently asked questions
Where do I find my Seedream API key?
In the BytePlus console, on the API keys page. On SpicyAPI, under Console → API keys. In both, the key list shows the keys you have created.
Is the Seedream API free?
No. On BytePlus, every output image is billed, from $0.018 for 5.0 Flash to $0.09 for 5.0 Pro above 1.5K. Input images are free, except that Seedream 5.0 Pro charges $0.003 for each input image after the first.
What is the model ID for Seedream 5.0?
On BytePlus, dola-seedream-5-0-pro-260628 for Pro, dola-seedream-5-0-flash-260915 for Flash and seedream-5-0-lite-260128 for Lite. On SpicyAPI, bytedance/seedream-5.0-pro/text-to-image and the matching names for Flash, Lite and edits.
Can I use the Seedream API for NSFW images?
Not with the default BytePlus settings: the content pre-filter blocks what its policy does not allow, and BytePlus content policies apply even with it switched off. On SpicyAPI there is no added filter, and Seedream 5.0 Pro and Lite delivered nearly all of our content tests.
Seedream 4.5 or 5.0?
On BytePlus, 5.0 Lite ($0.035) costs less than 4.5 ($0.04), and 5.0 Flash ($0.018) costs less than either. Pro is the one to pay more for, when image quality matters most. Our Lite vs Pro vs Flash comparison has side-by-side results.
Bottom line
Getting a Seedream API key from BytePlus takes a few minutes: create a key, use the right model ID, save each image within 24 hours, and keep an eye on the balance. It is the cheapest route to Seedream 5.0 Flash and the right one for general work on a direct ByteDance account. If you want Seedream next to other image and video models under one key, a lower Pro price, results that stay available for up to two weeks, or images without a provider filter, a SpicyAPI key covers that.







