Skip to content

bug: unhandled errors in a TaskGroup (1 sub-exception) #520

@ybzxaa

Description

@ybzxaa

问题描述

multi-reference image:
"error": {
"code": "video_generation_failed",
"message": "unhandled errors in a TaskGroup (1 sub-exception)"
}

复现步骤

curl -X 'POST'
'http://xxx.xxxx.com:8000/v1/videos'
-H 'accept: application/xxxx'
-H 'x-api-key: xxx'
-H 'Content-Type: multipart/form-data'
-F 'model=grok-imagine-video'
-F 'prompt=string'
-F 'seconds=6'
-F 'size=720x1280'
-F 'resolution_name=720p'
-F 'preset=normal'
-F 'input_reference[]=@shot-1-20260428071432822676-635f2cf3.png;type=image/png'
-F 'input_reference[]=@土拨鼠盯着天花板苍蝇_202604181115.jpeg;type=image/jpeg'

{
"id": "video_e2d61a9e3107457c95ffa24a5eceef3e",
"object": "video",
"created_at": 1777366215,
"status": "queued",
"model": "grok-imagine-video",
"progress": 0,
"prompt": "string",
"seconds": "6",
"size": "720x1280",
"quality": "standard"
}

curl -X 'GET'
'http://xxx.xxx.com:8000/v1/videos/video_e2d61a9e3107457c95ffa24a5eceef3e'
-H 'accept: application/json'
-H 'x-api-key: xxx'

{
"id": "video_e2d61a9e3107457c95ffa24a5eceef3e",
"object": "video",
"created_at": 1777366215,
"status": "failed",
"model": "grok-imagine-video",
"progress": 1,
"prompt": "string",
"seconds": "6",
"size": "720x1280",
"quality": "standard",
"error": {
"code": "video_generation_failed",
"message": "unhandled errors in a TaskGroup (1 sub-exception)"
}
}

版本

xxx

相关日志

xxx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions