Skip to content
Stable Diffusion API

Text to Video API — AI Video Generation

Generate videos from text prompts using AI video diffusion models. Configure frames, FPS, and aspect ratio via the Stable Diffusion API.

This endpoint allows to create videos using prompts


--request POST 'https://stablediffusionapi.com/api/v5/text2video' \

Make a POST request to https://stablediffusionapi.com/api/v5/text2video endpoint and pass prompt as the prompt text.

key : Your API Key
prompt : The prompt text to create video
negative_prompt : The negative prompt text to create video
scheduler :scheduler to create video
seconds : How long video needs to be

Get list of all the schedulers here

Use VLC player to play the video, download VLC

Request Body

Body Raw
{
 "key": "",
 "prompt" : "man walking on the road, ultra HD video",
 "negative_prompt" : "Low Quality",
 "scheduler" : "UniPCMultistepScheduler",
 "seconds" : 3,
}