Veo2(文字生成视频)
POST
/302/submit/veo2来自Google最新的视频生成模型
价格:5 PTC/次
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
prompt
string
提示词
aspect_ratio
enum<string>
必需
枚举值:
16:99:16
duration
enum<string>
5-8s
枚举值:
5s6s7s8s
示例1
{
"prompt": "In the year 2500, a cosmic vessel ventured forth from Earth, journeying into the vastness of the cosmos, with the hemisphere of our blue planet gracefully visible in the lower left corner.",
"aspect_ratio": "16:9",
"duration": "5s"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
logs
null
必需
metrics
object
必需
queue_position
integer
必需
request_id
string
必需
status
string
必需
示例
{
"logs": null,
"metrics": {},
"queue_position": 0,
"request_id": "e32eafce-5682-4b6d-b184-60f1f3846fee",
"status": "IN_QUEUE"
}
最后修改时间: 18 天前