Seedream 5.0 Pro
Endpoint: POST https://4zapi.com/api/v3/images/generations
Request body (application/json)
model(string, required): Model name ["doubao-seedream-5-0-pro-260628"]prompt(string, required): generation / edit promptguidance_scale(number): How closely to follow the prompt; range [1, 10]image: Reference (official). Single URL string or URL array (interactive edit / I2I, up to ~10)images: compat field; gateway normalizes to image. Use either this or imagen(integer): Number of images; Pro usually 1optimize_prompt_options(object): prompt optimization settingsoutput_format(string): image file format ["jpeg", "png"]response_format(string): response shape ["url", "b64_json"]seed(integer): Random seed, range [-1, 2147483647], default -1size(string): Resolution tier or pixels. Commonly 1K/2K; also e.g. 1024x1024, 2048x2048, 2816x1584. Empty billed at higher tier ["1K", "2K", "1024x1024", "1152x864", "864x1152", "1424x800", "800x1424", "1248x832", "832x1248", "1568x672", "2048x2048", "2368x1776", "1776x2368", "2816x1584", "1584x2816", "2496x1664", "1664x2496", "3136x1344"]watermark(boolean): Whether to add a watermark
Request example
{
"model": "doubao-seedream-5-0-pro-260628",
"prompt": "一只猫",
"response_format": "url",
"size": "2K",
"watermark": false
}