Seedream 4.5 API and playground
ByteDance’s Seedream 4.5: images from a text prompt up to 4K, and edits of your own images from an instruction. Use it in the MegaBrain playground in your browser or through the API, without a ByteDance account, priced per image from a prepaid US-dollar balance.
Seedream 4.5 models and prices
Prices in US dollars from the MegaBrain catalogue; they update automatically. Each model’s page has examples, every parameter and a playground.

Seedream 4.5
$0.039Seedream 4.5 from ByteDance: generation up to 4K.

Seedream 4.5 Edit
$0.039Seedream 4.5 image editing.
| Model | Task | Image |
|---|---|---|
| Seedream 4.5 bytedance/seedream/v4.5/text-to-image | Text to image | $0.039 |
| Seedream 4.5 Edit bytedance/seedream/v4.5/edit | Image editing | $0.039 |
Generation and editing
Seedream 4.5 makes an image from a prompt. Seedream 4.5 Edit takes your images as links in image_urls and changes them from a text instruction: a new background, a product in a scene, different light.
Priced per image
You pay per image, not per token or megapixel. If a generation fails, the price goes back to your balance.
Video from ByteDance too
Seedance 2.5 is ByteDance’s video model: clips of 4 to 30 seconds with sound, from text or from a Seedream image as the first frame.
Seedance 2.5 APIFirst request
Generation runs through a queue: a POST request submits the job, then the script polls status_url and fetches the result from response_url. Create the key on the API key page after you sign up.
import os, time, requests
BASE = "https://getmegabrain.com/api/gateway/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MEGABRAIN_API_KEY']}"}
job = requests.post(f"{BASE}/queue/bytedance/seedream/v4.5/text-to-image", headers=HEADERS, json={
"prompt": "wooden matryoshka dolls on a frosty windowsill, soft morning light, photo"
}).json()
while requests.get(job["status_url"], headers=HEADERS).json()["status"] not in ("COMPLETED", "FAILED"):
time.sleep(2)
print(requests.get(job["response_url"], headers=HEADERS).json())Questions and answers
Is there a Seedream API?
Yes. A POST request puts the job in the generation API’s queue, then you check its status and fetch the image link; there is a Python example below. Every parameter of the model is on its page and in the generation API docs.
Do I need a ByteDance account?
No. Sign up on MegaBrain and top up the balance by card: Seedream images are paid from it per image, and nothing is charged for a generation that fails.
Can I edit my own photos?
Yes. Seedream 4.5 Edit takes your images as links in image_urls and changes them from a text instruction in prompt.
Can I use Seedream without code?
Yes. Every model page has a playground: write the prompt, generate the image in the browser and copy the ready API code from the same page.
Get your API key
Sign-up is open. Create an account, top up the balance by card and create a key: it works for every text, image, video and audio model in the catalogue. Credits never expire.
Questions? Write to team@getmegabrain.com