Generate video with wavespeed-ai/magi-1-24b
Generates a video using the wavespeed-ai/magi-1-24b model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
The random seed to use for the generation.
URL of an input image to represent the first frame of the video. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
The text prompt to guide video generation.
Number of frames to generate. Must be between 81 to 100 (inclusive). If the number of frames is greater than 81, the video will be generated with 1.25x more billing units.
96
96 <= value <= 192
Resolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit.
"480p" | "720p"
Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image.
"auto" | "16:9" | "9:16" | "1:1"
Frames per second of the generated video. Must be between 5 to 30.
24
5 <= value <= 30
If set to true, the safety checker will be enabled.
true
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "wavespeed-ai/magi-1-24b", "prompt": "In front of the pyramid under the setting sun, an African queen slowly walked out of the temple. She wore golden armor and her eyes were firm. The wind brought dust and cape. She slowly walked towards the throne. The background music was solemn and magnificent, as if it heralded the awakening and revival of a kingdom." }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}