Generate Video
Overview
You can generate a video using the AI/ML API. In the basic setup, you need only a prompt and the aspect ratio of the desired result.
Ratio
Type: String
Key:
ratio
Allowed Values:
16:9
,9:16
Prompt
Type: String
Key:
prompt
Character Limit: 2048 characters
Image URL
Type: URL
Key:
image_url
Description: Base image URL for the generation
Example
Ensure you replace "my_key"
with your actual API key before running the code.
Last updated