Files

Import a file from a public HTTPS link

Answers within about 20 seconds. The file is processing while it arrives and is checked; GET it with wait until it's ready. Importing the same link again within an hour gives the same file.

post/api/v1/files/import

Request

  • Base URL: https://audo.ai
  • URL: https://audo.ai/api/v1/files/import
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-audo.session_token

Request body

urlstring required

A public HTTPS link to the file

filenamestring

Default: taken from the link

Response

OK

idstring required
kind'original' | 'output' required
status'awaiting_upload' | 'processing' | 'ready' | 'invalid' | 'deleted' required
filenamestring required
contentTypestring required
sizeBytesinteger nullable required
durationSecondsnumber nullable required
formatstring nullable required

The container, such as wav or mp4

hasVideoboolean required
hasAudioboolean required

False for a video without sound, which only replace_audio takes

pricesobject nullable required

Credits each tool costs to process this file, once its length is known

sourceJobIdstring nullable required
createdAtstring required

ISO 8601 time

expiresAtstring required

ISO 8601 time

Changes

No recorded changes to this operation across all 1 revision of this API.