Skip to main content
POST
/
generate-video
curl --request POST \
  --url https://api.postiz.com/public/v1/generate-video \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "image-text-slides",
  "output": "vertical",
  "customParams": {
    "voice": "elevenlabs-voice-id",
    "prompt": "Description of the video content"
  }
}
'
[
  {
    "id": "<string>",
    "path": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Your Postiz API key

Body

application/json
type
enum<string>
required

Video generation type

Available options:
image-text-slides,
veo3
output
enum<string>
required

Video orientation

Available options:
vertical,
horizontal
customParams
object
required

Response

200 - application/json

Video generated successfully

id
string
path
string

URL of the generated video