curl --location --request POST 'https://router.shengsuanyun.com/api/v1/tasks/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "openai/sora",
"prompt": "一只可爱的小猫在花园里追逐蝴蝶,阳光明媚",
"n_variants": 1,
"n_seconds": 5,
"width": 480,
"height": 480
}'{
"code": "success",
"message": "",
"data": {
"request_id": "string",
"task_id": "string",
"action": "VIDEO_GENERATION",
"status": "SUBMITTING",
"fail_reason": "string",
"submit_time": 0,
"start_time": 0,
"finish_time": 0,
"progress": "85%",
"data": {
"image_urls": [
"http://example.com"
],
"video_urls": [
"http://example.com"
],
"audio_urls": [
"http://example.com"
],
"file_urls": [
"http://example.com"
],
"text": "string",
"progress": 0
}
}
}