Seedream 4.0 API
Seedream 4.0 is an image generation model by ByteDance. On Evrona you call it with the same API key and balance as every other model in the catalog. Requests go to the OpenAI-compatible /v1/images/generations.
- Model ID
bytedance/seedream-4.0- Developer
- ByteDance
- Type
- Picture
Seedream 4.0 pricing
| Billed for | Price |
|---|---|
| Generation, per unit | $0.07 |
Accounting inside the service is in USD; EUR prices are recalculated at the current rate and may change.
Seedream 4.0 request example
Use https://evrona.ru/v1 as the base URL and pass bytedance/seedream-4.0 in the model field. You create the key in your account after signing up.
curl request
curl
curl https://evrona.ru/v1/images/generations \
-H "Authorization: Bearer ev-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bytedance/seedream-4.0",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}'Python with the official OpenAI SDK
Python
from openai import OpenAI
client = OpenAI(
base_url="https://evrona.ru/v1",
api_key="ev-YOUR_KEY",
)
image = client.images.generate(
model="bytedance/seedream-4.0",
prompt="A lighthouse on a rocky shore at sunset, watercolor",
n=1,
)
print(image.data[0])More models by ByteDance
Start using Seedream 4.0 with Evrona
Sign up, top up your balance and create a key. The same key works for Seedream 4.0 and every other model in the catalog.