跳到主要内容

图生视频

OpenAPI Specification

openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/videos:
post:
summary: 图生视频
deprecated: true
description: 传文件时使用input_reference,传url时使用image_url
tags:
- 模型接口/ sora/异步格式
parameters:
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
input_reference:
format: binary
type: string
example: >-
file://C:\Users\pc\Downloads\021766557372960e92e314634b35b1e832109fa3026003e3d61a2_0.jpeg
prompt:
example: 给我的广告融合
type: string
model:
example: sora-2-portrait-15s
type: string
remix:
example: s_6926690d5ff481919ad980491a989939
type: string
style:
example: anime
type: string
image_url:
example: ''
type: string
required:
- input_reference
- prompt
- model
examples: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example:
id: video_aeb1cf3f-45e3-49fc-be8f-9b62a1d0e2bc
object: video
model: sora2-portrait-15s
status: queued
progress: 0
created_at: 1760852730
seconds: '4'
size: 1280x720
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: 模型接口/ sora/异步格式
x-apifox-status: deprecated
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-397658686-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []