v8
OpenAPI 3.1.02026-08-033623795.0 MBMedia
Generate Media Asset
Starts an AI media generation job billed from the account's balance. Generation is asynchronous — poll GET /media/{id} until the asset is ready, then use file.id anywhere attachments are accepted.
post/media/generate
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Response
Generation started.
Example response
{
"generation": {
"resolution": "480p"
},
"media_type": "video",
"source": "generated",
"status": "processing"
}