Seedream 5.0 Pro
ByteDance/doubao-seedream-5-0-pro-260628
ByteDanceText → imageREST
Price$0.043 /imagelowest tier
EndpointPOST /v2/image/seedream-5-0-pro/generate REST

Quick start
Send a JSON request to the endpoint below; the response carries the result.
curl -X POST https://api.widelabs.tr/v2/image/seedream-5-0-pro/generate \ -H "Authorization: Bearer $WIDELABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A watercolor fox sitting under a maple tree, autumn colors", "model": "ByteDance/doubao-seedream-5-0-pro-260628" }'
import os
import requests
resp = requests.post(
"https://api.widelabs.tr/v2/image/seedream-5-0-pro/generate",
headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
json={
"prompt": "A watercolor fox sitting under a maple tree, autumn colors",
"model": "ByteDance/doubao-seedream-5-0-pro-260628"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.widelabs.tr/v2/image/seedream-5-0-pro/generate", { method: "POST", headers: { Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ prompt: "A watercolor fox sitting under a maple tree, autumn colors", model: "ByteDance/doubao-seedream-5-0-pro-260628" }), }); console.log(await resp.json());
Parameters
| Name | Type | Description |
|---|---|---|
store_output | "provider" | "wl1d" | "wl7d" | "wl30d" default "provider" | Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,… |
prompt required | string | Text description (CN/EN; keep under ~600 English words) |
model | string default "ByteDance/doubao-seedream-5-0-pro-260628" | Image generation model. Available: 'ByteDance/doubao-seedream-5-0-pro-260628' (default). |
images | string[] | Optional reference images (1-10) for image-to-image and composition. Each item is an https URL or a data URI (data:image/png;base64,...). Omit for pure text-to-image. |
size | string default "2048x2048" | Output size: the preset `1K` (~1.0MP) or `2K` (~4.2MP), or exact pixels as `<width>x<height>` (e.g. `2048x2048`). Total area must not exceed 4,624,220 pixels (~4.6MP) — the published 4K tier is not available on the pro variant. **Billing**: an exact size at or below 1024x1024 in total area bills at the `1K` rate; anything larger bills… |
watermark | boolean default false | Add the upstream's AI-generated watermark |
output_format | "png" | "jpeg" default "jpeg" | Output image file format |
webhook_url | string | HTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification. |
Related
Similar models
GoogleNew
Gemini Nano Banana 2.1
google/gemini-nano-banana-2.1
Text → image
From$0.034
per image
OpenAI
GPT Image 2
openai/gpt-image-2
Text → image
From$0.15
per image
Black Forest Labs
FLUX.2 Pro
black-forest-labs/FLUX-2-pro
Text → image
Price$0.036
per image
OpenAINew
GPT Image 2.5 Sunburst
openai/gpt-image-2.5-sunburst
Text → image
Input$8.00
Output$30.00
per 1M tokens
Start building on Wide Labs Compute
Create an account, add credit and send your first request with the SDK you already use.