Video Task
Authentication
Video Task
Method & Path
-
POST {domain}/bp/ai/async/video/task
-
POST {domain}/bp/ai/server/user/{user_id}/ai/async/video/task
Request
- content-type:
application/json
Parameters | Type | Required | Desc |
---|---|---|---|
strategy | []string | true | strategy |
data | json | true | 渲染模版变量的参数 |
支持的平台:
- goapi
- luma
Request
- HTTP 状态码:200
json
{
"strategy": [
"vectorizer_with_body",
"openai_with_body",
"stability_v2_with_body"
],
"data": {
"prompt": "A painting of a beautiful sunset",
"image": "https://picsum.photos/1024/1024",
"image1": "https://picsum.photos/1024/1024",
"image2": "https://picsum.photos/1024/1024"
}
}
Response
- HTTP 状态码:200
json
{
"asset": [
{
"bp_product_id": "BUY4MF6V5ZJGXXJ3",
"custom_expire_time": "0001-01-01T00:00:00Z",
"expire_time": "2024-11-23T06:41:25Z",
"is_auto_renewable": false,
"is_consumable": true,
"is_refund": false,
"is_trial_period": false,
"last_recovery_time": "2025-02-22T01:06:34Z",
"name": "ai_vip_asset",
"origin": "purchase",
"platform": "stripe",
"product_id": "prod_R4lGIYYAij8OBZ",
"quantity": 24,
"receipt_id": "sub_1QCbmTDESvfLoR1GbdjJ6F6I",
"recoverable": true,
"refund_time": "0001-01-01T00:00:00Z",
"sub_canceled": false,
"sub_canceled_time": "0001-01-01T00:00:00Z",
"sub_canceled_ts": 0,
"total_quantity": 0,
"type": "subscription",
"valid_seconds": 1886558
}
],
"current_count": 1,
"current_total_count": 1,
"id": "702830824151752704",
"strategy": "vectorizer_with_body"
}