Video Generation
About Pruna AI Video Generation
The Video Generation API enables easy creation of high-quality videos from text,and images, perfect for marketing, education, and more—all through one integration.
Pruna AI Video Generation is Pruna AI's default model for Video Generation available on Eden AI for Video Generation, from $0.02 / s. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in global regions.
Tasks and prices
Pruna AI Video Generation is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.
Parameters
What you send and what you get back when you call Pruna AI Video Generation through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- text (required): text. Text prompt describing the content and style of the video to generate
- file: file (images). Initial keyframe image (JPEG or PNG) file ID from /v3/upload or direct file URL
- video: file (video). Source video to edit, for models that edit a video (their `requires_video` is true in /v3/info). The output keeps the source's length, which is what is billed,
- duration: number. Length of the generated video in seconds. Omit to use the model's default duration.
- dimension: text. Video resolution in 'widthxheight' format (e.g., '1280x720')
- seed: number. Random seed for generation reproducibility (0 to 2,147,483,646). Omit for varied output.
Response
- video
- video_resource_url
Estimate your monthly cost
Enter your monthly volume for Video Generation to compare Pruna AI Video Generation with its cheapest alternatives.
Call Pruna AI Video Generation with Eden AI
Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "",
"input": {},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "", "input": {}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "",
input: {},
}),
});
console.log(await response.json());
"text": "A drone shot over a misty forest at sunrise"
Questions about Pruna AI Video Generation
On Eden AI, Pruna AI Video Generation costs $0.02 / s for Video Generation. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Pruna AI Video Generation is available for: Video Generation. Input: Image, Video, Text. Output: video, video_resource_url.
Yes. Pruna AI Video Generation is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.
Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.
Eden AI offers Video Generation from 8 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Video Generation
Other Video Generation models you can call with the same key, cheapest first.
More from Pruna AI
Other Pruna AI models on Eden AI, for every task.

.avif)

.png)
