Image generation API · ByteDance

Seedream 5.0 Lite API

Call Seedream 5.0 Lite by ByteDance from your own code with one GluonArt API key. OpenAI-compatible requests, 45 credits per image, paid from a credit balance with no subscription.

Seedream 5.0 Lite API example

Copy, set GLUONART_API_KEY, run.

Generate · curl
curl https://api.gluonart.com/v1/images/generations \
  -H "Authorization: Bearer $GLUONART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-5-0-lite",
    "prompt": "A lighthouse on a cliff at dawn, soft mist",
    "size": "2048x2048"
  }'
Generate · Python (OpenAI SDK)
import base64
from openai import OpenAI

client = OpenAI(base_url="https://api.gluonart.com/v1", api_key=GLUONART_API_KEY)

result = client.images.generate(
    model="seedream-5-0-lite",
    prompt="A lighthouse on a cliff at dawn, soft mist",
    size="2048x2048",
)
with open("image.png", "wb") as file:
    file.write(base64.b64decode(result.data[0].b64_json))

Parameters and price

Live values from the GluonArt catalogue. 1,000 credits = $1.

Model id
seedream-5-0-lite
Price
45 credits ($0.045) per image
Endpoint
POST /v1/images/generations
Sizes
2048x2048, 2304x1728, 1728x2304, 2560x1440, 1440x2560, 2496x1664, 1664x2496, 3024x1296
Reference images
Not supported
Response
OpenAI images format, base64 (b64_json)

Questions

How much does the Seedream 5.0 Lite API cost?

45 credits ($0.045) per image. You pay from a prepaid credit balance (1,000 credits = $1), with no subscription and no monthly minimum. Credits never expire.

Can I use the OpenAI SDK with Seedream 5.0 Lite?

Yes. Set the base URL to https://api.gluonart.com/v1, use your GluonArt API key, and pass "seedream-5-0-lite" as the model. Images come back in OpenAI's images format, base64-encoded.

Do I need a separate account with ByteDance?

No. One GluonArt API key and one credit balance cover Seedream 5.0 Lite and every other image and video model on the API.

Can I try Seedream 5.0 Lite before writing code?

Yes. The GluonArt studio runs the same model at the same price, so you can test prompts there and then call it from your app.

Other image model APIs

All models and prices: GluonArt API for developers.

Start building with Seedream 5.0 Lite

Create a key in your dashboard and start calling the API. You pay only for what you generate.

Get an API key