Skip to main content
POST
Delete File

Authorizations

Authorization
string
header
required

HTTP: Bearer Auth

Headers

Content-Type
enum<string>
default:application/json
required

The media type of the request body. Must be set to application/json to ensure the data is sent in JSON format.

Available options:
application/json

Body

application/json
file_id
integer<int64>
required

The unique identifier for the file.

purpose
enum<string>
required

The purpose of the file. Possible values are:

  1. voice_clone
  2. prompt_audio
  3. t2a_async
  4. t2a_async_input
  5. video_generation
Available options:
voice_clone,
prompt_audio,
t2a_async,
t2a_async_input,
video_generation

Response

200 - application/json
file_id
integer<int64>

The unique identifier for the file.

base_resp
object