跳到主要内容

创建角色

OpenAPI Specification

openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/sora/v1/characters:
post:
summary: 创建角色
deprecated: true
description: ''
tags:
- 模型接口/ sora/创建角色接口
parameters:
- name: url
in: query
description: ''
required: false
example: >-
https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4
schema:
type: string
- name: timestamps
in: query
description: ''
required: false
example: 1,3
schema:
type: string
- 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:
application/json:
schema:
type: object
properties:
url:
type: string
description: |-
视频 url
视频中包含需要创建的角色
timestamps:
type: string
description: |-
角色出现的时间范围
单位秒,例如 ‘1,2’ 是指视频的1~2秒中出现的角色,注意范围差值最大 3 秒最小 1 秒
x-apifox-orders:
- url
- timestamps
required:
- url
- timestamps
example:
url: >-
https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4
timestamps: 1,3
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example:
id: string
username: string
permalink: string
profile_picture_url: string
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-376216296-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []