本文档由 DeepSpaceAPI 自动生成,推荐使用 DeepSpaceAPI中转站用户使用本文档!
{
"model": "Seedream-5.0-Lite-Preferential",
"prompt": "一只猫在草地上玩耍",
"size": "2K",
"watermark": false
}{
"model": "Seedream-4.5-Preferential",
"prompt": "一座未来城市夜景,霓虹灯光",
"size": "4K",
"watermark": false,
"image": ["https://example.com/ref.png"]
}model, prompt, size(2K/4K), image[], watermark, output_format{
"data": [
{ "url": "https://example.com/generated_image.jpeg" }
],
"created": 1758200023,
"model": "Seedream-5.0-Lite-Preferential"
}{
"model": "Seedream-5.0-Lite",
"prompt": "A cat playing on the grass, cinematic lighting",
"size": "16:9",
"quality": "2K",
"n": 1
}{
"model": "Seedream-4.5",
"prompt": "A futuristic city at night with neon lights",
"size": "16:9",
"quality": "4K",
"n": 4,
"image_urls": ["https://example.com/ref1.jpg", "https://example.com/ref2.jpg"]
}{
"model": "Seedream-4.0",
"prompt": "A cat playing on the grass",
"size": "16:9",
"quality": "2K",
"n": 4,
"prompt_priority": "standard"
}model, prompt, size(宽高比), quality(1K/2K/4K), n(1-15), image_urls[], prompt_priority{
"id": "task-xxxxxxxxxxxx",
"object": "image.generation",
"model": "Seedream-4.0",
"created_at": 1769263230
}GET https://api.deepspaceai.net/v1/images/Seedream/{task_id}{
"id": "task-xxxxxxxxxxxx",
"status": "queued",
"created_at": 1769263230
}{
"id": "task-xxxxxxxxxxxx",
"status": "processing",
"progress": 50,
"created_at": 1769263230,
"started_at": 1769263245
}{
"id": "task-xxxxxxxxxxxx",
"status": "completed",
"output": {
"data": [
{ "url": "https://example.com/image1.jpg" },
{ "url": "https://example.com/image2.jpg" },
{ "url": "https://example.com/image3.jpg" },
{ "url": "https://example.com/image4.jpg" }
]
},
"created_at": 1769263230,
"completed_at": 1769263322
}{
"id": "task-xxxxxxxxxxxx",
"status": "failed",
"error": { "message": "error description", "type": "server_error" },
"created_at": 1769263230
}| 参数 | 灵芽(Preferential) | Evolink |
|---|---|---|
model | ✅ | ✅ |
prompt | ✅ | ✅ |
size | 分辨率:2K / 4K | 宽高比:16:9 / 9:16 / 1:1 |
quality | ❌ | ✅ 1K / 2K / 4K |
image / image_urls | ✅ image[] | ✅ image_urls[] |
n | ❌ | ✅ 1-15 张 |
watermark | ✅ | ❌ |
output_format | ✅ png / jpeg | ❌ |
prompt_priority | ❌ | ✅ standard / fast |
| 响应方式 | 同步 直接返回图片 URL | 异步 返回 task_id,需 GET 轮询 |