curl --location --request POST 'https://router.shengsuanyun.com/api/v1/tasks/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "google/gemini-2.5-flash-image-preview",
"prompt": "壮观的山脉景色,云雾缭绕,添加微妙的云层"
}'
{
"code": "success",
"message": "",
"data": {
"request_id": "string",
"task_id": "string",
"status": "SUBMITTING",
"fail_reason": "string",
"submit_time": 0,
"start_time": 0,
"finish_time": 0,
"progress": "100%",
"data": {
"video_urls": [
"http://example.com"
],
"image_urls": [
"http://example.com"
],
"text": "string"
}
}
}