Skip to content

Commit caee5d4

Browse files
committed
feat: generate video with ai
1 parent 5199c76 commit caee5d4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

pages/public-api.mdx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,34 @@ Response:
225225
"id": "e639003b-f727-4a1e-87bd-74a2c48ae41e"
226226
}
227227
```
228+
229+
## NEW! (Generate videos with AI)
230+
231+
```http
232+
POST https://api.postiz.com/public/v1/generate-video
233+
```
234+
235+
### Payload (Slides of images)
236+
```json
237+
{
238+
"type": "image-text-slides",
239+
"output": "vertical|horizontal",
240+
"customParams": {
241+
"voice": "elevenlabs voice id",
242+
"prompt": "description of the video"
243+
}
244+
}
245+
```
246+
247+
### Payload (VEO3 fast video) - Subscribed users after trial
248+
```json
249+
{
250+
"type": "veo3",
251+
"output": "vertical|horizontal",
252+
"customParams": {
253+
"voice": "",
254+
// images - optional (Maximum 3 images)
255+
"images": [{"id": "string", "path": "string"}]
256+
}
257+
}
258+
```

0 commit comments

Comments
 (0)