Generate an image from a text prompt with Seedream 5.5.
taskId.Use application/json.
Use Bearer {{APIKey}}.
Use seedream-5.5.
Describe the image you want to generate or the edits to apply.
Output dimensions in WIDTHxHEIGHT format, for example 1536x1536 or 2048x2048.
0 indicates successful submission.
Response message.
Task identifier for polling.
Use the Polling API with the returned task ID.
Use the Callback API to receive task results automatically.
{
"code": 0,
"message": "success",
"data": {
"task": {
"taskId": "API-example",
"status": 3
},
"images": [
{
"imageUrl": "https://example.com/output.png",
"imageType": "png"
}
]
}
}curl -X POST 'https://api.newportai.com/api/async/seedream_5.5' -H 'Authorization: Bearer {APIKey}' -H 'Content-Type: application/json' -d '{
"model": "seedream-5.5",
"prompt": "A watercolor lighthouse beside a calm ocean",
"size": "1536x1536"
}'