Skip to main content
POST
Verify and complete a private upload
Verifies the stored object’s content type, size, and hash, then marks the media ID ready for one generation job.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

media_id
string
required
Pattern: ^media_[A-Za-z0-9_-]{20,64}$

Response

Default Response

id
string
required
Pattern: ^media_[A-Za-z0-9_-]{20,64}$
object
enum<string>
required
Available options:
media
status
enum<string>
required
Available options:
ready
purpose
enum<string>
required
Available options:
image,
video,
audio
size_bytes
integer
required
expires_at
string<date-time>
required
Last modified on September 17, 2026