{
"enable_base64_output": false,
"enable_prompt_expansion": true,
"enable_sync_mode": false,
"prompt": "A painter working in a sunlit studio, large canvas filled with abstract colors, brushes and paint tubes scattered on the floor, creative atmosphere.",
"seed": -1,
"size": "1328*1328"
}
curl --location --request POST 'https://api.302.ai/ws/api/v3/bytedance/dreamina-v3.1/text-to-image' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"enable_base64_output": false,
"enable_prompt_expansion": true,
"enable_sync_mode": false,
"prompt": "A painter working in a sunlit studio, large canvas filled with abstract colors, brushes and paint tubes scattered on the floor, creative atmosphere.",
"seed": -1,
"size": "1328*1328"
}'
{
"code": 200,
"message": "success",
"data": {
"id": "51aefa20d0ae459ab6689e8694106785",
"model": "wavespeed-ai/flux-dev-ultra-fast",
"outputs": [],
"urls": {
"get": "https://api.302.ai/ws/api/v3/predictions/51aefa20d0ae459ab6689e8694106785/result"
},
"has_nsfw_contents": [],
"status": "created",
"created_at": "2025-10-20T08:26:46.871Z",
"error": "",
"executionTime": 0,
"timings": {
"inference": 0
}
}
}