CometAPI를 통해 id로 Bytedance 비디오 생성 작업을 조회합니다. /volc/v3/contents/generations/tasks의 상태, 진행률, 출력 세부 정보를 확인하세요.
curl --request GET \
--url https://api.cometapi.com/volc/v3/contents/generations/tasks/{id} \
--header 'Authorization: Bearer <token>'{
"id": "021773297205999example",
"model": "doubao-seedance-1-5-pro-251215",
"status": "succeeded",
"content": {
"video_url": "https://example.com/generated.mp4"
},
"created_at": 1773297205,
"updated_at": 1773297260,
"resolution": "720p",
"duration": 5,
"ratio": "16:9",
"framespersecond": 24
}statuscontent.video_urlresolution, duration, ratio, framespersecond먼저 작업 생성
Bearer token authentication. Use your CometAPI key.
Task id returned by the create endpoint.
curl --request GET \
--url https://api.cometapi.com/volc/v3/contents/generations/tasks/{id} \
--header 'Authorization: Bearer <token>'{
"id": "021773297205999example",
"model": "doubao-seedance-1-5-pro-251215",
"status": "succeeded",
"content": {
"video_url": "https://example.com/generated.mp4"
},
"created_at": 1773297205,
"updated_at": 1773297260,
"resolution": "720p",
"duration": 5,
"ratio": "16:9",
"framespersecond": 24
}