跳到主要内容

创建视频 /v1/videos

OpenAPI Specification

openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/videos:
post:
summary: 创建视频 /v1/videos
deprecated: false
description: ''
tags:
- 模型接口/veo
parameters:
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
default: application/json
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
- name: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
model:
type: string
description: 模型
example: veo_3_1
prompt:
description: 提示词
example: 女孩变成一个超人直立起飞
type: string
seconds:
description: 时长,固定为8
example: '8'
type: string
input_reference:
format: binary
type: string
description: 参考图
example: >-
https://cdn.pixabay.com/photo/2025/10/10/07/24/woman-9885226_960_720.png
size:
type: string
enum:
- 720x1280
- 1280x720
x-apifox-enum:
- value: 720x1280
name: ''
description: ''
- value: 1280x720
name: ''
description: ''
description: 默认720x1280
example: 720x1280
enable_upsample:
type: boolean
description: 是否高清,仅支持横屏
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: 模型接口/veo
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-386755275-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []